Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

inserting standard table data using ztable

Hi all,

I have an issue like i have created "ztable" where i am taking few of the mara table fields.

but my problem is i m not getting data into these fields , so can anyone tell me wht shuld be done to get the data into my ztable which will contain all these fields.


tables : mara.

data : begin of itab occurs 0,

matnr like mara-matnr,

ersda like mara-ersda,

ernam like mara-ernam,

vpsta like mara-vpsta,

mtart like mara-mtart,

mbrsh like mara-mbrsh,

matkl like mara-matkl,

meins like mara-meins,

end of itab.

data : wa like line of itab.

select matnr ersda ernam vpsta mtart mbrsh matkl meins from mara into corresponding fields of table itab .

  • what should be done , shuld i use INSERT INTO "ZTABLE FROM ITAB.




Former Member
Not what you were looking for? View more on this topic or Ask a question