Hi,
For example , I have a itab with 6 fields.
1) sending plant
2) sending storage location.
3) receiving plant
4) receiving storage location
5) sending site address number.
6) receiving site address number.
i m filling the first row as folllows .
SELECT bwerks blgort bumwrk bumlgo FROM mkpf AS a INNER JOIN mseg AS b on amblnr = bmblnr
INTO CORRESPONDING FIELDS OF TABLE GT_ITAB_MT
WHERE a~mblnr = GV_MAT_DOC_NO.
Now the itab has 6 rows but last 2 fields left unfilled.
now i have to fill the last 2 rows as
by passing sending plant , storage location to table TWLAD and rec plant , location to the same TWLAD.
Please suggest me the best way.
Regards,
Pinky.