iam having 3 internal table how can i pass data to the 4th
internal table
Answer Posted / 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 |
Post New Answer View All Answers
While doing bdc exp va01 transaction sometime in the item level data shows only 4 items and other times it will show 6 line items, how will you maintain this kind of screen resolutions scenerio? : abap bdc
What are the sequences of event block?
In sap script how to print bar code in vertical manner
Does SAP has a GUI screen painter or not? If yes what operating systems is it available on? What is the other type of screen painter called?
What is the transaction code to display the payroll results ? : abap hr
What is sequence number
How will you define posting procedures?
What are the function modules used in f4 help?
What is the difference between a pool table and a transparent table and how they are stored at the database level?
How do you Export a session ?
Under Data Transfer Portion of ABAP, what do you mean by DX Project
What is the difference between data elements and domains? : abap data dictionary
Does every abap/4 have a modular structure?
What will happen when we use fully buffered in abap?
What are the different types joins?