iam having 3 internal table how can i pass data to the 4th
internal table
Answers were Sorted based on User's Feedback
Answer / venkateswarlu.bandi
by using the append lines of itab to itab.
Is This Answer Correct ? | 4 Yes | 3 No |
Answer / lokesh
you have 3 internal tables u want to populate these 3
internal tables data to 4th internal table ..right
Check out this eg code :
suppose we think u have 3 Internal tables i.e.,
t_marc,t_mara,t_makt
and 4th internal table is itab[final interanl table]
Start-of-selection.
Select matnr werks lvorm from marc
Into table t_marc
Where matnr = s_matnr
And werks = p_werks.
If t_marc is not initial.
Loop at t_marc .
Read t_marc into itab with key matnr = t_marc-matnr.
Select matnr Mbrsh Meins maktl from mara
Into table t_mara
For all entries in t_marc
Where matnr = t_marc-matnr.
Select matnr maktx spras from makt
Into table t_makt
For all entries in t_marc
Where matnr = t_marc-matnr.
Move :
T_mara-mbrsh = itab-mbrsh.
T_mara-meins = itab-meins.
T_mara-maktl = itab-maktl.
T_makt-maktx = itab-maktx.
T_makt-spras = itab-spras.
Endloop.
Else .
Write : / ‘No data is found in the first internal
table T_marc’.
Endif.
Is This Answer Correct ? | 7 Yes | 6 No |
Answer / guest
Your question seems incomplete, pls provide details....
Is This Answer Correct ? | 1 Yes | 2 No |
Answer / prashant
I think we can trnasfer the data using reading one by one
internal table
Is This Answer Correct ? | 1 Yes | 3 No |
6. what are the differences between scripts & smart forms?
what are Hana Basics
pls tel me......how we link two fields by using foregin keys between two tables in sap abap?
How do we handle multiple line items in BDC's.
For which transaction you used BDC?
Hi everyone! i m pursuing ABAP so still in learning phase i want to know abt. IDOCs and ALE like what's the role of messege type in IDOCs and how things goes on in background i know i sound absurd but as i m not clear abt. the same Ur advice wud be highly appreciated looking forward for a quick reply with some scenarios if URl for some gud sites that wud b helpful in the initial stage of learning wud b provided it's wud b g8 thanks in advance
How can the standard tables of sap be modified?
In select-options, how to get the default values as current month first date and last date by default? Eg: 1/10/2006 and 31/10/2006
which processor controls the flow logic of an online program?
What are the basic object types? : sap abap hr
What is smart forms? : abap hr
please any one can tell me How to validate the data in Table maintinance generator?how can u validate the table field values if u r entering the data into fields .it shows record is wrong?wher we can done validation in table maitenance generator before getting the data as out ?