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

MB1C Upload

Former Member
0 Likes
835

Hi ,

I have to upload more than 1 millons record in MB1C T-Code.

I want to know the better way to upload LSMW , BAPI Or Idoc.?

Please explain me.

Thanks,

Shankar

Hi ,

I have to upload more than 1 millons record in MB1C T-Code.

I want to know the better way to upload LSMW , BAPI Or Idoc.?

Please explain me.

Thanks,

Shankar

4 REPLIES 4
Read only

Former Member
0 Likes
745

you can use BAPI - BAPI_GOODSMVT_CREATE.

Please read function module documetation for more details

Regards,

Rahul

Read only

Former Member
0 Likes
745

Hi,

Use BAPI_GOODSMVT_CREATE.

Call this fucntion module in loop and populate data for each material document. Refresh the BAPI itabs after each call and do remeber to wait after commit so that the locks get release.

Thanks,

Read only

Former Member
0 Likes
745

I like to dissent.

1 million records is a lot of stuff.

Keep in mind that you cannot load all the records in one go (most likely not). I would use LSMW with BAPI Bus2017 (MB_CREATE_GOODS_MOVEMENT) or possibly even a Batch-Input. Why LSMW? Because LSMW stores your data in several stages - you load them, they get stored on the application-server as the .READ file. Then you convert them according to your rules and the results get stored in the .CONV file. This has several advantages: if you experience a delay between load and convert or between convert and execute, you wouldn't have to do all from scratch again, you can re-start to proceed where you previously left off ... with the dataload you have at hand this is no small gain ...

... why even possibly BDC - because I can create BDC-sessions in a size that is likely to be of no performance-thread to the system and can then decide how many to process in parallel ... I have only package-sized protocolls to read (in case of errors) ... etc.

Read only

Former Member
0 Likes
745

Moderator message - Please search before asking - post locked Rob