cancel
Showing results for 
Search instead for 
Did you mean: 

LSMW - which one to choose among Batch Input,Direct Input,BAPI, IDoc method

Former Member

Hi,

can any one tell me what method i have to use for LSMW tool i.e., (<b>Batch Input, Direct Input, BAPI or IDoc method</b>) while uploading data from legacy system to SAP for - Bank master, G/L Balances, customer master, vendor master and sales employee data. because there will be diferent system inbuilt programs available for LSMW under Batch Input, Direct Input, BAPI for differnt types of master tables for data uploading. can u please explain on what basis these methods vary. waiting for your reply.

regards,

swarna

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

Hi Swarna,

Welcome to SDN.

Batch Input/BAPI would be preferrable.

For Batch Input, you need to create the recordings for the selected TCode and have to map the source fields with the target fields and finally map the realations. If you are comfortable with BAPI and if you know the realated BAPI that would be more easy.

Actually it depends upon the requirement.

Assign app. pts if useful.

Regards,

Suman

Answers (3)

Answers (3)

Former Member
0 Kudos

Swarna,

You can find the program names in the transaction LSMW itself. Create the project, sub-project and object. And in the first step 'Maintain object attributes' you can see and search the programs for each method.

you can also see the Standard SAP programs in SXDB. All the programs will have associated object id.

If you still need specific programs let me know.

Kannan

Former Member
0 Kudos

1. Direct input is the fastest. But as far as I tried the error log that comes out of Direct input will have lesser clarity. That makes the understanding the error and correcting it may take time.

2. Batch Input could be a slow process. As it creates the session first and this has to be again processed. But it mention the exact location where the error occured and with more clear error log.

3. Batch Input (recording)can be done when there is no Standard SAP(such as BI, Direct etc) option is not available. For eg. There are some fields that may be missing in standard SAP given BI programs and others which can be recorded, value can be pushed in.

But it has certain limitations. Please have a look in LSMW documentation.

4. BAPI/IDOC should also be faster but definetly not as fast as Direct input. But usually I have not seen many using these methods. And since I have also not used it, I am not aware of the logs that comes out.

I hope this helps.

Kannan

Former Member
0 Kudos

Thanks for the info, but can you tell me what are the programs (names)/ transaction codes for recording / any Direct Input methods available/ BAPI programs are avialble with FM to upload -

Bank Master,

Customer Master,

Vendor Master(XK01),

Material Master(MM01),

G/L Balances(GL01, i think so),

Quality Info Records,

Cost Centers

Can u please share the program names (stanadard programs for DI, BAPI) with me if u have come across earlier. eagerly waiting for your reply. please let me know if u dind't understand my question.

thanks & regards,

swarna

Former Member
0 Kudos

Hi,

If you have any Test data regarding Material Master, please send to me, i just want to check whether my lsmw is working or not. Becoz here i don't have any source data available. So if you do help, it is priceless

thanks and regards

Sarathi

former_member188685
Active Contributor
0 Kudos

check this thread..

regards

vijay