05-12-2007 7:04 AM
hi guys ,
thanx 2 all who replied 2 my quries, but i need specificed answers pls.
how does LSMW-BAPI read data. i.e how to write flatfile(header data & item data).
how 2 debugg LSMW
how to do validations.
how 2 write user defined routines
pls take reply.
reagards
srihari reddy
05-12-2007 2:56 PM
Hi,
See when there is only light modifications in the standard file from which u r extraction the datas mweans you can go for LSMW...
LSMW and BDC are used for one upload of the datas in the file..
BAPI is an interface used whenever you enter the data..We can take an example..if there is a website and from the site when we fill any values means it want to effect the SAP DB.So for that purpose BAPI will be very useful..
reward if useful
05-12-2007 7:07 AM
Hi
BAPI - BAPIs (Business Application Programming Interfaces) are the standard SAP interfaces. They play an important role in the technical integration and in the exchange of business data between SAP components, and between SAP and non-SAP components. BAPIs enable you to integrate these components and are therefore an important part of developing integration scenarios where multiple components are connected to each other, either on a local network or on the Internet.
BAPIs allow integration at the business level, not the technical level. This provides for greater stability of the linkage and independence from the underlying communication technology.
LSMW- No ABAP effort are required for the SAP data migration. However, effort are required to map the data into the structure according to the pre-determined format as specified by the pre-written ABAP upload program of the LSMW.
The Legacy System Migration Workbench (LSMW) is a tool recommended by SAP that you can use to transfer data once only or periodically from legacy systems into an R/3 System.
More and more medium-sized firms are implementing SAP solutions, and many of them have their legacy data in desktop programs. In this case, the data is exported in a format that can be read by PC spreadsheet systems. As a result, the data transfer is mere child's play: Simply enter the field names in the first line of the table, and the LSM Workbench's import routine automatically generates the input file for your conversion program.
The LSM Workbench lets you check the data for migration against the current settings of your customizing. The check is performed after the data migration, but before the update in your database.
So although it was designed for uploading of legacy data it is not restricted to this use.
We use it for mass changes, i.e. uploading new/replacement data and it is great, but there are limits on its functionality, depending on the complexity of the transaction you are trying to replicate.
The SAP transaction code is 'LSMW' for SAP version 4.6x.
Check your procedure using this Links.
BAPI with LSMW
http://esnips.com/doc/ef04c89f-f3a2-473c-beee-6db5bb3dbb0e/LSMW-with-BAPI
For document on using BAPI with LSMW, I suggest you to visit:
http://www.saptechnical.com/Tutorials/LSMW/BAPIinLSMW/BL1.htm
http://www.sapbrain.com/TOOLS/LSMW/SAP_LSMW_steps_introduction.html
http://esnips.com/doc/8e732760-5548-44cc-a0bb-5982c9424f17/lsmw_sp.ppt
http://esnips.com/doc/f55fef40-fb82-4e89-9000-88316699c323/Data-Transfer-Using-LSMW.zip
http://esnips.com/doc/1cd73c19-4263-42a4-9d6f-ac5487b0ebcb/LSMW-with-Idocs.ppt
http://esnips.com/doc/ef04c89f-f3a2-473c-beee-6db5bb3dbb0e/LSMW-with-BAPI.ppt
http://esnips.com/doc/7582d072-6663-4388-803b-4b2b94d7f85e/LSMW.pdf
Reward points if useful
Regards
Anji
05-12-2007 2:56 PM
Hi,
See when there is only light modifications in the standard file from which u r extraction the datas mweans you can go for LSMW...
LSMW and BDC are used for one upload of the datas in the file..
BAPI is an interface used whenever you enter the data..We can take an example..if there is a website and from the site when we fill any values means it want to effect the SAP DB.So for that purpose BAPI will be very useful..
reward if useful
09-16-2011 11:55 AM