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

bapi and lsmw

Former Member
0 Likes
724

difference between bapi and lsmw

4 REPLIES 4
Read only

Former Member
0 Likes
613

Hi,

Difference between LSMW and BAPI

BAPI are RFC enabled function modules. The difference between RFC and BAPI are business objects. You create business objects and those are then registered in your BOR (Business Object Repository) which can be accessed outside the SAP system by using some other applications (Non-SAP) such as VB or JAVA. In this case u only specify the business object and its method from external system. in BAPI there is no direct system call. While RFC are direct system call Some BAPIs provide basic functions and can be used for most SAP business object types. These BAPIs should be implemented the same for all business object types. Standardized BAPIs are easier to use and prevent users having to deal with a number of different BAPIs. Whenever possible, a standardized BAPI must be used in preference to an individual BAPI.

check these links

http://searchsap.techtarget.com/ateQuestionNResponse/0,289625,sid21_cid558752_tax293481,00.html

http://www.sap-img.com/abap/interview-question-on-bapi-rfc-abap-objects-tables.htm

http://www.sap-img.com/fu033.htm

http://www.sap-img.com/abap/ale-bapi.htm

LSMW:

The LSM Workbench is an R/3-based tool that supports You when transferring data from non-SAP systems ("Legacy Systems") to R/3 once or periodically.

The tool supports conversion of data of the legacy system in a convenient way. The data can then be imported into the R/3 system via batch input, direct input, BAPIs or IDocs.

Furthermore, the LSM Workbench provides a recording function that allows to generate a "data migration object" in an entry or change transaction.

The main advantages of the LSM Workbench:

• Part of R/3 and thus independent of individual platforms

• A variety of technical possibilities of data conversion:

• Data consistency due to standard import techniques:

Batch input

Direct input

BAPIs (Business Application Programming Interfaces)

IDocs (Intermediate Documents)

The import technique to be used in an individual case depends on the business object.

• Generation of the conversion program on the basis of defined rules

• Clear interactive process guide

• Interface for data in spreadsheet format

• Creation of data migration objects on the basis of recorded transactions

• Charge-free for SAP customers and SAP partners

http://help.sap.com/saphelp_nw04s/helpdata/en/87/f3ae74e68111d1b3ff006094b944c8/content.htm

http://www.sap-img.com/sap-data-migration.htm

http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc

http://allsaplinks.com/lsmw.html

http://myweb.dal.ca/hchinni/sap/lsmw_home.htm

Regards,

Priyanka.

Read only

Former Member
0 Likes
613

hi,

<u>BAPI</u>

BAPI stands for Business API(Application Program Interface).

A BAPI is remotely enabled function module

ie it can be invoked from remote programs like standalone JAVA programs, web interface etc..

You can make your function module remotely enabled in attributes of Function module but

A BAPI are standard SAP function modules provided by SAP for remote access.

Also they are part of Businees Objest Repository(BOR).

<u>LSMW</u>

LSMW creates a project to download the data in the system, several steps have to be implemented and it needs to have only few abap knowledge to implement them (the system'll generate all programs): only a good developer can create a bdc program.

A project can be created directly in every enviroment, bdc has to be created in development system and transport from dev to prod.

Every user can create a LSMW project, only developer can create a BDC program.

LSMW is me to more flexible and adaptable than BDC if some modifications have to be added after creating it.

I believe the problem on LSMW is the method to be used to load the data: if there are std methods (like BI or BAPI) there' no particular problem, but if there aren't you should register it, but sometimes these regitrations are not good and so you have to create an your own program.

So if there are std methods or it needs a simple BDC obtainable by registration I prefer to use LSMW.

REgards

reshma

Read only

Former Member
0 Likes
613

Hi,

BAPI :

It is a Standardized programming interface that enables external applications to access business processes and data in an SAP System.

BAPIs are defined in the BOR as methods of SAP business object types that carry out specific business functions.

BAPIs are implemented as RFC-enabled function modules and are created in the Function Builder of the ABAP Workbench.

LSMW :

The LSM Workbench is an R/3-based tool that supports You when transferring data from non-SAP systems ("Legacy Systems") to R/3 once or periodically.

The tool supports conversion of data of the legacy system in a convenient way.

The data can then be imported into the R/3 system via batch input, direct input, BAPIs or IDocs.

Furthermore, the LSM Workbench provides a recording function that allows to generate a "data migration object" in an entry or change transaction.

Read only

Former Member
0 Likes
613

Hi,

BAPI is a Function Module that can be called from the R/3 systems

LSMW - Legacy System Migration WorkBench is a tool provided by SAP to transfer data from one SAP system to another SAP / non-SAP system, third party or legacy system,

Using LSMW, you can provide conditions on how the data will transfer from one system to another and what are the rules that need to be applied, such as the data field may be different on the two systems, etc.

for futher info look at help.sap.com

<reward points if helpful>

Regards,

Samson Rodrigues.