Skip to Content
avatar image
Former Member

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    May 30, 2008 at 07:04 AM

    Hi,

    here is one example what to set:

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

    Regards Vassko!

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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

  • avatar image
    Former Member
    Jun 17, 2008 at 07:58 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.

  • avatar image
    Former Member
    May 30, 2008 at 07:27 AM

    Hi,

    Check the following link:

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

    Regards,

    Bhaskar

    Add comment
    10|10000 characters needed characters exceeded