Using LSMW with IDocs to transfer merchandise categories?

Hi, Gurus,
i tried to upload merchandise categories by LSMW with IDocs.
Message Type: CLSMAS
Basis Type: CLSMAS03
The IDocs can be created and processed without problem. However, I cannot see the new Hierarchy Level in Tcode CLWO.
Anyone has done it? Any tipps would be highly appreciated!
Regards
Kefei

hi, Hakim,
unbelievable! I solved the problem.
U cannot imagine, where is the trick. UPPERCASE!!
The class number in the soure structure is written in lower case. They can be writen in SAP and be shown by F4. But they cannot be displayed. SAP says always they do not exsit.
Now, I understand, SAP is so sensible to character.
Thank you for your support!
nice weekend!

Similar Messages

  • LSMW with IDOC Message type COND_A and Basic type COND_A01

    Hi Sap All.
    in my project we using the LSMW with IDOC Message type COND_A and Basic type COND_A01 and now the requirement is to know the list of the tables which will be updated when i do the LSMW Migration with this IDOC Basic type.
    i have tried to know the list of the tables updated by entering into the transaction we30 and looking at the segments E1KOMG,E1KONH, E1KONP,E1KONM,E1KONW  and i found that the following below are the list of tables which gets updated when i populate the data into IDOC Message type COND_A and Basic type COND_A01.
    KOMG,KONH,KONP,KONM,KONW.
    please correct me if iam wrong.
    regards.
    Varma

    Hi Varma,
    The tables mentioned by you definitely get updated, i guess you can add KONV to the list too, but to be a 100% sure, enable SQL trace and process an IDOC. Then you can look for Insert/Modify/Update statements to get a list of the tables that get updated.
    Regards,
    Chen

  • LSMW with Idocs directly created

    Hello,
    I'm using the LSMW with Idocs for the migration of business partners in CRM.
    During the step "convert data" I have the choise to create the Idocs directly (without creating the file first).
    Some days ago everything was well working. But without knowing what I've changed in LSMW, this is no longer possible.
    I get the same screen as when I want to create a file ".conv", but the name of "converted file" is not named. Instead there is a message "no directly creation of Idoc"
    What do I do wrong? What do I have to change?
    Thanks in advance!
    Nicole

    you have to always convert the data after reading the data.
    please check in the specify files section you have given the file name for the converted data in the application server.
    you will not get the option to create idocs directly in the convert data step.
    please let me know if you any more details.
    regards
    vivek
    reward points for all the useful answers

  • How do I use LSMW with a bespoke dataload program?

    Hello data migration gurus, I need your help.
    I need to migrate data from a legacy system into a suite of bespoke functionality we've written within SAP CRM. We are planning to write a program to perform the load. However we would like such a program to be reusable, so it makes sense to keep the data load separate from the data formatting, which may vary between customers.
    The obvious answer is to use LSMW for the data formatting, calling our load program as the last step. However in LSMW you can only choose from a list of standard dataload programs. Does anyone know how to use LSMW with a bespoke program? It looks like transaction SXDA might be involved, but it isn't too clear. If anyone has done this kind of thing elsewhere, advice would be much appreciated!
    Obviously as an alternative we could just write a separate program to format the data - it would just be a lot better if we could use LSMW.

    No longer required.

  • I want to upload material master (MM01) using LSMW with BAPI method

    I want to upload material master (MM01) using LSMW with BAPI method and also later on I may need to change the updated data.
    Which business object and Method I should use so that i can do both.
    Thanks
    kumar n

    Hi,
    The business object is BUS1001.
    Thanks,
    Murali

  • How  to transfer data using Lsmw with Recording...

    hi,
    Please let me know .How to use Lsmw to transfer data using recording.
    Thanks,
    Lawrence.

    Hi Lawrence,
    please go thru this link for LSMW data transfer techniques in PM, MM and SD modules.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90d90895-68dd-2a10-f096-bf8cf2e2f65b
    If u want to know in detail go thru this link
    http://help.sap.com/saphelp_nw04s/helpdata/en/87/f3ae74e68111d1b3ff006094b944c8/frameset.htm
    Hope this will be useful to u..
    Thanks
    Vijayasree

  • 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

  • By using lsmw with bapi

    hi experts,
         by using bapi_po_create, i have to upload the data by using lsmw.please help me.what are the step to upload the data?
                                                         thank you
    with regards,
    rohit

    Refer these links:
    1. BAPI And LSMW and
    2. Getting BAPIs into LSMW?
    Regards,
    Ravi

  • Dump; while using LSMW with RFBIBL00.

    Hi,
    I am using Standard Batch/direct input method.
    Ending up with a dump with the following error message:
    The reason for the exception is:
    The program attempted to interpret the value "/" as a number, but
    since the value contravenes the rules for correct number formats,
    this was not possible.
        IF BBKPF-PROPMANO(1)                 NE NODATA.
         CLEAR: FTPOST-FNAM, FTPOST-FVAL.
          FTPOST-FNAM = 'BKPF-PROPMANO                    '.
          FTPOST-FVAL = BBKPF-PROPMANO                   .
        APPEND FTPOST.
       ENDIF.
    215    >>>   IF BBKPF-VATDATE(1)                  NE NODATA.
          CLEAR: FTPOST-FNAM, FTPOST-FVAL.
          FTPOST-FNAM = 'BKPF-VATDATE                     '.
           FTPOST-FVAL = BBKPF-VATDATE                    .
           APPEND FTPOST.
       ENDIF.
    ENDFORM.
    This code is a part of include program RFBIBL02.
    While i am testing the same project in the sandbox system, it's working fine, as the condition                   
    "IF BBKPF-VATDATE(1) NE NODATA"
    is not there in the program RFBIBL02 (in sandbox system) .
    Is there any way to bypass this condition or any other way to get it resolved?
    Please suggest me a relevant solution.
    Thanks.

    Hi ,
    If u r not passing any value to the date field then no data value will be taken as '/'.
    As date field cannot be given as '/' u r getting the dump.
    Please clear the date field if there is no data. u can give the following piece of code in mapping section of that date field.
    If not aritems-vatdate is initial.
    bbkpf-vatdate = aritems-vatdate.
    else.
    clear bbkpf-vatdate.
    endif.
    this will clear the '/' value if there is no data in date field.
    Reward points if useful.
    Asif

  • Inbound IDoc using LSMW

    Hi..
    I am trying To Upload customer master data using LSMW with IDOc.
    I am debugging the Inbound IDoc Using BD87 and INPUT_METHOD = 'A'
    One segment E1KNB1M data is not passed to transaction 'XD01'  due that my company code data is not updated
    Pls tell me how to pass segment E1KNB1M data to transaction.
    I am using Message type :  /SAPSLL/DEBMAS_SLL
               Idoc type    :  Debmas03
            Function Module  : IDOC_INPUT_DEBITOR

    Hi Rishi,
         Thanks for the document. But the document mainly concentrates on LSMW(I'm aware of generic LSMW with BDC), it doesn't explain the inbound IDoc, segment merging, Creation of partner function or Message and Basic types WRT inbound IDoc. Please send any document with that relevance.
    Kiran

  • Transaction Upload using LSMW

    HI,
    We are using LSMW with IDocs for uploading transaction data into our CRM system.The IDoc type is CRMXIF_ORDER_SAVE_M02 and the message type is CRMXIF_ORDER_SAVE_M.
    The IDoc is getting created successfully with status 53(Application document posted) but the transaction is not getting created in the system.
    The port being used is of type 'FILE' and the partner profile being used is of type 'US'.
    Can anyone please let us know if any further settings are to be made for the transaction to get created.
    Thanks and regards,
    Vijaya Sai.
    Message was edited by:
            Vijayasai Veerubhotla

    Hi Vijay,
    Hope you remember me.
    The Idoc that gets created, does it have any other messages? The message 53 means that the Idoc processing has called the order framework and that the Idoc mapping was successful. So there are no errors in the loading of the document but the issue is with the order application itself. Ideally the Idoc will also contain messages which give information with regards to whether the orders application successfully processed the Idoc data or not.
    Cheers
    Binai

  • Merchandise category & hierarchy upload using LSMW???

    Hi
    I am trying to upload Merchandise category and hierarcy using LSMW (BAPI/IDOC method only).
    For merhcandise category
    I used message type W_WGRP and it is helping me in changing or reclassification of articles. But I am not able to create new merchandise category with this. I used structure E1BPE1WGR01  with "function" field with value "005, LSMW is working fine idocs are created successfully but no new Merc Cat is created.
    When I used same structure with "function" field with value "009" I get error message "Class XXX does not exist or or is not valid on this date".
    For Merchandise Catrgory Hierarchy
    I used idoc CLSMAS but getting error message "Keyword missing for class XXX"
    has anybody uploded entire hierarchy structure using LSMW ?

    Sorry to say, but your problem is not resolved.
    In IS-Retail, a merchandise category must first be created as a class (CLSMAS) and then also as a merchandise category (W_WGRP).  Yes, you must process two IDoc per merchandise category, and in that order.
    To understand how to load data using LSMW, the best approach to watch what the system does naturally.  In this case, use T-Code WGSE to send the merchandise category hierarchy via ALE from one system-client to another.  For understanding, you needn't configure the entire ALE scenario, just the outbound portion.  Then watch the outbound IDocs be created; there's your example!
    For merchandise category hierarchy (including merchandise categories), there are four message types that will be sent: W_WGRP, CHRMAS, CLFMAS, and CLSMAS. 
    IDoc Serialization using message types (serialization groups) is used when several different message types are dependent on each other, as is the case here. For example, if a merchandise category is assigned to a merchandise category hierarchy level, the merchandise category hierarchy level must first exist.  How you use LSMW and IDocs is informed by the sequence.
    To understand the IDoc sequence for creating the merchandise category hierarchy (including merchandise categories), use T-Code BD44 to view the Serialization Group GRP_W_WGRP includes the 4 desired message types in sequence:
    CHRMAS04 Distr. of Characteristics with Dependencies and Long Texts
    CLFMAS02 Master object classification
    CLSMAS04 Classes with Long Texts, Document Links, and E1UPSLINK
    W_WGRP01 Distribution of material groups
    CHRMAS04 is only relevant of Characteristics are being assigned to merchandise categories.  Let us leave Characteristics aside for now.
    Step 1:  Create Merchandise Category Hierarchy Nodes
    Step 2:  Merchandise Categories - Create as a Class
    Step 3:  Merchandise Categories - Change as a Retail MC
    Step 4:  Merchandise Categories - Assign Category Hierarchy Nodes each other, and assign MC class to MCH node.
    For this, use these messages:
    Step 1:  CLSMAS04
    Step 2:  CLSMAS04
    Step 3:  W_WGRP01
    Step 4:  CLFMAS02
    - Paul
    Paul R. Gendreau, Jr.
    SAP Retail

  • Data transfer with IDoc

    Hi All,
    Can any one please explain me about "Data transfer with IDoc".

    Dear Prasad,
    Using the IDoc option , you will not have a staging in BW like PSA were you can do corrections if required,
    We can use IDOC option when we are very sure that data we are loading is error free,
    and in older versions we are forced to use only IDOC option when doing hierarchy loads and its ruled out now,
    Data transfer with IDoc
    The data is packed into IDocs by the source system and sent to the Business Information Warehouse. In BW your data is saved persistently and intransparently in the IDoc store. From there the IDocs can be updated in the IDocs manually or automatically.
    It is used for hierarchies load Limitations with IDoc is:
    transfer structure must not have more than 1000 Bytes in the character format.
    If it is a critical data we can use IDocs it can't be modified here. In case the load fails we need to load data from source system.
    http://help.sap.com/saphelp_nw04/helpdata/en/7d/724d3caa70ea6fe10000000a114084/frameset.htm
    Hope this helps u..
    Best Regards,
    VVenkat.
    Edited by: Venkata Narayana Jakkampudi on Dec 23, 2008 12:03 PM

  • Creating Inbound IDoc Using LSMW

    How to create the inbound IDoc using LSMWu2026
    For example
    Input is Flat filesu2026.
    I created custom IDoc with header and items
    Structure looks
    Header 1
      Item 1
      Item 2
    Header 2
      Item 3
      Item 4
    Header 3
      Item 4
      Item 5
    u2026u2026.
    u2026u2026.
    u2026u2026..
    Do I need to create different flat files (item level & Header level) as input while creating IDoc using LSMW ??
    Can some one guide me on thisu2026with best way to create IDoc using LSMW with flat fileu2026.
    Ramesh

    can you please help me ... how input file to LSMS looks ..Sample file is helpful...
    My Structure
    E1EDK01    < Header Data    
    E1EDK14    < Header Data
    E1EDK14    < Header Data
    E1J3K03     < Header Data
    E1EDK05    < Header Data
    E1EDK05    < Header Data
    E1EDKA1    < Header Data
    E1EDKA1    < Header Data
    E1J3P01      < Header Data
         E1J3AIM     < Item Data
         E1EDP20     < Item Data
    E1J3P01      < Header Data
         E1J3AIM       < Item Data
         E1EDP20      < Item Data
    Header had 3 segement E1EDK14   E1EDK05  & E1EDKA1 repeating twice.... i am facing prolem with this
    What Structure format i used for above segement in LSMW and what file format i should use..for input to LSMW...
    Edited by: Ramesh on Mar 25, 2009 1:26 AM
    Edited by: Ramesh on Mar 25, 2009 1:41 AM
    Edited by: Ramesh on Mar 25, 2009 1:44 AM

  • Business Partner Conversion using LSMW IDOC

    Hi Experts,
           I need a serious suggestion.
    I am planning to do my Business Partner master data conversions using LSMW method IDOC CRMXIF_PARTNER_SAVE_M03. Is this is right choice or best practice?
    During Coversions how do we do error handling or reporting. For example i have uploaded 10k BP's. if there 1k errors how do you report. I think it is tough to check each and every idoc status and message.
    Thanks guys.

    Hi Experts,
           I need a serious suggestion.
    I am planning to do my Business Partner master data conversions using LSMW method IDOC CRMXIF_PARTNER_SAVE_M03. Is this is right choice or best practice?
    During Coversions how do we do error handling or reporting. For example i have uploaded 10k BP's. if there 1k errors how do you report. I think it is tough to check each and every idoc status and message.
    Thanks guys.

Maybe you are looking for

  • Change slideshow size in Fireworks

    hi every body i have created an slideshow with Fireworks, and i have 2 questions: 1: how can i change the dimention of slide show box? it is too small for me. 2: when i click on a photo it will be opened in another window but it is still small, how c

  • I by mistake deleted my Mac App store. How to get it back?

    I deleted my Mac App store by mistake. How to get it bak on os x 10.6.8? I tried software update but it did not work. Also, how to update it to latest version of os x

  • Hardware Requirement for SQL Server 2012 Cluster

    Hi All, We are going to share System Requirement document with the customer and one of the technical staff from Customer has request us to provide Microsoft Disk space requirement at least for below 2 section and why? Quorum & MSDTC (Both will be SAN

  • PeerGone Exception while Recieving the message over t3 protocol

    Hallo Every body. I'm having a swing based application which accessing the database through a DataSource on a ManagedServer. I'm recieving more Message length than default given by the Weblogic Server. i've changed the setting to more than that lengt

  • Adobe Interactive Forms and 4.6c

    Hi to all, I have to develop and adobe interactive form within a web dynpro project with SAP WAS 6.40. This interactive form have to call an R/3 system 4.6c (via RFC) to retrieve some datas. My question is: can I use interactive forms with a 4.6c (us