SAP Tutorials Blog


 



Using APPEND in SAP ABAP

APPEND: statement is used to append or add a record from the work area to the internal table, the new record will be added at the end of the internal table.


Syntax: APPEND <WA> TO <ITAB>


DATA: IT_MARA TYPE TABLE OF MARA.


DATA : WA_MARA TYPE MARA.


WA_MARA-MATNR = '00001'.


WA_MARA-MTART = 'FERT'.


WA_MARA-MEINS = 'EA'.


APPEND WA_MARA TO IT_MARA . "APPEND WORK AREA TO INTERNAL TABLE


Serkan AKKAVAK

Computer Engineer BSc

Head of SAP & Software Department

Contact : serkurumsal@yandex.com