IDOC method in LSMW

how to work on LSMW using IDOC method . can anyone help with an approprite example .
i learnt tht inbound processing is to be done before continuing with lsmw steps but is not sure of tht

Hi Durga,
Please give me your email ID I will send a ppt on the same.
Also, have a look at the following links :
http://www.sapgenie.com/abap/     ABAP Tools -> ABAP utilities area and click on LSMW
http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc
http://sap.ittoolbox.com/documents/popular-q-and-a/using-lsmw-to-import-legacy-data-4046
LSMW IDOC method to upload material master
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
Reward points if it helps.</b>
Regards,
Amit Mishra
Message was edited by: Amit Mishra

Similar Messages

  • 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

  • Regarding Idoc method in LSMW

    Hai All,
                I have gone through the procedure which is mentioned in the **************** for Idoc Method in LSMW.I have configured the steps for Inbound Idoc Processing.
    Port(File) : LSMW (I mentioned physical directory: C:\ and file name:filelsmw)
    Port(TRFC) : LSMWT (rfc destination of type TCP/IP and in that I mentioned program name:rfcexec.exe)
    Partner Profile: LSMW(of type US and mentioned Inbound Parameters here)
    I have gone through all the steps of LSMW.But every time I am getting the status as 51(Application Document Not Posted).
    Can anyone please help me in solving this.
    Message was edited by:
            Namburi Kalpana

    HI
    see this link
    http://www.****************/Tutorials/LSMW/IDocMethod/

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

  • Error while uploading the data Using LSMW - Idoc method

    Hi Experts,
       I am working on LSMW using Idoc method. Till 12th step (Display converted data) i wasn't got any problem. For the Idoc method, I have to specify details to Idoc inbound processing from the menu settings.
    In that screen I have to specify file port, partner type and partner no. I have created a file port ZFILE. Can u tell me what ahould I pass in that screen? Where should be the file i.e in the application server or presentation server? What should be the directory and function  module. Can u provide step by step?
    After that I have to specify partn.type. What should I select for that?
    After that I have to specify partner no. Whether it is inbound or outbound?
    I got No data found for the following detials.
    port - ZFILE
    in the inbound file tab, e:\ as physical directory; EDI_PATH_CREATE_USERNAME as function module.
    Partner type - US
    Parnter no.  - LSMW with the inbound parameters message type - MATMAS and Process code - MATM.
    Please tell me how can I upload properly? Please don't ignore as i am asking same question again becasue I have gone through related threads also. But i didn't find the exact requirement.
    proper documentation will be rewarded.
    Thanks in Advance.
    James.

    Hello,
    I could identify the error. It was due to incorrect UOM. Problem resolved.
    Thanks,
    Madhura

  • Issues in using LSMW IDOC method for Article Hierarchy

    Hi Experts,
    I am working on a scenario for uploading article hierarchy using LSMW idoc method.
    Details:
              Message type WMATGRP
              IDoc type WMATGRP01
    But as per my understanig, for processing, there should be a inbound Function module/Process code. But I am unable to find out any process code for this in tcode WE42/We60.
    Could you please help in this problem.
    Regards
    Krishan Kumar

    Hi Saeed,
    For example if you want t create bom through lsmw then we will *** two files one header and other item one.In the same way .In lsmw start by keeping the idoc method i will only propose at second step how many files it need. Just map the idoc and see. Post if need more help.
    Regards,
    Madhu.

  • Sales Order Creation using LSMW IDOC method.. ( Custome Interface)

    Hi ABAP'rs,
                     Please provide me LSMW steps for creating Sales Order using IDOC method.
                            Thanks and Regards,
                                                  Param.

    LSMW-IDOC in General
    LSMW – Step by Step Guide: Legacy System Migration Workbench is an R/3 Based tool for data transfer from legacy to R/3 for one time or periodic transfer.
    Basic technique is Import data from Spreadsheet / Sequential file, convert from source format to target format and import into R/3 database. LSMW not part of standard R/3, if we need this product email [email protected]
    Advantages of LSMW:
    • Most of the functions are within R/3, hence platform independence.
    • Quality and data consistency due to standard import techniques.
    • Data mapping and conversion rules are reusable across projects.
    • A variety of technical possibilities of data conversion.
    • Generation of the conversion program on the basis of defined rules
    • Interface for data in spreadsheet format.
    • Creation of data migration objects on the basis of recorded transactions.
    • Charge-free for SAP customers and partners.
    Working With LSMW:
    Use TCODE LSMW
    Objects of LSMW:
    •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
    User Guide: Clicking on Enter leads to interactive user guide which displays the Project name, sub project name and object to be created.
    Object type and import techniques:
    • 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 
    Preparations for IDOC inbound processing:
    • 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.
    Steps in creating LSMW Project:
    • Maintain attributes – choose the import method.
    • Maintain source structure/s with or without hierarchical relations. (Header, Detail)
    • 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
    • Maintain relationship between source and target structures.
    • 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.
    • Maintain Fixed values, translations, user defined routines – Here reusable rules can be processed like assigning fixed values, translation definition etc.
    • 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)
    • Assign Files – to defined source structures
    • Read data – Can process all the data or part of data by specifying from / to transaction numbers.
    • Display read data – To verify the input data being read 
    Convert Data – Data conversion happens here, if data conversion program is not up to date, it gets regenerated automatically.
    • Display converted data – To verify the converted data
    Import Data – Based on the object type selected
    • 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
    BAPI / IDOC Technique:
    • 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.
    • IDOC processing
    o IDOCS created are posted to the corresponding application program.
    o Application program checks data and posts in the application database.
    Finally Transport LSMW Projects:
    • 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
    • Presetting for Inbound IDOC processing not transportable.
    Reward if useful.
    regards
    santhosh reddy

  • Vendor Address is not updating in ADRC table by LSMW IDOC method

    Hi,
    I'm updating Vendor address data by LSMW IDoc method
    for this i'm using ADRMAS as msg type and ADRMAS02 as Idoc type.
    In partner profiles Process code given as BAPI for this.
    i maintained entry in TSADOBJ table LFA1 as OBJTYPE,1 as ADDR TYPE,0001 as context,LFA1 as TABLENAME,ADRNR as FIELDNAME, ADRC as TABLE PERS, ADDRNUMBER as FIELD PERS
    Idoc generating sucessfully.
    But data is not updating in database.
    i think the problem in TSADOBJ config.
    Please give exact configuration which can update vendor data.
    Thanks in advance

    be open minded. SAP gives several import methods to load vendors.  one of them is per IDOC.
    But the vendor master IDOC does not automatically create the adress master.
    And even more important, if you migrate data from one SAP system to another, the IDOC method is more straight forward than the batch input, because you can send the IDOCs from legacy system to new system, you will then have a 1:1 relation of the structure in LSMW and you can create vendor masters by knowing the new vendor number from an internal number range already in LSMW, long before you actually post the vendor. With batch input you can either post with numbers from external number range, or you just dont know the new number already in LSMW.
    And you dont need to download the data to Excel. And further, the LFA1 adress data has less information than the ADRC adress data.

  • 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

  • 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

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

  • Document type not defined in lsmw idoc method

    hello  iam posting Open AR Line Items for contract account using message type
    CTRACDOCUMENT_CREATE  using lsmw idoc method .iam getting error as Document type not defined but actually when iam creating document manually item is created with out any error that means it is defined and my functional consultant is also saying he defined document type.can some body explain me what is the  problem.
    Regards
    priya

    Check OMW9, here document type is defined for the transaction MIRO..
    Go to OMW9, click in the Document Type.
    Then double click on MIRO.
    Also check the sap notes which is referred in the similar thread Document type not defined f5814

  • Maintain Structure Relations - LSMW - IDOC method

    Hi,
    Trying to use LSMW Idoc method to upload BP masters.
    Have maintained the ports, partner types, message types etc. When I reach the "Maintain structure relationship" step, I have a very big tree structure under EDI_DC40 when am trying to maintain the structure relationship between the source and the target in LSMW idoc method.
    Do I need to maintain my relationship at all the levels of the tree structure under EDI_DC40 or can I choose the nodes that are relevant and maintain a relationship only for them?
    Is there a short cut or a way where I can maintain relationship for each node under the target strucute EDI_DC40.
    Appreciate your inputs.
    SK

    Hi SK,
    There is no need to maintain EDI_DC40.
    In 'Maintain Structure Relations' step, you just need to create Relationship for the structure you want the information be uploaded in the BP. Mapping of the fields in the structure to your upload file's values will be done in next step. Hope the above helps

  • Issue with LSMW IDOC method

    Hello there,
             I am facing an issue while creating a LSMW using IDOC method. I am creating it for PROFIT CENTER upload. My file is having the data as, there can be multiple company codes for one profit center, so my file will have more than one record for single profit center. I have to create only one IDOC per profit center, so I have to create multiple segments in that IDOC for different company codes.
             I am not sure how to create multiple segments using LSMW. It will be very helpful, if anyone can tell me how to do it.
    Thanks,
    Ganesh Khumse

    Hello Ganesh,
    I assume that you are using the IDoc Type PRCMAS02 for the creation of Profit Centers along with Company Code assignment.
    In order to be able to extend the Profit Center for Multiple Company Codes, please segregate the source structures into Profit center general data and company code data...along with respective source fields.
    In the structure relations, assign the Profit Center General data to the Idoc segments E1KEPCM & E1KEPCT. Then assign the Company Code data to the segment E1KEPCB.
    The input file layout expected will be something similar to the below layout...
    PCHEAD1
    - CCODE1
    - CCODE2
    PCHEAD2
    - CCODE1
    - CCODE2
    Hope this info resolves your problem.
    Pls reward if this answers your query.
    With Regards
    Vijay Gajavalli

  • Error with LSMW IDOC method while maintaining Quota arrangement

    Hi
    I am trying to create LSMW using IDOC method for maintaining quota Arrangment.
    I used the standard Message type LPIEQU. Idoc is getting generated and when i tried to process this IDOC i am getting error "Function module not allowed: BAPI_IDOC_INPUT1".
    I used the process code as "BAPI" in message type LPIEQU configuration in WE20.
    If anyone faced this issue please let me know the reason for the error.
    sakthi.K

    see OSS Note 198252 - Special features of POI message category LOI*
    The message categories named are part of the POI (Production Optimization interface) interface.This interface and the message categories contained in it were developed for the transfer to non-R/3 systems.Therefore, an inbound processing in the R/3 system is not planned.

Maybe you are looking for

  • Dispatcher stopped when starting up instance

    Hi Please help me been trying to look for a solution to this problem. trc file: "dev_disp", trc level: 1, release: "700" sysno      01 sid        SRM systemid   560 (PC with Windows NT) relno      7000 patchlevel 0 patchno    41 intno      20050900 m

  • DW MX 04 Database Controls won't work

    This is the first job I have had working with database app. My data base has been built. I can see all my tables in the database window of DW. So I have a connection. Forms were made on asp.net c# files. I insert an ASP.NET object from the insert men

  • Zen Xtra 60GB error c

    I have problem with creative zen xtra 60GB. i cannot copy music and data from and to player. i try everything what i could. I try clean up, reload os, update even format all. Nothing helped i still cannot copy. Please help me

  • IPad not updating BOOKS in iTunes

    When I "delete" books from my iPad and then resync, they show back up - it seems as if the ones I'm deleting do NOT update iTunes.  Is anyone else experiencing this issue, and if so, has anyone found out how to correct this?

  • Authorization troubles

    When I try to authorize my iTunes purchases on my Macbook Pro, I get an error message that reads: "There was an error storing your authorization information on this computer. The required directory was not found or has a permissions error." I have ne