Application Development 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: 

Using BAPI Method in LSMW

Former Member
0 Kudos

Hi, when we using BAPI method in LSMW, why we require the IDOC Inbound Processing? And how we configure this?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

here is one example what to set:

http://www.saptechnical.com/Tutorials/LSMW/BAPIinLSMW/BL2.htm

Regards Vassko!

10 REPLIES 10

Former Member
0 Kudos

Hi,

here is one example what to set:

http://www.saptechnical.com/Tutorials/LSMW/BAPIinLSMW/BL2.htm

Regards Vassko!

0 Kudos

why we require the IDOC Inbound Processing?

0 Kudos

Hi,

when you use LSMW import method with BAPI you need to specify the following values required for IDoc interface :

- File port

- Partn.Type

- Partner No

For more info look here:

http://help.sap.com/saphelp_erp2005/helpdata/en/ad/2d54a41d7011d2b42e006094b944c8/frameset.htm

Regards Vassko!

Edited by: Vasil Pavlov on May 30, 2008 10:09 AM

0 Kudos

Thanks for your reply, but I haven't find the answer why we should use IDOC Inbound processing.

0 Kudos

if you are going to use BAPI Method in LSMW you are goint to use and IDOC Inbound processing 🐵

0 Kudos

No reason?

0 Kudos

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.

Regards

Kannaiah

Former Member
0 Kudos

Hi,

Check the following link:

http://www.saptechnical.com/Tutorials/LSMW/MMBAPI/Page1.htm

Regards,

Bhaskar

Former Member
0 Kudos

I AM USING LSMW TO LOAD DATA USING BAPI.IN THAT WE HAVE A STEP START IDOC PROCESSING.(STEP14).

I AM GETTING AN ERROR LIKE 'NO DATA COULD BE SELECTED'

WHAT COULD BE THE REASON..PLEASE TELL ME.

0 Kudos

hi,

just check in the following areas :

1 . i think in your file port u do not mention the excat function module name

2. i think u are not specifing ur exact data file in the step 7.

reward if useful please.

thanks & regards,

sravan.