‎2007 Dec 08 5:21 AM
hi all,
I got tetx file data of one table , for ex : data of table MARA with all fields data .
now i want to load that data directly into table MARA without using
BDC programs or lsmw .
can anyone provide the program for that.
thanks.
‎2007 Dec 09 12:35 PM
Hi,
Try the following statement......
INSERT MARA FROM WA_MARA.
and in WA_MARA store the entries of MARA......
Thanks,
Aditya.
‎2007 Dec 10 6:36 PM
Mara is a master table for material data, we should not update data directly to master data tables.
be ensure that the purpose,whether updation is required or not?
and you can use modify statement, which does the creation/modification for material.
modify MARA from WA_MARA.
‎2007 Dec 10 7:01 PM
Hi,
First use FM GUI_FUNCTION and pass data to one internal table itab.
INSERT MARA FROM TABLE ITAB ACCEPTING DUPLICATE KEYSSince you are updating MARA Table, you need to use Lock Objects on that Table.
Regards,
Satish
‎2007 Dec 10 7:12 PM
Don't do this unless you have written instructions from a superior. Even then, don't do it.
Transaction MM01 is used to create materials and it does over 40 inserts to various tables just to create one material.
Rob