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

Similar Messages

  • Merchandise category Hierarchy

    All ,
    I want to create the merchandise category Hierarchy for the TCode WG21.
    I would like to know is there any FM,BAPI or Idocs for creating this .
    Your inputs will be higly appreciated .
    Regards,
    Vijay.

    please post this in BW Business Explorer forum
    Regards
    Raja

  • Merchandise Category Hierarchy level wise Condition Tables.

    Hi,
         I'm faced with a requirement where I have to maintain Condition table Merchandise Category Hierarchy level wise. Is it possible? Can anyone throw light on the subject.
    Regards

    Hi,
    Have u assigned fields, in the access sequence. U can find two tabs in access sequence, accesses and fields, in the tab access u maintain all the tables according to ur requirement. after that u have to select fields option press enter repeatedly for the field assignment of the selected fields. i think ur problem will be resolved once u complete this.
    Regs,
    Ravi Duggirala

  • Purchase order upload using LSMW

    Hi
    Can we use Basic type ORDERS05 in the IDOC method to upload purchase order using LSMW.
    This also can achieved using business object BUS2012 and basic type PORDCR05.
    Just wanted to what would be the difference between these two methods and possibliity of PO using basic type ORDERS05 using Idoc method.
    Regards
    Raj
    Edited by: Rajitha1234 on Jan 28, 2011 6:55 AM
    Edited by: Rajitha1234 on Jan 28, 2011 6:56 AM

    Hai
    Check with the following
    Select fifth Radio button then follow the bellow step
    <b>5) select radio-Button 5 and execute
       Maintain Field Mapping and Conversion Rules
       Select the Tcode and click on Rule button there you   will select constant
       and press continue button
       give Transaction Code : ME21 and press Enter</b>
    Thanks & regards
    Sreenivasulu P

  • PO upload using LSMW

    I am working on PO Upload. Initially I thought of going for LSMW but I come across various hurdles like different number of line items, updating different header texts and updating item header texts.
    Please advice is it possible to do that in LSMW using recording or am I supposed to use LSMW using FM.
    If you have an alternative please furnish with details.
    -Mohan
    Useful answer deserves POINT!!!!!

    >
    Mohankumar Rajendran wrote:
    > Useful answer deserves POINT!!!!!
    Don't violate forum rules with such statements
    SEARCH in SCN for this bapi BAPI_PO_CREATE1, you will get lot of posts.

  • CA01 Upload using LSMW

    Hi
    Iam uploading CA01 data using LSMW using the Standard Direct Input Method where my object-0170 & method-0002.
    In the  "Define Source Structures" step,
    the HEADER is defined first,
    then the DETAIL below the HEADER.
    the fields are added to the structures.
    I maintained two flat files, one for Header Data and one for Item Data
    There is a common field named 'key' in both the files
    but only header data was written after reading
    can any one give me the steps regarding this
    Thanks in advance

    You defined 2 structures in step 'Maintain Source Structures' ?

  • FB01 upload using LSMW

    Hi
    Iam uploading FB01 data using LSMW.
    I maintained two files, one for Header Data and one for Item Data
    but only header data was written after reading
    can any one give me the steps regarding this
    Thanka in advance
    venkat

    Hi,
    LSMW will have a Indocator for headr and itam, i do not remember the correct field, but it will have an indicator, check the fields, there will be a single charecter lenght field, that should be the indicator, and using that we can write the logic.
    check that single charecter field, it that is X that means the header record is processed, and do the items.
    and, this is another way, try this out also
    YOu can do this in "Define Source Structures" step,
    the HEADER is defined first,
    then the DETAIL below the HEADER.
    add the fields to the structures.
    Both should have some common key field
    Please take care that the name of the common field is the same.
    Once you do this it is linked. The you have a header and item corresponding to that header. then run the LSMW as you would.
    Regards
    Sudheer

  • IBAN upload using LSMW

    Hi All,
    We have a requirement to upload IBAN details of vendors using FK02 using LSMW. Also the vendors which does not have bank details we need to add them.
    Can you let me know how to achieve this?
    -- Syed Abid Hussain

    Dude,
    Remember if IBAN is entered with out bank account number then where ever bank account is blank with the same bank key system will update same IBAN every where...
    Do the following steps;
    First; Maintain Bank accout number for all those vendor where it is missing once it is done then do the step two..
    Two; Update IBAN using t.code FIBAN (Table TIBAN) instead of loading thru FK02 as IBAN has no reletion with vendor number instead with Bank account number (Although you can update IBAN from FK02 its up to you) but FIBAN is easy and it is a matter of copy / paste only with the right bank account number and bank keys etc etc.....
    I would strongly recommend you to make the Bank account field mandatory in vendor master data to avoid any Discrepancy in future as stated above......
    Cheers,
    Guest

  • 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

  • Need to upload using lsmw

    hi,
    LSMW it's only navigation part for direct/batch input method. So why do abapers do the LSMW to upload?
    regards
    raghu

    Hi raghu,
    good question...
    If you are using LSMW to upload inventory, you need to understand that there must be an inventory tcode that must first be chekced to ensure all the fields are well captured. For example, if you are uploading Vendor Master record, you need check FK01 with the data given to you by the functional team and advise them if the data does not conform with what you have in the transaction fields.
    Most times, the functional team are so oblivious of what exact data should be supplied. Please do not hesitate to ask questions. If you need further help on how to upload using LSWM, do not hesitate to let me know
    thanks
    karthik

  • Infotype mass upload using LSMW

    Hi Experts,
    I want to update HR  info types using LSMW in mass.
    Infotypes needs to be selected dynamically depending upon action type and action reason.
    Can any one pls guide me which method to use in LSMW.
    With regards,
    Chandrasekhar.C

    Although you wish LSMW works thats way..it doesnt. As you know LSMW is nothing but a mere a recording, you will have to have 1 recording each for each action type.
    you practically have to perform that each action once, record it and then use it to upload data for that action type.
    so record separately every action for which you want. and coming to infotypes, dynamically picking is nothing but configuring you Infogroup (V_T588D) for that specific action. This anyway you have to configure to run actions from pa40.
    so when you are performing LSMW recording of PA40 , and select you action, the infogroup will run you through all the infotypes configured in that infogroup of that action.
    i hope it answers ur query..else revert back.

  • Profit Center upload using LSMW

    Hello,
    I have created a LSMW project for profit center upload using the BAPI methodology, BUS0015(Profit center)/CREATE(method)
    PROFITCENTER_CREATE(message type)
    PROFITCENTER_CREATE01(basic type)
    The Idoc inbound seeting are set as follows :
    File port              DX_PORT_00
    Partn.Type             US
    Partner no.            LSMW_PAR00
    Message Type           PROFITCENTER_CREATE
    Process code           BAPI
    When I run the data file in, the Idocs are created successfully in status 53, but I do not see the actual profit center when I go to KE53. We are on ECC 5.0
    Thanks in advance.

    Dear all,
    We are on ECC 6.0 and trying using the same configuration for loading profit center.
    Unfortunately, we received error message in the step of IDoc generation and we found that the message type and basic type got truncated as 'PROFIT' and 'PROFITCE' respectively.  But we could still see the correct info at the step of 'Display converted data' which is a step just before generation.
    Have you guys had the same problem previously?  Do you know what went wrong?
    Cheers,
    Ivan

  • Material Classification Upload using LSMW

    Hi SAP Experts,
    We are thinking of using LSMW as a means to upload our material master data for the classification view. How is this done?
    Can we use LSMW to upload materials with many class assignments with multiple characteristics?
    Ex. Material A is assigned to class X and class Y. Class X has characteristics 1, 2, and 3. Class Y has characteristics 4, 5, and 6.
    Would appreciate a swift response.
    Thanks in advance!

    Hi All,
        If it is the existing material you need to modify the Classification type. It can be done by BDC. If you instruct the ABAP team they will make it & give. I am not sure about modifying classification type using LSMW. If you need to create a new material master data with classification using LSMW i will give the steps.
    Check out this link for LSMW Steps:
    www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc
    Reward if useful.
    pherasath

  • Excel file upload using LSMW

    HI all,
    Is it possible to upload excel file using LSMW method?
    If it is? Plz tell me the process ASAP.
    Thanks & regards,
    Srini

    Hi,
    It's no possible to upload directly Excel file in LSMW.
    You must transform to an flat File.
    There are 6 delimiters
    - No Separator
    - Tabulator
    - Semi-Colon
    - Comma
    - Blanks
    - Others
    Rgds

  • HR data upload using LSMW

    Hi All
    I am using LSMW to upload the HR master data. The infotype data that is loaded include the basic infotypes like 0000, 0001, 0002, 0007, 0014 and 0019 (monitoring of tasks). I am using recording method. I can record all infotypes till 0014 in single shot and the recording gets saved at the end of 0014 and gets back to LSMW step. I need 0019 infotype recording also. For this what should I do? How should I record it? Can I record this individually and attach to the above recording? Please help.
    Thanks
    Shakir

    Hi,
    What we do during data convertion is creating each recording separately. I don't think the customer will provide you one data file with all ITs information. Providing he/she has to extract data from his/her system it is likely that you get separeted files. Pelase ensure it won't be this way.
    Moreover this approach is less error-prone. Image that you are missing some configuration for one of the infotype, which is in the middle (lets say 4th in the row out of 10). Everything would load correctly till it reaches this "unlucky" infotype. Then the record has status of not loaded. The rest would be skipped and you have missing data. Now you need to start reloading from this wrong infotype to the end. But how about these already loaded? Would you delete the records to avoid duplicating?
    That's why I am really encouraging you to take each IT separately approach. It is better to spend some time preparing data files then loosing your nerves when investingating what's in and what's not yet in the system, in case an error occurs.
    Regards
    Marcin

Maybe you are looking for