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 is meant by search help? : sap abap data dictionary
Do you know any other patterns if yes.. explain
What is the table buffer? Which type of tables used this buffer?
How do you retrieve the data for repetitive structures ? : abap hr
What are the control break events in abap? : abap data dictionary
What are the events driven batch jobs?
What is time constraint ? : abap hr
How to debug a script in abap?
Did you create help views?
What are the advantages of logical databases : abap hr
What are pooled tables?
What is off cycle payroll run
What are the system table used in abap?
How many primary keys can be created for a table?
How many tables are there in sap?