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

LSMW BAPI

Former Member
0 Likes
690

Hi,

I would like to know when we will prefer using LSMW using BAPI over LSMW over batch recording or standard method ?

Thanks.

Regards,

Tushar.

5 REPLIES 5
Read only

Former Member
0 Likes
629

LSMW is for

1. mass load

2. One time

3. manual

BAPI/BDC

1. If needs to be done Repetitive

2. Called from other systems (interfaces)

Some times SAP does not provide BAPI , then we do BDC for the transaction. We can wrap the BDC into a BAPI , if needs to be called from external systems

Read only

0 Likes
629

So what is the preference of methods in LSMW. I mean which we will try first and which after that ?

STANDRAD BATCH/DIRECT INPUT

BATCH INPUT RECORDING

BAPI

IDOC

Read only

Former Member
0 Likes
629

hi Tushar,

It totally depends upon the different scenarios

like better is to proceed with recording method some times this method is not compatable.

like I will let you know one real time scenario here

Once I was working in PSCD module, I uploaded the data with the use of FPP1 tcode. I recorded the session n created the session for processing, I tried with background processing but it didn't work out. At that time I put message to SAP asking for the problem then they advised me to use the standard IDOC or BAPI method.So I completed it with IDOC method.

It also depends upon some more things like the data size and multiple or single usage.

If the flat file is in the application server and there exists a standard type in direct input method u need to fallow that method

one more case like while uploading the data with XD02 ie to make the changes to the existing customer here in some cases u need to create the partner function so at that time recording with XD02 is not perferable there is standard bapi existing for it

i think info is useful for u

Regards,

Naveen

Read only

Former Member
0 Likes
629

Hi Tushar,

<b>Direct Input</b>- Generally used for Master data uploading

<b>Batch Input Recording</b> - For Transaction data uploading

<b>Idoc & BAPI - when you are having some Interfaces(for Ex: the production unit may be using some other softwares, other than SAP), the you go BAPI's and IDoc's.</b>

Regards:-

Santosh

Read only

Former Member
0 Likes
629

Hi Santosh,

U say that Batch Input Recording is to be preferred for migration of transactional data.

But out of my experience, Batch Input Recording will not be able to capture the item relevant data in the recording. I have used the same and had to take the help of IDoc Method for the data transfer of Transactional data.

In case, u were successful in migration using Batch Input recording, please let me know.

Thanks in Anticipation.

U can mail me on praveensgs@yahoo.com

Regards,

Praveen