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
How we format the data before before write statement in report ?
What are the events driven batch jobs?
How do you write manual bdc session method? : abap bdc
What is table attribute? : abap data dictionary
How to pass data from list to report?
What is an update type with reference to a match code id?
Which one is better joins or views and why?
Select up to 1 row and select single difference ?
What are the steps to be followed to set lockobjects? : sap abap data dictionary
What is meant by hide area?
Explain how to Handle the internal tables in ABAP?
What are the different types of data dictionary objects? : abap data dictionary
How to creat transactions? : abap data dictionary
What is the difference between ABAP and HR ABAP
What is the max no of match code id’s that can be defined for one match code object?