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 |
differences between version 4.7 and ecc 5.0
what are Table-Controls?
what is a value table?
What are the different modes of processing batch input sessions? : abap bdc
How to write message without using message class in report? How to go to edit mode in classical display report, means that how to edit one of the column after displaying classical report, not in ALV.
What is the difference between the function module and a normal abap/4 subroutine?
WHICH LANGUAGE IS USED TO WRITE ABAP CODING PART?
How do you retrieve the data for repetitive structures
how to create the new page in alv.(ex: after 50 records it will trigger new page or based on some condition).
How many fields(max) can be there in a transparent table?
2 Answers iGate, Unilogic Software,
What is the syntex used to call a screen as dialog box (pop up)?
How to set an Enhancement point for a custom report?