Using BAPI Method in LSMW
Hi, when we using BAPI method in LSMW, why we require the IDOC Inbound Processing? And how we configure this?
LSMW uses Inbound IDOC processing while using the BAPI. If you observe the other methods like Recording, Direct Input, there is a session which at last will be run to upload the data.
Incase of BAPI, the data can be uploaded from file and also as well as Converting the file record into IDOC and then triggering the BO to create or change the existing application document.
If you select Create file, a file is created during data conversion.
If you select "Create IDocs directly", IDocs are collected during data conversion and submitted for IDoc creation in packages.
Data stored in a file by means of the IDoc technique is generally imported in two steps. You can call these steps in LSM Workbench:
· Start IDoc creation. First, the file of the converted data is read. The "information packages"contained are stored in the R/3 database in IDoc format. It is, however, not stored in the database of the corresponding application. The system assigns a number to every IDoc. Then the file of the
converted data is deleted.
· Start IDoc processing. The IDocs created in the first step are submitted to the corresponding application program. This application program checks the data and posts it in the applicationu2019s database, if applicable.