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/

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

  • 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

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

  • 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

  • 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

  • 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

  • Vk11 pricing conditions for LSMW  IDOC method...

    Hi Guru's,
    I am working on LSMW Idoc method. For Pricng conditions
    i am using Message type  'COND_A'  and basic type 'COND_A04'  .
    when we execute 14th step Idoc generation. I am Facing some problem like its displaying information message
           ' Partner type does not exist with the name ,'TYPE'.
      like this iam facing some problem.
    I already created partner profile in we20  clearly..
    This is the different requireent ,i never faced this problem earlier.
    Can any body help me in this regard.
    Regards
    Jayan Jalla,

    Hi,
    Activate the indbound settings in the LSMW by pressing the button
    'Activate Idoc Inbound Processing'.
    Regards,
    Shan

  • Unicode error in LSMW IDOC method

    Hi Experts,
    Iam using IDOC method to create material master. I am uploading the material master views seperately. When I convert the file and process it in LSMW, system gives me the message, the converted file can not be processed. The reason system display for the same is the idoc table passes the value EDI_DC40U instead of EDI_DC40.
    But this is happening only for a single file and this is not a uni code file. I checked the port also. No where its flagged as uni code system.
    Please help me
    Regards
    Prathib

    Hi Sushanth
    To use IDOC method.
    You should create Partner profile.
    Pls create the same using WE20 transaction.
    After creating the same, you need to assign them in LSMW
    You can assign the same using  LSMW->SETTINGS->IDOC INBOUND PROCESSING
    Pls let me know, if you need further help on the same
    Regards
    Madhan Doraikannan

  • Problem in lsmw idoc method

    Hi all,
    iam uploading material master data(MATMAS) using Idoc method, iam getting the
    I doc status as 51(i.e document is not posted) when i checked the error it is giving the error as material number is not entered ........
    can any one help on this.
    regards,
    rams

    Check the converted data in LSMW. if material no. is not getting populated.. go to conversion program (LSMW--> go to-user menu -- display conversion program) and set a break point while populating IDoc data and check what's going wrong. and rectify the problem...

  • Application logs for log handling in lsmw idoc method

    Hi Abapers,
          Im using LSMW IDOC method for data transfer from legacy to sap system.Now the requirement is to handle application logs for log handling i.e i have to make use of custom report to handle logs,can any one tell me what all steps to be done for this or if any one can share a link related to application logs would be greatly appreciated.
    Thanks.
    Edited by: saeed.abap on Dec 27, 2011 5:13 PM

    Hi Saeed,
    Please check with this fms
    1) BAL_DSP_LOG_DISPLA
    2) APPL_LOG_READ_DB
    3) IDOC_GET_MESSAGE_ATTRIBUTE
    There is a wiki [Error Log Lsmw|http://wiki.sdn.sap.com/wiki/display/Snippets/ErrorLogProgramforBAPIandIDocMethodin+LSMW] available.
    Regards,
    Madhu.
    Edited by: madhurao123 on Dec 28, 2011 8:25 AM

  • LSMW - Idoc method  - Urgent ??

    Hi,
    What is "Allow structure assignment to EDIDC40" ? on the object attributes maintenance screen (step 1) in the LSMW Idoc inbound processing.
    we are using CRM 5.0 to test the BP creation with the help of IDOC methods.
    any inputs or step by step IDOC BP creation guide/document will be highly appreciated and rewarded.
    you can mail the IDOC step by step doc to [email protected]
    Thanks
    SK

    Hello,
    normally the control structure EDIDC40 is filled automatically by LSMW. In some special cases you may want to defined your own mapping rules. In these cases you can set the flag and will then see EDIDC40 in the step where you do the fieldmapping.
    I would suggest not to set the flag unless you really urgently need to adopt rules
    for the IDoc control structure.
    Regards, Katja

Maybe you are looking for

  • Delivery cannot be created (only 0 qty of material available )

    Hello All, I have created a sales order for material A on plant B for  one qty. The delivery date is 29.12.10 but the system has confirmed the schedule line with a delivery date of 3.1.11. The material availibilty date is  28.12.10. But when I create

  • Line Item text diplay for different wage components

    Hi Experts, My Client wants the exact narration (Monthwise) in line item text for the salary components which are posted to accounts. If I am using FB03 then the system is allowing me to maintain it manually, but it's not possible for headwise differ

  • Problem with collection in cursor

    hi , oracle srvr : 10.2.0.1.0 when I'm executing the following declare type i_values is varray(20000) of employee_details%rowtype; s_values i_values :=i_values(); cursor c1 is select * from employee_details where rownum < 11; begin loop begin fetch c

  • Set Minimum amount for non LVA  Asset Class

    Dear all, Is it possible to set a minimum amount for asset classes other LVA asset class? Thanks & regards.

  • Itunes shuts down halfway through syncing

    I start Itunes and plug in my itouch and it starts syncing all the way to "Backing up" ipod. Then an error message pops up and says itunes has to shut down.