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
Work most on which module: name a few tables?
Explain what is a logical database?
What is the difference between field-group header and other field groups? : abap modularization
What is sap abap data classes?
Explain the components of selection table?
What is the lock object?
What are the two statements which are required in an abap program to output an icon using a write statement?
What is a maintenance view? : abap data dictionary
What is pnp-sw-found ? : abap hr
Abstract class and interface, multiple inheritance, live example
What is the significance of the screen number ‘0’?
What are aggregated objects : abap data dictionary
What are the domains and data elements?
What is interactive reporting?
What is the difference between sy-tabix and sy-index? Where it is used?