LSMW  bapi idocs

Hello evryone,
I am trying to make a lsmw using BAPI with IDoc inbound processing,
But at the time of step Start IDoc Processing
status is 51----  Application Document is not posted
and reason is----  No Master Record Exist for Vendor 10001
could anyone  please explain me  the reasons for this
Thanx in advance
Jeet Chauhan
Moderator message: duplicate post locked.
Edited by: Thomas Zloch on May 3, 2011 2:44 PM

Hello evryone,
I am trying to make a lsmw using BAPI with IDoc inbound processing,
But at the time of step Start IDoc Processing
status is 51----  Application Document is not posted
and reason is----  No Master Record Exist for Vendor 10001
could anyone  please explain me  the reasons for this
Thanx in advance
Jeet Chauhan
Moderator message: duplicate post locked.
Edited by: Thomas Zloch on May 3, 2011 2:44 PM

Similar Messages

  • LSMW - BAPi(Idoc settings)

    Hi ,
    i want to call BAPi in LSMW so in the intial screen iam goin go to settings - idoc inbound processing.
    there it is asking for fileport nad partner number: what details should i give.
    step  by step pls
    Thanks,
    Donald

    Hi Donald,
    Go through the following Steps
    check this link for step by step procedure on how to do LSMW using Idocs with screen shots
    http://esnips.com/doc/1cd73c19-4263-42a4-9d6f-ac5487b0ebcb/LSMW-with-Idocs.ppt
    http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
    Inbound Processing of LSMW Via IDOC's
    Step1) Create the Partner Profiles & Port for Inbound Process and Ctivate the Inbound Process for LSMW.
         a) Goto Tcode SALE
                    1) Create Logical System for Receiver Save & Come Back
                    2) assign Logical to Client for LSMW inbound Process
         b) Goto Tcode SM59
                    1) Create  RFC Destinations for ALE
         c) Goto Tcode WE21
                    1) Create a file port which can read the data from the specified path.
                    Here select "FILE" Node --> Click on Create Button(F5)
                    Give the following Information
                    Port : FILE
                    Desc : File Port for Inbound Processing of LSMW Via IDOC's
              Goto Outbound File Tab.
              Select Logical Directory Radio Button.
              Give LOCAL_TEMPORARY_FILES as Logical Path.
              If it is Physical Pthat : C:\TEMP\Filename.
    Goto Tcode LSMW
    ===============
    Give      Project          : ZPROJECT
         SubProject        : ZPROJECT
         Object            : ZPROJECT
    Click on Create  Button
    then goto Settings Mwnu
              Click on  IDoc Inbound Process.
    Here you need to Pass File Port : File
                       Partner Type : LS
                       Partner No.  : Port Name (Just Created from WE21 Tcode)
    Save And Click on ACTIVATE IDOC INBOUND PROCESS
    Save and Come Back.
    1) Click on Execute(F8)    1 Maintain Object Attributes    
    Select IDoc(Intermediate Document)
    Message Type : MATMAS
    Basic Type   : MATMAS05
    Save & Come Back
    Then Your Getting the following Steps need to Do
      2 Maintain Source Structures                   
      3 Maintain Source Fields                       
      4 Maintain Structure Relations                 
      5 Maintain Field Mapping and Conversion Rules  
      6 Maintain Fixed Values, Translations, User-Defi
      7 Specify Files                                
      8 Assign Files                                 
      9 Read Data                                    
    10 Display Read Data                            
    11 Convert Data                                 
    12 Display Converted Data                       
    13 Start IDoc Generation                        
    14 Start IDoc Processing                        
    15 Create IDoc Overview                         
    16 Start IDoc Follow-Up                         
    2) Select the 2nd Radio Button & Execute.
    Click on Create Button.
         Source Structure : ZE1MARAM
            Description      : XXXXXXXXXX
    Click on Continu Button
    Select Just Created "Source Structure : ZE1MARAM"
    Again Click on Create Button this is your Second Source Structure.
         Source Structure : ZE1MAKTM
            Description      : XXXXXXXXXX
    It Asks the Same Level or Lowerlavel of Source Structure : ZE1MARAM
    select Lower Level Radio Button.
    Click on Continue Button 
    Save & Come Back.
    3) Select the 3rd Radio Button and click on Execute Button
    Select the first Source Structure
       Click on Copy Button
    Select the Third Radio Button
       Click on Copy Button
         Give the Tab Name is E1MARAM
    Click on Continue Button.
    Save this
    Go bottom
    Select the 2nd Source Structure " ZE1MAKTM"
       Click on Copy Button
    Select the Third Radio Button
       Click on Copy Button
         Give the Tab Name is E1MAKTM
    Click on Continue Button.
    Save & Come Back.
    4) Select the 4TH Radio Button and click on Execute Button
    Select E1MARAM -->Click on Relationship Button
         Here A Small window comes  then Select ZE1MARAM
         Click on Continue Button.
    Select E1MAKTM -->Click on Relationship Button
         Here A Small window comes  then Select ZE1MAKTM
         Click on Continue Button.
    The Above two Structure are appears in Blue Color
    Save & Come Back.
    5) Select the 5TH Radio Button and click on Execute Button
    First Structure : EDI_DC40 this is Control Record of your IDoc.
    after this you will find a Structure "E1MARAM" this is in Orange Color Remember
    Select MSGFN Field and Click on Source Field
             a New window will comes here select the ZE1MARAM-->MSGFN field and double Click on it.
    Select MATNR Field and Click on Source Field
             a New window will comes here select the ZE1MARAM-->MATNR field and double Click on it.
    Select MTART Field and Click on Source Field
             a New window will comes here select the ZE1MARAM-->MTART field and double Click on it.
    Select MBRSH Field and Click on Source Field
             a New window will comes here select the ZE1MARAM-->MBRSH field and double Click on it.
    Select MATKL Field and Click on Source Field
             a New window will comes here select the ZE1MARAM-->MATKL field and double Click on it.
    Select MEINS Field and Click on Source Field
             a New window will comes here select the ZE1MARAM-->MEINS field and double Click on it.
    Select GEWEI Field and Click on Source Field
             a New window will comes here select the ZE1MARAM-->GEWEI field and double Click on it.
    Save This.
    Go Bottom.
    you will find a Structure "E1MAKTM" this is in Orange Color Remember
    Select MSGFN Field and Click on Source Field
             a New window will comes here select the ZE1MAKTM-->MSGFN field and double Click on it.
    Select SPRAS Field and Click on Source Field
             a New window will comes here select the ZE1MAKTM-->SPARS field and double Click on it.
    Select MAKTX Field and Click on Source Field
             a New window will comes here select the ZE1MAKTM-->MAKTX field and double Click on it.
    Save and Comeback.
    Create Your Flat Files Like he following Format. and save it in C:\TEMP folder Only
    1st File : MARA.TXT
    001     MAT001                                   COUP     C     15          KG                                                                                          01
    2nd File : MAKT.TXT
    001     EN     New Material For Inbound Processing of LSMW Via IDOC's
    6) Select the 6TH Radio Button and click on Execute Button
         We don't do any process here  Just Come Back.
    7) Select the 7TH Radio Button and click on Execute Button
         Click on Legacy data : Click on F5 Button.
                  Add Two Files 1) C:\TEMP\MARA.TXT     
                       2) C:\TEMP\MAKT.TXT
         Select Tablator Radio Button as Delimiter
         Save & Come Back.
    8) Select the 8TH Radio Button and click on Execute Button
         Select ZE1MARAM Structure and Click on Assignment Button
         Save this
         Select ZE1maktm Structure and Click on Assignment Button
         Save and Come Back.
    9) Select the 9TH Radio Button and click on Execute Button
         Click F8 Button.
         Check the Read Dada
    10) Select the 10TH Radio Button and click on Execute Button
         Click F8 Button.
         Check the Display Read Data.
    11) Select the 11TH Radio Button and click on Execute Button
         Click F8 Button.
         Check the Convert Data.
    12) Select the 12TH Radio Button and click on Execute Button
         Click F8 Button.
         Check the Display Convert Data.
    13) Select the 13TH Radio Button and click on Execute Button
         Click F8 Button.
    14) Select the 14TH Radio Button and click on Execute Button
         This is WE05 Tcode Screen Start IDoc Process.
    15) Select the 15TH Radio Button and click on Execute Button
         This is WE05 Tcode Screen Creating IDoc Here
    16) Select the 16TH Radio Button and click on Execute Button
         Select Posting Radio Button(that is 5th Button)
         then Click on F8 or Execute Button.
    After this your will check your Material exist in receving Side or Not.
    Regards
    Sreeni

  • In LSMW, what is diff between LSMW-BAPI and LSMW-IDOC

    hello all
    In LSMW, what is diff between LSMW-BAPI and LSMW-IDOC

    Hi Swamy,
    The differences between IDoc and BAPI are as follows: 
    IDOC
    IDocs are text encoded documents with a rigid structure that are used to exchange data between R/3 and a foreign system.
    Idocs are processed asynchronously and no information whatsoever is returned to the client.
    The target system need not be always online. The IDOC would be created and would send the IDOC once the target system is available (tRFC concept). Hence supports guaranteed delivery.
    With asynchronous links the sub-process on the client can be finished even if the communication line or the server is not available. In this case the message is stored in the database and the communication can be done later.
    The disadvantage of asynchronous links is that the sub-process on the server cannot return information to the calling sub-process on the client. A special way for sending information back to the client is required. In addition, a special error handling mechanism is required to handle errors on the receiving side.
    IDOCs may be more changeable from release to release.
    IDOCs  are poorly documented.
    BAPI
    BAPIs are a subset of the RFC-enabled function modules, especially designed as Application Programming Interface (API) to the SAP business object, or in other words: are function modules officially released by SAP to be called from external programs.
    BAPIs are called synchronously and (usually) return information.
    For BAPIs the client code needs to do the appropriate error handling.
    Problems with synchronous links occur if the communication line or the server is temporarily not available. If this happens, the sub-process on the client cannot be finished (otherwise there would be data inconsistencies).
    Synchronous links have the advantage that the sub-process on the server can return values to the sub-process on the client that has started the link.
    BAPIs are not totally immune to upgrades.
    BAPIs are reasonably well documented.
    Reward points if useful.
    Best Regards,
    Sekhar

  • Non English characters conversion issue in LSMW BAPI Inbound IDOCs

    Hi Experts,
    We have some fields in customer master LSMW data load program which can
    contain non-English characters. We are facing issues in LSMW BAPI
    method with non-English characters Conversion. LMSW steps read and
    conversion are showing the non-English characters properly with out any
    issue. While creating inbound IDOCs most of the non-English characters
    replaced with '#' and its causing issues in creating customer master data in
    system. In our scenario customer data with non-English characters in
    the first name, last name and address details. Any specific setting
    needs to be done from our side? Please suggest me to resolve this issue.
    Thanks
    Rajesh Yadla

    If your language is a unicode tehn you need to change the options  like IN SAP you need to change it to unicode  in the initial screen Customize local layout(ALT F12) options 118  --> Encoding ....

  • WITH LSMW USING BATCH INPUT/DIRECT INPUT/BAPI/IDOCS

    IN WHAT SCENARIOS CAN WE USE BATCH INPUT/DIRECT INPUT/BAPI/IDOCS WITH LSMW.WHICH IS THE BEST ONE.PLEASE TELL ME THE SCENARIOS OF USAGE.

    It really depends on what you are doing.  There are a lot of "standard" LSMW objects for different business objects, for example, there is a std object for Creating Material Masters, in this case, it is a direct input program. So, the best choice here would be to use the standard program which has been provided, it just so happens that it is a direct input program.  Creating Bill of Materials is another one, but this one is a batch input program, so you have no choice but to go with that.  Of course if there is a BAPI for your business object that would be the next best thing, if a standard object does not exists.
    REgards,
    Rich Heilman

  • LSMW : BAPI vs IDOC

    hi xperts
    In LSMW, given the choices between Idoc and BAPI,which processing method is good and why? And when to opt one of the methods?
    thkx
    Prabhu

    Hi
    See the links
    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
    Step-by-Step Guide for using BAPI in LSMW
    Note! The screen prints in this article are from ECC 5.0. They may differ slightly in other versions.
    Introduction:
    This document details the usage of BAPI in LSMW. We have used the example of migration of the purchase order data into SAP.
    Pre-requisites:
    It is assumed that the reader of this article has the minimum knowledge required on the Business Object, BAPI, Message Types and IDoc Types.
    Step-by-Step Procedure:
    Details of the BAPI used in this scenario:
    Business Object: BUS2012
    Method: CreateFromData
    Details of Message Type and Basic IDoc Type:
    Message Type: PORDCR
    Basic IDoc Type: PORDCR02
    Let’s have a look at the BAPI first, before proceeding to the LSMW:
    1. Go to Transaction BAPI
    2. Click on Search Button
    3. Enter the value “BUS2012” and select “Obj.type(Technical Object Name”
    4. Press ENTER
    5. Following screen appears:
    6. On the left side of the screen, Expand the “PurchaseOrder”.
    7. Select “PurchaseOrder” and double-click on the same for details.
    Building LSMW using BAPI:
    1. Go to Transaction LSMW.
    2. Enter the Project, Subproject and Object information and click on CREATE.
    3. Enter the descriptions for Project, Subproject and Object.
    4. Now select Settings à IDoc Inbound Processing
    5. “IDoc Inbound Processing” screen appears. Enter the required details as shown below:
    6. Click on “Activate IDoc Inbound Processing”.
    7. Click on “Yes” when prompted for “Activate IDoc Inbound?”
    8. Hit on “Back” to return to the main screen.
    9. Click on Continue (F8). Following Screen appears:
    10. Select the Step 1 “Maintain Object Attributes” and select “Execute”.
    11. Select the radio button “Business Object Method” and enter the following details:
    Business Object: BUS2012
    Method: CreateFromData
    Hit ENTER
    12. Save and click on BACK button. Following information message is displayed.
    13. Now select step 2 “Maintain Source Structures” and click “Execute”.
    14. In this step, we need to maintain the source structure. In our example, lets consider the example of a file with 2 structures Head and Item data as shown below:
    Click on Create and name the source structure as HEADERDATA. Now select HEADERDATA and click on “Create” again to create the child structure. Following popup appears:
    Select “Lower Level” and click on Continue. Enter the Item data structure name.
    Click Save and hit BACK button to go to the main screen.
    15. Select step 3 “Maintain Source Fields” and hit execute.
    16. Enter the fields as shown below:
    17. Click SAVE and return to main screen.
    18. Select step 4 “Maintain Structure Relations” and click Execute.
    Select E1PORDCR and click on CREATE RelationShip. Following screen appears:
    Select HEADERDATA and hit ENTER
    Similarly do the same for the structure E1BPEKKOA, E1BPEKPOC and E1BPPEKET.
    Click Save and return to main screen.
    19. Select the step “Maintain Field Mapping and Conversion Rules” and click on execute. Maintain the Field Mapping as seen below:
    20. Select step 7 “Maintain Source Files” and provide the link for the test file created. (Create a test file with the same structure as defined earlier).
    Save and return to main screen.
    21. Select the step “Assign Files” and click on Execute.
    Assign the file provided to the source structure. Here the same file is provided for both the structures.
    Save and return to the main screen.
    22. Select the step “Read Data” and click on Execute.
    Click on Execute.
    Return to the main screen.
    23. Select the step “Display read data” and click on execute.
    Click on the structure name to get the field level values.
    24. Return to main screen and now select “Convert Data”.
    25. Return to the main screen and select “Display Converted data”.
    26. Return to main screen and select “Start IDoc generation”.
    27. Now select the step “Start IDoc Processing” on the main screen.
    28. Return to main screen and click on “Create IDoc overview”. Here the data record and status records of the IDoc could be viewed
    It is given in screen shot.
    http://www.****************
    Regards,
    Padmam.

  • Difference between lsmw using BAPI & lsmw using IDOC?

    HI everybody
    can anybody tell me  difference between lsmw using BAPI & lsmw using IDOC?

    IDocs and BAPI are very different, so it should be easy to choose between them depending on your requirements.
    IDOCS
    Advantages
    System can work even if target system not always online. The IDoc will be created and sending will just continue once you get connected to the other system.
    No additional programming required. You just need to set up the configuration.
    Disadvantages
    Receipt/processing on the target system may not be immediate.
    The sending system has no way to know whether the target system actually received what you sent (unless you use ALE).
    If there is no SAP standard IDoc available for your requirement, it's harder to create a customized IDoc than a customized BAPI.
    BAPIS
    Advantages
    You can tell if your sending was successful or not
    Sending to/processing on the other side is immediate
    Easier to create your own BAPI than your own IDoc
    Disadvantages
    Will only work if you have an active online connection.
    Some programming required to call the BAPI.
    Others interface methods you might also want to consider are ALE and RFCs.

  • LSMW using IDocs/BAPIS

    Hi All,
    I am new to LSMW and want a simple tutorial for using LSMW using Idocs and BAPIs. I have found many useful tutorials for Direct Input and Batch Recording. If anyone can give me link or a tutorial for using lsmw with idocs and bapis it will be of great help.
    Thanks in advance.
    archish

    Hi,
       is step by step process .
    Step-by-Step Guide for using BAPI in LSMW
    Note! The screen prints in this article are from ECC 5.0. They may differ slightly in other versions.
    Introduction:
    This document details the usage of BAPI in LSMW. We have used the example of migration of the purchase order data into SAP.
    Pre-requisites:
    It is assumed that the reader of this article has the minimum knowledge required on the Business Object, BAPI, Message Types and IDoc Types.
    Step-by-Step Procedure:
    Details of the BAPI used in this scenario:
    Business Object: BUS2012
    Method: CreateFromData
    Details of Message Type and Basic IDoc Type:
    Message Type: PORDCR
    Basic IDoc Type: PORDCR02
    Let’s have a look at the BAPI first, before proceeding to the LSMW:
    1. Go to Transaction BAPI
    2. Click on Search Button
    3. Enter the value “BUS2012” and select “Obj.type(Technical Object Name”
    4. Press ENTER
    5. Following screen appears:
    6. On the left side of the screen, Expand the “PurchaseOrder”.
    7. Select “PurchaseOrder” and double-click on the same for details.
    Building LSMW using BAPI:
    1. Go to Transaction LSMW.
    2. Enter the Project, Subproject and Object information and click on CREATE.
    3. Enter the descriptions for Project, Subproject and Object as prompted.
    4. Now select Settings à IDoc Inbound Processing
    5. “IDoc Inbound Processing” screen appears. Enter the required details as shown below:
    6. Click on “Activate IDoc Inbound Processing”.
    7. Click on “Yes” when prompted for “Activate IDoc Inbound?”
    8. Hit on “Back” to return to the main screen.
    9. Click on Continue (F8). Following Screen appears:
    10. Select the Step 1 “Maintain Object Attributes” and select “Execute”.
    11. Select the radio button “Business Object Method” and enter the following details:
    Business Object: BUS2012
    Method: CreateFromData
    Hit ENTER
    12. Save and click on BACK button. Following information message is displayed.
    13. Now select step 2 “Maintain Source Structures” and click “Execute”.
    14. In this step, we need to maintain the source structure. In our example, lets consider the example of a file with 2 structures Head and Item data as shown below:
    Click on Create and name the source structure as HEADERDATA. Now select HEADERDATA and click on “Create” again to create the child structure. Following popup appears:
    Select “Lower Level” and click on Continue. Enter the Item data structure name.
    Click Save and hit BACK button to go to the main screen.
    15. Select step 3 “Maintain Source Fields” and hit execute.
    16. Enter the fields as shown below:
    17. Click SAVE and return to main screen.
    18. Select step 4 “Maintain Structure Relations” and click Execute.
    Select E1PORDCR and click on CREATE RelationShip. Following screen appears:
    Select HEADERDATA and hit ENTER
    Similarly do the same for the structure E1BPEKKOA, E1BPEKPOC and E1BPPEKET.
    Click Save and return to main screen.
    19. Select the step “Maintain Field Mapping and Conversion Rules” and click on execute. Maintain the Field Mapping as seen below:
    20. Select step 7 “Maintain Source Files” and provide the link for the test file created. (Create a test file with the same structure as defined earlier).
    Save and return to main screen.
    21. Select the step “Assign Files” and click on Execute.
    Assign the file provided to the source structure. Here the same file is provided for both the structures.
    Save and return to the main screen.
    22. Select the step “Read Data” and click on Execute.
    Click on Execute.
    Return to the main screen.
    23. Select the step “Display read data” and click on execute.
    Click on the structure name to get the field level values.
    24. Return to main screen and now select “Convert Data”.
    25. Return to the main screen and select “Display Converted data”.
    26. Return to main screen and select “Start IDoc generation”.
    27. Now select the step “Start IDoc Processing” on the main screen.
    28. Return to main screen and click on “Create IDoc overview”. Here the data record and status records of the IDoc could be viewed:
    Please Go through these 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.****************/Tutorials/LSMW/BAPIinLSMW/BL1.htm
    http://myweb.dal.ca/hchinni/sap/lsmw_home.htm
    http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
    lsmw-idoc method:
    http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc
    Regards

  • Unable to create PO with multiple line items through LSMW-BAPI method

    Hi All,
    I have a requirement of creating PO through LSMW. I can't use LSMW standard batch input program since there are some fileds not available and also it has many limitations. I'm using LSMW-BAPI method ( Business object BUS2012) which create IDOC and uses BAPI_PO_CREATE1 to ultimately post the PO in the system. I am trying to create PO from a single file which contains both Header and Item data.
    Now my problem is that everytime PO is being created with Single line item only. Everytime I am giving multiple item data in the source file LSMW is preparing multiple IDOCs for multiple line items. As per my understanding this is happenng since header and item is in the same hierarchy level of IDOC type PORDCR102 and the control record is inserted for every line item in the source file.
    It seems that through LSMW-BAPI  it is not possible to create PO with multiple line items. Can anybody provide some input regarding this? Thanks in advance.
    BR,
    Atanu Mukherjee

    Solved by myself.
    Earlier the problem was that LSMW was not being able to recognize items under same header. It was creating new IDOCs every time it gets a new item. To enable this we need to create two structure HEADERDATA and ITEMDATA.  Two additional identifier fields with identifier value 'H' and 'I' should be added in these two structures respectively. Then we need one sequential file with the identifiers field followed by the header and Item data. Example:
    H~header data
    I~item data
    I~item data 
    This would help the standard program to understand what are the items under same header and ultimately create PO with multiple line items.
    BR,
    Atanu Mukherjee

  • Sales Order Creation using LSMW-BAPI.

    Hai,
         While executing a 14th step in LSMW-BAPI,the IDOC is generated.While Testing the IDoc the values for the Header segment alone is displayed.The Segment sfor Item is not Displayed.Should there be any link between Header & the ITem.
    Regards,
    Padmam.

    Hi,
    Can u tell me the steps to create a sales order using idoc, i've created a bapi but thats a temprory use. I wanted to created a sales order automatically when a purchase order is saved.
    Please let me know if u can help me, i wanted to do it using idoc
    Regards
    Sanju

  • GL Balance upload using LSMW (BAPI bus6035)

    Hello everyone,
    We are uploading GL balances from legacy to SAP using the LSMW Bapi
    object - bus6035
    method - post
    message type - ACC_DOCUMENT
    Basic type - ACC_DOCUMENT03
    When we run the lsmw, idoc is created, however with an error 51 saying
    "Function module not allowed - APPL_IDOC_INPUT1'
    The partner no. is the logical system (the system on which the lsmw is executed)
    In the partner profile, we have defined this as LS. In the inbound parameters, we have defined message type = ACC_DOCUMENT, the process code is APL1 and the corresponding function module is - APPL_IDOC_INPUT1
    Please let me know if we are missing something or doing anything wrong ?
    Since the data in the LSMW will be read frmo a file on the presentation server, do we need to have a port configuration for the same ?
    Thanks,
    Sushil Joshi

    Hi Sameer,
    Have a look at these threads, they might help you
    Chart of Accounts Upload
    Problem: LSMW with transaction FS00 create account (BI is not generated)
    Thanks
    Janani
    award points if helpful

  • LSMW-BAPI Sales order creation

    Hi All,
    I was trying to create sales order through the LSMW BAPI method.
    For the first line item i'm getting the correct quantity that i''m passing.
    But from second line item onwards quantity field is appearing as 0 (zero) even though i pass the different quantity values.
    i'm assiging the quantity to the REQ_QTY field in the schedule line items structure.
    Please suggest any solution for this.
    Thanking you.
    with regards,
    Bharath

    Hi,
    Can u tell me the steps to create a sales order using idoc, i've created a bapi but thats a temprory use. I wanted to created a sales order automatically when a purchase order is saved.
    Please let me know if u can help me, i wanted to do it using idoc
    Regards
    Sanju

  • Need to know LSMW by IDoc Method

    Does any one know the step-by-step procedure for LSMW by IDoc method?
    Please forward it to me.
    Regards,
    Bala Raja

    Go through below links
    http://www.****************/Tutorials/LSMW/IDocMethod/
    http://esnips.com/doc/1cd73c19-4263-42a4-9d6f-ac5487b0ebcb/LSMW-with-Idocs.ppt
    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/ef04c89f-f3a2-473c-beee-6db5bb3dbb0e/LSMW-with-BAPI.ppt
    http://esnips.com/doc/7582d072-6663-4388-803b-4b2b94d7f85e/LSMW.pdf
    lsmw with idoc
    http://www.****************/Tutorials/LSMW/IDocMethod/IDocMethod1.htm
    http://www.jt77.com/system-dynamics/model-01395.html
    http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc
    If you have OSS login then , go to the following link
    https://websmp202.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000615616
    Reward Points if useful.

  • Lsmw with idoc

    Hi all, Can any one send me the steps for upload material data using LSMW-IDoc method

    hi,
    <b>Working With LSMW:</b>
    Use TCODE LSMW
    <b>Objects of LSMW:</b>
      •Project   – ID with max of 10 char to Name the data transfer project.
      • Subproject   – Used as further structuring attribute.
      • Object   – ID with max of 10 Characters, to name the Business object .
      • Project can have multiple sub projects and subprojects can have multiple objects.
      • Project documentation displays any documentation maintained for individual pop ups and processing steps
    <b>User Guide:</b> Clicking on Enter leads to interactive user guide which displays the Project name, sub project name and object to be created.
    <b>Object type and import techniques:</b>
      • Standard Batch / Direct input.
      • Batch Input Recording
          o If no standard programs available
          o To reduce number of target fields.
          o Only for fixed screen sequence.
        • BAPI
        • IDOC
          o Settings and preparations needed for each project
    <b>Preparations for IDOC inbound processing:</b>
        • Choose settings -> IDOC inbound processing in LSMW
        • Set up File port for file transfer, create port using WE21.
        • Additionally set up RFC port for submitting data packages directly to function module IDoc_Inbound_Asynchronous, without creating a file during data conversion.
        • Setup partner type (SAP recommended ‘US’) using WE44.
        • Maintain partner number using WE20.
        • Activate IDOC inbound processing.
        • Verify workflow customizing.
    <b>Steps in creating LSMW Project:</b>
        1) Maintain attributes – choose the import method.
        2)Maintain source structure/s with or without hierarchical relations. (Header, Detail)
        3) Maintain source fields for the source structures. Possible field types – C,N,X, date, amount and packed filed with decimal places.
        • Fields can be maintained individually or in table form or copy from other sources using upload from a text file
        4) Maintain relationship between source and target structures.
        5) Maintain Field mapping and conversion rules
        • For each Target field the following information is displayed:
          o Field description
          o Assigned source fields (if any)
          o Rule type (fixed value, translation etc.)
          o Coding.
          o Some fields are preset by the system & are marked with Default setting.
        6) Maintain Fixed values, translations, user defined routines – Here reusable rules can be processed like assigning fixed values, translation definition etc.
        6) Specify Files
          o Legacy data location on PC / application server
          o File for read data ( extension .lsm.read)
          o File for converted data (extension .lsm.conv)
        7) Assign Files – to defined source structures
        8) Read data – Can process all the data or part of data by specifying from / to transaction numbers.
        9) Display read data – To verify the input data being read
        10) Convert Data – Data conversion happens here, if data conversion program is not up to date, it gets regenerated automatically.
        11) Display converted data – To verify the converted data
    <b>Import Data – Based on the object type selected</b>
        • Standard Batch input or Recording
          o Generate Batch input session
          o Run Batch input session
        • Standard Direct input session
          o Direct input program or direct input transaction is called
    <b>BAPI / IDOC Technique:</b>
        • IDOC creation
          o Information packages from the converted data are stored on R/3 Database.
          o system assigns a number to every IDOC.
          o The file of converted data is deleted.
    <b>   • IDOC processing</b>
          o IDOCS created are posted to the corresponding application program.
          o Application program checks data and posts in the application database.
    <b>Finally Transport LSMW Projects:</b>
        • R/3 Transport system
          o Extras ->Create change request
          o Change request can be exported/imported using CTS
        • Export Project
          o Select / Deselect part / entire project & export to another R/3 system
        • Import Project
          o Exported mapping / rules can be imported through PC file
          o Existing Project data gets overwritten
          o Prevent overwriting by using
        ‘Import under different name
    <b>for more information follow this link.</b>
    http://help.sap.com/saphelp_nw04s/helpdata/en/87/f3ae74e68111d1b3ff006094b944c8/content.htm
    regards,
    Ashokreddy

  • About LSMW and Idoc

    Hi Guys
    I am new to LSMW and IDoc or BAPI method. Can anyone email me some step by step docs. Pls dont send me other methods, I knew it already! Thx in advance!
    Kun Bao

    LSMW
    http://www.sap-img.com/sap-data-migration.htm
    http://www.sapgenie.com/saptech/lsmw.htm
    http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
    http://www.sap.info/public/INT/int/glossary/int/glossaryletter/Word-17643ed1d6d658821_glossary/L#Word-17643ed1d6d658821_glossary
    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
    BAPI
    www.planetsap.com/LIST_ALL_BAPIs.htm
    ALE/ IDOC
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sappoint.com/abap.html
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.allsaplinks.com/idoc_sample.html
    Regards,
    Santosh

Maybe you are looking for

  • Video/Audio not in Sync?

    Hello Normally I would record the gameplay using a capture card Record facecam using a webcam and a mic (already sync in Movie Maker) Bring the 2 file on premiere Do some editing (most of the times pretty heavy) Render and Upload. Today, out of no re

  • Reports showing difference in actual amount postings in a WBS

    Dear Consultants I have an unusal scenario, using T Code S_ALR_87013558, in this report the actual amount which is shown infront is different from the amount showing inside i.e if I see the detail transaction wise amount, apart from AA document type.

  • A graphic improvement in v2

    The Apple TV can display PNG files as well as JPG files. As you know, one of the best features of the box is its screensaver, so when you play music, photos can beautifully float around the screen. I used the feature before to add some floating graph

  • Reservation is created for item category N

    Hi friends, While attaching the material to activity in Cj20n, Reservation is created for that material but the thing is that it ia a non stock material and also I done default item category as N (non stock item) in T.ID OPS8 and attached it to netwo

  • Reset ipad1 to factory settings but cannot update to ios 5?  any ideas please

    Reset ipad 1 to factory settings and want to update to ios5 but doesn't appear possible?  Can anyone help please?