what are the Joins used for internal Table?
Answer Posted / viswanath
If you want to retry the data from more then one table
connected with common key , we will go for joins (Inner
joines and outer joins).
1. First we will create an internal table wih fields.
example.
tables: mara.
data:s_matnr for mara-matnr.
data:Begin of itab occurs 0,
MATNR TYPE MATNR, "FROM MARA TABLE
ERSDA TYPE ERSDA, "FROM MARA TABLE
MAKTX TYPE MAKTX, "FROM MAKT TABLE
end of itab.
2. write select statment.
select a~matnr
a~ersda
b~maktx
from makt inner join mara
on a~matnr = b~matnr
into table itab where a~matnr in s_matnr.
| Is This Answer Correct ? | 1 Yes | 6 No |
Post New Answer View All Answers
What are the types of table fields in the sap abap?
What is an evaluation path? : sap abap hr
What is protect & endprotect?
What is meant by hide area?
What is the difference between pnp and pnpce? : abap hr
Explain the difference between a pool table and a transparent table?
How can we handle table control in bdc? : abap bdc
In SAP Script,How to display a single field(like matnr)at the right end of the form.
Which function module would you use to check the user’s authorization to access files before opening a file?
What is the difference between bdc_open_group and bdc_open_dataset. : abap bdc
What are Pull and Push Methods?
What is modularization and its benefits? : abap modularization
SAP query how to use end users?
When is the top-of-page event triggered? : abap data dictionary
Explain the systems fields used for interactive lists and lists?