I have one Internal table.I am selecting few fields from MARA and inserting it into Int table.
Now, I want to select few more fields from other table say lfa1 and want to insert it into same internal table.
I dont want to use Joins. Is there anything by which I can append the entries in Int table??
Internal table structure ::
DATA : BEGIN OF GT_MARA OCCURS 0,
MATNR LIKE MARA-MATNR,
MBRSH LIKE MARA-MBRSH,
MTART LIKE MARA-MTART,
LIFNR LIKE LFA1-LIFNR,
END OF GT_MARA .
SELECT MATNR MBRSH MTART UP TO 10 ROWS FROM MARA INTO TABLE GT_MARA.// inserting from mara into int table
SELECT LIFNR up to 10 rows FROM LFA1 into CORRESPONDING FIELDS OF TABLE gt_MARA.// LIFNR SHOULD GO INTO SAME INT TABLE BUT PREVIOUS ENTRIES FROM MARA SHOULD EXIST AS WELL
I DONT WANT TO USE TABLE JOIN.