Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

data load into tables directly

Former Member
0 Likes
618

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.

4 REPLIES 4
Read only

Former Member
0 Likes
562

Hi,

Try the following statement......

INSERT MARA FROM WA_MARA.

and in WA_MARA store the entries of MARA......

Thanks,

Aditya.

Read only

Former Member
0 Likes
562

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.

Read only

Former Member
0 Likes
562

Hi,

First use FM GUI_FUNCTION and pass data to one internal table itab.

 INSERT MARA FROM TABLE ITAB ACCEPTING DUPLICATE KEYS

Since you are updating MARA Table, you need to use Lock Objects on that Table.

Regards,

Satish

Read only

Former Member
0 Likes
562

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