HOW DO WE JOIN TWO INTERNAL TABLES USING READT STATEMENT??
Hi This I searched on sdn and thought to post .
data: wa_gfsb like line of i_gfsb,
wa_gfsbdata like line of i_gfsbdata,
lv_tabix type sy-tabix.
* Sort Table by Plant.
sort i_gfsbdata by matnr.
loop at i_gfsb into wa_gfsb.
read table i_gfsbdata into wa_gfsbdata
with key matnr = wa_gfsb-matnr binary search.
if sy-subrc is initial.
lv_tabix = sy-tabix.
loop at i_gfsbdata into wa_gfsbdata
from lv_tabix.
if wa_gfsbdata-matnr ne wa_gfsb-matnr.
exit.
else.
wa_gfsbdata-werks = wa_gfsb-werks.
wa_gfsbdata-verpr = wa_gfsb-verpr.
wa_gfsbdata-peinh = wa_gfsb-peinh.
modify i_gfsbdata from wa_gfsbdata.
endif.
clear wa_gfsbdata.
endloop.
endif.
endloop.
Is This Answer Correct ? | 5 Yes | 0 No |
Write special commands of list?
How to handle Error in LSMW. This is urgent anybody know this answer plz post me...
What is a development class? : abap data dictionary
How to create logical system in sap in order to access bw and bi?
Can you delete data element, which is being used by table fields. : abap data dictionary
What are the functional areas? User groups? and how does ABAP query work in relation to these?
Hi, can any one tell me the follwoing question's answer 1.How can we validate single selection screen field and multiple selection screen field in report and also in module pool programming.pls give answer in brief with example. 2.What is search help ? pls tell search help type breifly with example?
in reports how to use the table control tabstrips . what is its procedure.
How can I get ascii value of any letter? Is there any function?
what is index? I need exact defination? how will create a secondary index?
Where do you find info on new developments in SAP?
what is two domain level concept in abap