Data Migration-LSMW using IDoc Method

Hi Friends,
I have contract relevant information in the form of a excel spreadsheet/tab delimited flat file.
This transactional data has information such as Header Data, Item Data and Sub Item data (BOM explosion).
I need to migrate this data from the flat file to the CRM application using the IDoc Method of LSMW.
/When I used the Batch Input Recording method, the item data was not captured during recording./
Kindly send me relevant information to [email protected]
Thanks in Anticipation
rgards,
Praveen

Hello Sven,
thanks for your comment. Unfortunatelly those both transactions do not exitst because I work on SAP CRM 7.0 instead of SAP ECC. I also looked for similar transactions in the table but didn't find anything.

Similar Messages

  • Steps to migrate lsmw using Idocs

    hello i need to migrate lsmw using idocs ?can anybody please tell me the ateps in idoc method
    It's very urgent , help  plz.
    Thanks in Advance
    jdkumar

    goto--> lsmw.
    settings--->idoc inbound processing
    here enter file port, trfc port, partner name.
    then follow below steps(as suggested above by a frnd)
    Project : 060_BUS_TRANS
    Subproject : SERVICE_TICKET
    Object : SRV_TICKET_ZSVT
    click on the execute button .you will reach the screen :
    The screen shows the 15 steps to Run the lsmw
    Step 2) select the first step ( Maintain object attributes) and click the execute button.After clicking on the execute button you will reach at. the screen
    Here you have to specify ( Message type and basic type)
    click on the BACK button
    Step 3) select the 2nd step ( Maintain source structures) and click the execute button
    Here you have to specify the source structures.
    Step 4) Select the 3rd step ( Maintain source fields) and click on the execute button :
    Here you have to specify the fields present in the source structure
    Step 5) select the 4th step ( Maintain structure relationship ) and click on the execute button :
    Here you have to specify relationship between source and target structures
    Step 6) select the 5th step ( Maintain field mapping ) and click on the exécute button :
    Here you have to map the fields between source and target structure. Also you have to apply conversion rules here if any
    STEP 7) select the 6th step and click on the exécute button
    Here you can define any fixed value or user define routines
    Step 8) select the 7th step ( Specify files) and click on the exécute button :
    At This screen we have to specify the files for This we should be in change mode .So please click on the button shown in the above screen. After clicking on This button you will be in change mode and will be able to specify the files :
    Step 9) select the 8th step ( Assign files) and click on the exécute button
    For assigning files yoy should be in change mode do the same thing click on the button as shown in the above screen :
    Then assign the files to different structures.
    Step 10 ) select the 9th step ( Read Data) and click on the exécute button :
    After clicking on the exécute button you will reach to the screen
    Again click on the exécute button . After clicking on the exécute button you will reach to the next screen
    Here you will see data is read.
    Step 11) select the 10th step ( Display read data) and click on the exécute button :
    Here you can see your test data present in test files assign to source sturcture
    Step 12 ) select the 11th step ( Convert data) and click on the exécute button :
    After clicking on the exécute button you will reach to the screen
    Click on the exécute button as shown on the : After click on the exécute button you will reach to the next screen
    Data is converted
    Step 12th ( Display converted data is same as Display read data )
    Step 13 ) select the 13th step ( Start idoc generation) and click on the exécute
    button :
    At this step Idoc is generated using converted data
    Step 14) select the 14th step ( Start idoc processing ) and click on the exécute button :
    After clicking on the exécute button you will reach to the screen :
    And then click on the exécute button : After clicking on the exécute button you will reach to the final processive screen
    If data is processed correctly you will see ( 53 Status message with green sign

  • Requesting all to help me how to create lsmw using idoc method

    hi
    thanx for ur answer
    requesting every body in the forum to help me how to create lsmw using idoc method.
    regards,
    balaji

    Hi Balaji,
    LSMW using IDOC is similar to using flat file method. Here you are getting data from IDOC container and mapping data with Idoc segments insted of flatfile column.
    Hope this is what you are looking for. If helpful then don’t forget to reward me for that
    Darshan

  • LSMW using IDoc Method *Error :No partner exists with the name '', type ''*

    Hi All,
    I am a newbie. I am trying LSMW using IDoc Method.
    I got an error when i executed Start IDoc Generation step: No partner exists with the name '', type ''
    Could anyone tell what wrong I might have done,
    Thank you,
    Shiv Ram

    Hi,
    You have to setup your IDoc configuration in LSMW:
    1) Enter the menu \Settings\IDoc Inbound Processing
    2) Create a FILE port by clicking "Maintain Ports"
    3) Create a logical system (LS) partner number by clicking "Maintain Partner Numbers"
    4) Be sure your partner profile that you create is "Active" by clicking "Classification"
    5) In the end click "Activate IDoc Inbound Processing" bottom.
    Run your LSMW again. This time it shoud run wothout any problem.
    Hope it helps.
    Chang

  • Working on LSMW using IDoc method for processing Open Sales Orders

    We are currently in middle of creation of a new instance of production for a different Business SBU. We are looking to utilise the LSMW tool using IDocs for uploading / transferring the open orders to the new box. If some one has worked on LSMW using IDocs, please get in touch and if you could share any documents on the process of utilising the LSMW tool using Idocs for any kind of conversions, it would be great. The following is a sample case.
    1. Each order will have multiple segments with different qualifiers under various segments.
    2. Multiple line items would be available under each order.
    Issues we are currently looking to solve :
    1. How do you manage to loop through the qualifiers during processing for the same segment.
    2. How do you prepare the tool to recognise the multiple line items of the same order.
    3. What kind of strategy needs to be used to create the input data file(s). Like, splitting the header and detail level information ?
    Note  : The volume of data we are looking at is somewhere around 40-60 thousand orders worldwide.
    Thanks in Advance.

    hI vikram check this link
    and reward points if helpful
    http://www.****************/Tutorials/LSMW/IDocMethod/IDocMethod1.htm
    http://www.jt77.com/system-dynamics/model-01395.html

  • Master data upload via LSMW using IDoc method

    Dear all,
    I know this has been a topic of many discussions but I would like to ask you is to share your thoughts and possibly experience with the following scenario:
    Interface between non-SAP system and SAP system has to be built whereby master data gets created in the non-SAP system and has to be uploaded into SAP. This is a process that needs to be performed on a constant basis and hence my question: is there a way that the MD upload takes place in the background via LSMW with IDoc? Or any other way, for instance, with a flat file, etc.?
    Thank you very much for your input!
    Regards,
    Miro

    Miro - It depends upon many factors
    1. Number of source systems
    2. Volumn of recorsds ( Data to be loaded)
    3. Transformation needed or not needed from S to D ( source to destination), We may consider it as
        business rules/mapping
    Based on above you may segrigate the objects related to data, eventually you can shoose approach of loading in SAP,
    As if straigt forward load for some 20k-30K records ( Just a file load on regular basis), one to one mapping then go for LSMW, if some complex transformation logic needed then go SAP data services implementation. best part here is if you multiple sources that can be handeled here.
    Accordingly you can proceed ...
    Hope it helps.
    Best !
    Deep

  • LSMW using IDOC method

    Hi
    I am working on LSMW-IDOC . I am very new to this .
    I am trying to upload open purchase order throgh LSMW IDOC.
    Can anyone send me the steps for the LSMW-IDOC method.
    I wanted to pass header , item position & delivery schedule & item category data.
    How to pass header , item, delivery data. is it pass in different file or it can pass in one file.
    As whatever sample file I got It is only one excel file consist of all data.
    Plz. help me & guide me .
    This is urgent.

    hI vikram check this link
    and reward points if helpful
    http://www.****************/Tutorials/LSMW/IDocMethod/IDocMethod1.htm
    http://www.jt77.com/system-dynamics/model-01395.html

  • LSMW using IDOC method for scheduling agreement - MM

    I am using LSMW IDOC method to create Scheduling agreement. i am using message type : PURSAG_CREATE. I have completed the field mapping and when i tried to process the idoc i am getting the following error.
    No instance of object type PurchSchedAgreement has been created. External reference: # 1
    There are no clue why this error is popping up.
    please let me know if anyone faced similar issues.

    try entering the values in WE19 and do the posting for teting purpose, make sure you are passing all the values.

  • LSMW using IDOC method for scheduling agreement

    I am using LSMW IDOC method to create Scheduling agreement. i am using message type : PURSAG_CREATE. I have completed the field mapping and when i tried to process the idoc i am getting the following error.
    No instance of object type PurchSchedAgreement has been created. External reference: # 1
    There are no clue why this error is popping up.
    please let me know if anyone faced similar issues.

    Are you using external number range for scheduling agreement, then you have to pass the SA number too if not then check with your MM functional consultant to change the number range from external to internal provided it is agreed by your customer

  • Lsmw via idoc method

    Hi
    Experts can u let me know the settings to be made while updating the data in lsmw via idoc method.....
    thanks in advance

    hi,
    check this one
    http://esnips.com/doc/1cd73c19-4263-42a4-9d6f-ac5487b0ebcb/LSMW-with-Idocs.ppt
    steps for LSMW: detail documnets: http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc

  • How to resolve error while importing data using IDoc method in LSMW ?

    Hi
    I am trying to import my data using IDoc method in LSMW.
    But after completing the whole LSMW process, when I look into the IDOC generated, the error description is as this.
    It talks about the process code and other stuff.
    Function module not allowed : APPL_IDOC_INPUTI
    Message No. B1252
    Diagnosis :
    The function module APPL_IDOC_INPUTI and the application object type which were determined are not valid for this IDoc.
    I am not able to resolve the problem.
    Please help.
    Regards,
    Rachesh Nambiar

    check the below link.
    /people/stephen.johannes/blog/2005/08/18/external-data-loads-for-crm-40-using-xif-adapter

  • Problem in LSMW using IDOC in convert data step

    Hi,
    I am getting a Run-time error in CONVERT DATA step of LSMW using IDOC. The error diplayed is a syntax error. I am not able to figure out the error. Anybody having idea about this, please help me...
    The data is read successfully.
    Edited by: majualex on Nov 4, 2009 9:23 AM

    Error in the ABAP Application Program
    The current ABAP program "/SAPDMC/SAPLLSMW_OBJ_070" had to be terminated
      because it has
    come across a statement that unfortunately cannot be executed.
    The following syntax error occurred in program "/1CADMC/SAP_LSMW_CONV_00000051
      " in include "/1CADMC/SAP_LSMW_CONV_00000051 " in
    line 25:
    ""." expected after "DATA"."
    I think the pgm is standard ABAP program.....

  • 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

  • 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.

  • Urgent : LSMW using Idocs

    Hi Friends...kindly send me step by step procedure on how to do LSMW using Idocs only. I know how to do LSMW using all other methods other than Idocs. So
    Kindly send me procedure or any good document on LSMW using Idocs. Thanks in advance.

    Hi Satyesh T
    Go through the following Steps for LSMW Using IDoc
    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.
    Thanks & Regards
    Sreeni

Maybe you are looking for