what are the Joins used for internal Table?
Answers were Sorted based on User's Feedback
Answer / shakthi
for retriving data from more than one internal table we go for joins.
there are two types of joins
inner join,left out joins.
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / 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 |
What is the difference between select statement and provide statement
what is current version of sap r/3 ?
Recording -- Transaction code?
What are the control break events in abap? : abap data dictionary
what is cardinality.how it will work in abap
What is a 'z' report?
what is 'F4' functionality?
Hat are the different types of mode (run code) in call transaction method?
How to display or know if the value entered contains records or not?
in which table idocs are stored?
What is the relationship existing between the various data elements? : abap data dictionary
I have 2 inputs in Module pool prgm, if i click on the input i need to get drop down list..How to get it..