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

Similar Messages

  • 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

  • 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

  • Table link between merchandise category & hierarchy level

    Hi,
         i want to know the table link between merchandise category(MATKL) & Hierarchy level (CLASS).It would b better if i can get the link between material code & Hierarchy Level (CLASS) .
    If u hav any idea please let me knw.

    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

  • Merchandise Category hierarchy - how do you connect them?

    Hello all:
    I am creating an assignment to do with my MBAs this Saturday and I have hit a stumbling block.
    I am not sure it is my understanding on the SAP concepts or my not clicking the right thing!!!
    So here is my scenario. : 
    MC level  nonfood
                    MC level Drugstore
                                    MC level Beauty
                                                    Mcategory Soap
    So I have each of these created and I can assign the merchandise category Soap to the MC level Beauty.  I cannot assign any additional levels to Soap. I  can see additional lines, but they are grayed out and I can not click on them or add any additional levels to the category
    Then I tried to link Beauty to Drugstore and then Drugstore to Nonfood u2013 this did not work either u2013 or I can't find the right place to link them.
    Help
    Molly

    Molly - no worried.  Gail will be getting a note out to the Retail course developers w/more info about posting questions.  Before UAC went live we debated about where various discussions should be initiated ... and the sense we got from faculty was that more theoretical / general discussions should go in the public area (i.e. here), but faculty preferred to hold specific product / curriculum focused discussions in the members-only area that only faculty had access to (so students aren't using the posts as a way for them to take the quick route through exercises).
    Heather

  • Differences between Article Hierarchy and Merchandise Category

    Hai Gurus,
    Can somebody distinguish the differences between the Article Hierarchy and Merchandise Categotry? Which one is better to use? Both seems to have a similiar functionality but why SAP had proposed Article hierarchy and Merchandise category seperately?

    Hi Voyeurhuman,
    if you have not typed correctly, then you might be interested to know the difference between Articel hierarchy & Merchandise hierarchy.
    pls go thru following: 
    Article Hierarchy
    .grouping of articles with sales oriented approach
    .customer oriented structure
    .Consumer decision Tree
    .maximum eight levels
    .planning hierarchy used for sales plannng in MAP
    .multiple no. of  Article hierarchies at a time with schedule article hierarchy i.e. with time dependent functionality
    .can be define for distrubution chain dependent
    .can be transported to BI
    .data can be imported as wellas exported using interfaces
    .sub structure of one can be copied from one to another
    .Major characteristics-->responsibility, reference assignment, price point group assignmnet, merchandise distributio(fashion/basic), role,strategy/
    .multiple assignment of articles is not possible within same category
    .it can be assigned to department store and shops with pre-requisite of multiple assignment checked
    Merchandise Hierarchy
    .its a purchase oriented approach
    .it classify and structure all aspects of the merchandise
    .purchaser decision tree
    .An unlimited number of hierarchy levels is possible
    .terms are used in merchandise category hierarchies
         -Merchandise category hierarchy levels
         -Merchandise category hierarchies
         -Characteristics profiles
    .All the elements in the merchandise category hierarchy are defined as classes(class 026)
    Both Article & Merchandise Hierarchies are very much different. Both are meant for differnt purposes.
    thanks,
    Naresh Kumar
    Edited by: Naresh_ISR on Feb 17, 2010 10:47 AM
    Edited by: Naresh_ISR on Feb 17, 2010 10:48 AM

  • Change Merchandise Category for Article

    Hi
    Can you please tell me the procedure for changing the Merchandise Category for an article and also let me know the implications for the same. Purchase and Sales for the article have been done.
    Thanks in advance
    Poonam

    Hi Poonam,
    This process shows how to can change the assignment of articles to merchandise categories and merchandise category levels in merchandise category hierarchies. This process is called as Reclassification.
    To do this, you have to carry out Process Flow as below;
    (1) Define the planned date for the reclassification version and assign a change identification.
    (2) Select the objects to be reclassified:
    Article
    Merchandise category
    Merchandise category hierarchy level
    (3) If an article is to be moved to a merchandise category which has a characteristics profile assigned to it, decide if the article should be assigned to the merchandise category directly or to the characteristics profile.
    The system checks the characteristics of source and target objects: reassignment is only possible if the characteristics and characteristic values of the source also exist in the target.
    (4) The system checks the level at which stock is managed in the affected sites: if in at least one site the stock is managed at a higher level than the article level, reclassification is only possible if the value-only article remains the same or if no stock exists anyway.
    (5) Process the error log and change the reclassification version, as necessary.
    Save the reclassification version. This is a simulation version, meaning that it does not take effect until it is actually activated. You can change this version right up until its activation date.
    (6) By activating ("updating") the reclassification version, you confirm that the relevant objects are to be moved on a specified date and - if articles are being moved - that the merchandise categories are to be changed in open purchase orders and allocation table items (optional). New listing conditions can be created and old ones deleted, as required.
    (7) If necessary, you update the Information System (manual function).
    Bye,
    Muralidhara

  • Table relationship between hierarchy level and merchandise category

    1) Want to find Merchadise Category from Merchandise Hierarchy level which is attached with same Merchandise category.
    I am having data/TABLE as below.
    my input: M_WWG1C_class
    i want to fetch data matkl in T023 or matkl in MARA for the same article within same merchandise category.
    How i can have link?
    2) i am having input CAWN_atwrt(Characteristic Value) and how i can reach matkl in T023 or matkl in MARA  for the same article within same merchandise category.

    Oracle does not support REPEATABLE READ transaction isolation level. It only supports SERIALIZABLE, READ COMMITED and READ ONLY isolation levels.
    The default is READ COMMITED.
    While the READ COMMITED can access all the committed data till the point of execution in transaction, READ SERIALIZABLE can access committed data till the point of start of transaction.
    Another difference between two with respect to ROW LEVEL LOCKING is
    Both read committed and serializable transactions use row-level locking, and both will wait if they try to change a row updated by an uncommitted concurrent transaction. The second transaction that tries to update a given row waits for the other transaction to commit or roll back and release its lock. If that other transaction rolls back, the waiting transaction, regardless of its isolation mode, can proceed to change the previously locked row as if the other transaction had not existed.
    However, if the other blocking transaction commits and releases its locks, a read committed transaction proceeds with its intended update. A serializable transaction, however, fails with the error "Cannot serialize access", because the other transaction has committed a change that was made since the serializable transaction began.
    Read following for clearing your concepts on transaction isolation levels and locking mechanisms
    http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/server.920/a96524/c21cnsis.htm#2414
    Chandar

  • Find Merchandise category from hierarchy level

    Hi Gurus,
    In IS-Retail suppose we have two hierarchy levels 1 and 2 belonging to Merchandise category N.
    Article N1 belongs to level 1 and article N2 belongs to level 2.
    So is there any way of finding out the hierarchy level given the article N1 (for eg.) ?

    Hi,
    see the link below:
    http://help.sap.com/saphelp_45b/helpdata/en/12/084a85470311d1894a0000e8323352/frameset.htm.
    it may help.
    Thanks,
    Rahul

  • Classification for Merchandise Category

    Hi all,
    I am an MM consultant but new to Retail. I am trying to set up classification for Merchandise category. I have created a characteristic profile and i assigned some characteristics in this profile (e.g ingredients, size, etc). Then i went to WG22 and assigned the characteristic profile to the merchandise category.
    My issue now, is from where do i enter the values that i want for each merchandise category (i.e the ingredients, size, etc). As i have read, directly in each article you cannot. In CL20N you cannot as the class is of type 026 (internal).
    Where do i do this?
    best regards!

    HI, let me describe what i did and which are my issues
    1. I have created the characteristics and assigned the possible values
    2. Then i though about two options:
         a) to create a characteristic profile and assign the characteristics to it
         b) assign the characteristics in the Hierarchy directly
    3. I did both and my issues are:
         a) in the 1st option how i assign values to an article? i want each article of the merchandise category to be assigned to various values.
         b) in the 2nd option, i assigned the characteristis to the hierarchy (and thus to the merchandise category) and through MM42 i assgined the values to the articles. In that case my issue is during the search of an article based on the characteristics. There i select as a class the hierarchy and then i have to select the specific merchandise category in order to find articles, otherwise no results appear. Isn't it possible to find all articles of an hierarchy with specific characteristic value?
    Best REgards

  • To get Merchandise Category(MATKL) Based on Country.

    Hi,
    I want to get Merchandise Category(MATKL) Based on Country.
    I am fetching WERKS
                         LAND1from t001w into IT_001w.
    Getting Distinct MATNR from MARC for all entries in IT_T001w.
    Now Getting MATNR
                        MATKL from MARA for all entries in IT_MARC.
    Now looping and getting MATKL and LAND1 in one internal table.
    But I have lot of WERKS in One Country so program is taking too much time.
    How to Improve my programPerformance  ?
    Is there any other logic ?
    Thanks
    Kumar

    Hi Anil..
    Please find below code and suggest me ...
    ***Selection Screen
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-002.
    SELECT-OPTIONS : s_land1 FOR t005-land1 NO-EXTENSION NO INTERVALS    OBLIGATORY. "Added
    *PARAMETER chk AS CHECKBOX DEFAULT 'X'.
    PARAMETER p_file LIKE rlgrap-filename NO-DISPLAY.
    SELECTION-SCREEN END OF BLOCK b1.
    ****START-OF-SELECTION.
    START-OF-SELECTION.
      SELECT land1 FROM t005 INTO TABLE it_log_country WHERE land1 IN s_land1.
      SELECT land1
             filepath FROM zcountry_file INTO TABLE it_file WHERE land1 IN s_land1.
    ***Get Data from T001w
      IF it_file[] IS NOT INITIAL.
        SELECT werks
               land1 FROM t001w INTO TABLE it_t001w WHERE land1 IN s_land1.
      ENDIF.
      IF it_t001w[] IS NOT INITIAL.
        SORT it_t001w[] BY werks.
    ***Get Data from MARC
        SELECT DISTINCT matnr FROM marc INTO TABLE it_marc
                              FOR ALL ENTRIES IN it_t001w WHERE
                              werks = it_t001w-werks.
        IF it_marc[] IS NOT INITIAL.
          SORT it_marc[] BY matnr.
    ***Get Data from MARA
          SELECT matnr
                 matkl FROM mara INTO TABLE it_mara FOR ALL ENTRIES IN it_marc
                                    WHERE matnr = it_marc-matnr.
        ENDIF.
      ENDIF.
      IF it_mara[] IS NOT INITIAL.
        SORT it_mara[] BY matnr.
    ***Get Data from T023T
        SELECT matkl
               wgbez FROM t023t INTO TABLE it_t023t FOR ALL ENTRIES IN it_mara
                     WHERE matkl = it_mara-matkl AND spras = sy-langu.
        SORT it_t023t[] BY matkl.
    ***Fill Table IT_ITAB based on Country Wise
        LOOP AT it_mara INTO wa_mara WHERE matkl <> space.
          READ TABLE it_t023t INTO wa_t023t WITH KEY matkl = wa_mara-matkl BINARY SEARCH.
          IF sy-subrc = 0.
            READ TABLE it_marc INTO wa_marc WITH KEY matnr = wa_mara-matnr BINARY SEARCH..
            IF sy-subrc = 0.
             READ TABLE it_t001w INTO wa_t001w WITH KEY werks = wa_marc-werks BINARY SEARCH..
             IF sy-subrc = 0.
              wa_itab-matkl = wa_t023t-matkl.
              wa_itab-land1 = s_land1-low. "wa_t001w-land1.
              APPEND wa_itab TO it_itab.
             ENDIF.
            ENDIF.
          ENDIF.
        ENDLOOP.
      ENDIF.
      IF it_itab[] IS NOT INITIAL.
        SORT it_itab[] BY land1 matkl.
    ***Delete Duplicate Entries
        DELETE ADJACENT DUPLICATES FROM it_itab[] COMPARING land1 matkl.
        itab[] = it_itab[].
        SORT itab[] BY land1.
    ***Get MC Hierarchy Levels Based on MATKL
        LOOP AT itab.
          REFRESH it_wgh.
    ***Read MC Description
          READ TABLE it_t023t INTO wa_t023t WITH KEY matkl = itab-matkl BINARY SEARCH.
          IF sy-subrc = 0.
            itab-wgbez = wa_t023t-wgbez.
          ENDIF.
    ***FM to Get MC Hierarchy Levels based on MC
          CALL FUNCTION 'MERCHANDISE_GROUP_HIER_ART_SEL'
            EXPORTING
              matkl       = itab-matkl
              spras       = sy-langu
            TABLES
              o_wgh01     = it_wgh
            EXCEPTIONS
              no_basis_mg = 1
              no_mg_hier  = 2
              OTHERS      = 3.
          IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
    **Read MC Hierarchy Levels
          DESCRIBE TABLE it_wgh LINES v_lines.
          IF v_lines <> 0.
            READ TABLE it_wgh INDEX v_lines.
            itab-mch1 = it_wgh-wwgha.
            itab-mchdes1 = it_wgh-wwghb.
            v_lines = v_lines - 1.
            IF v_lines <> 0.
              READ TABLE it_wgh INDEX v_lines.
              itab-mch2 = it_wgh-wwgha.
              itab-mchdes2 = it_wgh-wwghb.
              v_lines = v_lines - 1.
              IF v_lines <> 0.
                READ TABLE it_wgh INDEX v_lines.
                itab-mch3 = it_wgh-wwgha.
                itab-mchdes3 = it_wgh-wwghb.
                v_lines = v_lines - 1.
                IF v_lines <> 0.
                  READ TABLE it_wgh INDEX v_lines.
                  itab-mch4 = it_wgh-wwgha.
                  itab-mchdes4 = it_wgh-wwghb.
                  v_lines = v_lines - 1.
                  IF v_lines <> 0.
                    READ TABLE it_wgh INDEX v_lines.
                    itab-mch5 = it_wgh-wwgha.
                    itab-mchdes5 = it_wgh-wwghb.
                    v_lines = v_lines - 1.
                    IF v_lines <> 0.
                      READ TABLE it_wgh INDEX v_lines.
                      itab-mch6 = it_wgh-wwgha.
                      itab-mchdes6 = it_wgh-wwghb.
                      v_lines = v_lines - 1.
                      IF v_lines <> 0.
                        READ TABLE it_wgh INDEX v_lines.
                        itab-mch7 = it_wgh-wwgha.
                        itab-mchdes7 = it_wgh-wwghb.
                        v_lines = v_lines - 1.
                        IF v_lines <> 0.
                          READ TABLE it_wgh INDEX v_lines.
                          itab-mch8 = it_wgh-wwgha.
                          itab-mchdes8 = it_wgh-wwghb.
                          v_lines = v_lines - 1.
                        ENDIF.
                      ENDIF.
                    ENDIF.
                  ENDIF.
                ENDIF.
              ENDIF.
            ENDIF.
          ENDIF.
          MODIFY itab.
          CLEAR : v_lines,wa_t023t.
          CLEAR itab.
        ENDLOOP.
      ENDIF.
    Open Application Server & Generate CSV File
      IF itab[] IS NOT INITIAL.
        SORT itab[] BY land1.
        LOOP AT itab .
          IF itab1[] IS INITIAL.
            CONCATENATE
           'MCCODE'
           'ARTICLE_TYPE'
           'DEPARTMENT'
           'DEPARTMENT_DESCRIPTION'
           'CLASS'
           'CLASS_DESCRIPTION'
           'SUBCLASS_1'
           'SUBCLASS1_DESCRIPTION'
           'SUBCLASS_2'
           'SUBCLASS2_DESCRIPTION'
           'SUBCLASS_3'
           'SUBCLASS3_DESCRIPTION'
           'SUBCLASS_4'
           'SUBCLASS4_DESCRIPTION'
           'SUBCLASS_5'
           'SUBCLASS5_DESCRIPTION'
           'SUBCLASS_6'
           'SUBCLASS6_DESCRIPTION'
           'MC_DESCRIPTION'
           'DIMENSION_TYPE'
           'DIM1'
           'DIM2'
           'USER_DEFINE_CODE'
           'Duration_Type'
           'Start_Duration'
           'End_Duration'
           'Start_Year'
           'End_Year'
           'MC_Status'
           'MC_Type'
           'Ref MC'
           INTO header SEPARATED BY ','.
            MOVE header TO itab1-str.
            APPEND itab1.
            CLEAR itab1.
          ENDIF.
          CONCATENATE '"' itab-matkl '"' INTO matkl.
          CONCATENATE '"' itab-arttyp '"' INTO arttyp.
          CONCATENATE '"' itab-mch1 '"' INTO mch1.
          CONCATENATE '"' itab-mchdes1 '"' INTO mchdes1.
          CONCATENATE '"' itab-mch2 '"' INTO mch2.
          CONCATENATE '"' itab-mchdes2 '"' INTO mchdes2.
          CONCATENATE '"' itab-mch3 '"' INTO mch3.
          CONCATENATE '"' itab-mchdes3 '"' INTO mchdes3.
          CONCATENATE '"' itab-mch4 '"' INTO mch4.
          CONCATENATE '"' itab-mchdes4 '"' INTO mchdes4.
          CONCATENATE '"' itab-mch5 '"' INTO mch5.
          CONCATENATE '"' itab-mchdes5 '"' INTO mchdes5.
          CONCATENATE '"' itab-mch6 '"' INTO mch6.
          CONCATENATE '"' itab-mchdes6 '"' INTO mchdes6.
          CONCATENATE '"' itab-mch7 '"' INTO mch7.
          CONCATENATE '"' itab-mchdes7 '"' INTO mchdes7.
          CONCATENATE '"' itab-mch8 '"' INTO mch8.
          CONCATENATE '"' itab-mchdes8 '"' INTO mchdes8.
          CONCATENATE '"' itab-wgbez '"' INTO wgbez.
          CONCATENATE '"' itab-dimtyp '"' INTO dimtyp.
          CONCATENATE '"' itab-dim1 '"' INTO dim1.
          CONCATENATE '"' itab-dim2 '"' INTO dim2.
          CONCATENATE '"' itab-usrdc '"' INTO usrdc.
          CONCATENATE '"' itab-durtyp '"' INTO durtyp.
          CONCATENATE '"' itab-sdur '"' INTO sdur.
          CONCATENATE '"' itab-edur '"' INTO edur.
          CONCATENATE '"' itab-syr '"' INTO syr.
          CONCATENATE '"' itab-eyr '"' INTO eyr.
          CONCATENATE '"' itab-mcstatus '"' INTO mcstatus.
          CONCATENATE '"' itab-mctyp '"' INTO mctyp.
          CONCATENATE '"' itab-wwgda '"' INTO wwgda.
          CONCATENATE
          matkl
          arttyp
          mch1
          mchdes1
          mch2
          mchdes2
          mch3
          mchdes3
          mch4
          mchdes4
          mch5
          mchdes5
          mch6
          mchdes6
          mch7
          mchdes7
          mch8
          mchdes8
          wgbez
          dimtyp
          dim1
          dim2
          usrdc
          durtyp
          sdur
          edur
          syr
          eyr
          mcstatus
          mctyp
          wwgda
          INTO itab1-str SEPARATED BY ','.
          APPEND itab1.
          CLEAR : matkl,arttyp, mch1, mchdes1,mch2,mchdes2,mch3,mchdes3,mch4,mchdes4,mch5,
                  mchdes5,mch6,mchdes6,mch7,mchdes7,mch8,mchdes8,wgbez,dimtyp,dim1,dim2,
                  usrdc,durtyp,sdur,edur,syr,eyr,mcstatus,mctyp,wwgda,itab1.
          AT END OF land1.
            CLEAR : wa_file,p_file,efile,v_file.
            READ TABLE it_file INTO wa_file WITH KEY land1 = itab-land1.
            efile = wa_file-filepath.
            CONDENSE efile.
            CONCATENATE efile 'Merchandise_Category'
            sy-datum2(2) sy-datum4(2) sy-datum+6(2)
            sy-uzeit(2) sy-uzeit+2(2) '_' itab-land1 '.txt' INTO p_file.
            CONCATENATE 'Merchandise_Category'
            sy-datum2(2) sy-datum4(2) sy-datum+6(2)
            sy-uzeit(2) sy-uzeit+2(2) '_' itab-land1 '.txt' INTO v_file.
            IF wa_file-filepath IS INITIAL.
              CLEAR p_file.
            ENDIF.
            OPEN DATASET p_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
            IF sy-subrc EQ '0'.
              LOOP AT itab1.
                IF sy-subrc = 0.
                  TRANSFER itab1-str TO p_file.
                ENDIF.
              ENDLOOP.
              CLOSE DATASET p_file.
    Message 'File has been Created at defined Path' type 'I'.
              MESSAGE 'File has been Created' TYPE 'S'.
              wa_log-land1 = itab-land1.
              wa_log-filepath = wa_file-filepath.
              wa_log-filename = v_file.
              wa_log-flag =  'X'.
              APPEND wa_log TO it_log.
              CLEAR wa_log.
            ELSEIF sy-subrc EQ '8'.
              wa_log-land1 = itab-land1.
              wa_log-filepath = wa_file-filepath.
             wa_log-filename = v_file.
              wa_log-flag =  'Y'.
              APPEND wa_log TO it_log.
              CLEAR wa_log.
            ENDIF.
            REFRESH itab1.
            CLEAR itab1.
          ENDAT.
        ENDLOOP.
      ENDIF.
      IF it_log[] IS NOT INITIAL.
        WRITE :/5 'Country', 15 'Folder Name', 40 'File Name', 90 'Status'.
        LOOP AT it_log INTO wa_log WHERE flag = 'X'.
          WRITE :/5 wa_log-land1, 15 wa_log-filepath, 40 wa_log-filename, 90 'Created Successfully'.
        ENDLOOP.
        SKIP 2.
        LOOP AT it_log INTO wa_log WHERE flag = 'Y'.
          WRITE :/5 wa_log-land1, 15 wa_log-filepath, 40 wa_log-filename, 90 'NOT Created'.
        ENDLOOP.
      ENDIF.
      SKIP 2.
      IF it_log_country[] IS NOT INITIAL.
        LOOP AT it_log_country INTO wa_log_country.
          READ TABLE itab WITH KEY land1 = wa_log_country-land1.
          IF sy-subrc <> 0.
            WRITE :/5 'No Data Exists For Country', 35 wa_log_country-land1.
          ENDIF.
        ENDLOOP.
      ENDIF.

  • Merchandise Category: Value-Only Article Categories

    Hello,
       Could someone explain to me what is meant by Merchandise Category: Value-Only Article Categories with a real time example ?

    Yo, do me a favor - can you explain your question more in detail.
    Do you ask in general what a Merch Cat is and/or what you can do with it - sense or nonsense within Trade.
    Markus
    Anyway: Maybe this section out of the Retail Standard documentation help:
    http://help.sap.com/ERP2005_EHP_03/helpdata/EN/12/084a37470311d1894a0000e8323352/content.htm
    If you need different information - let me know - otherwise be so kind and mark this question as answered.
    Also: If you are looking for answers about how to use - or how sell at POS articles on value only article categories - you will find that within the documentation when you open up the library structure (red arrows) - Here you find the difference between Merch Cat articles sales and Merch Cat Hierarchy articles. Usual Merch Cat article sales is Donuts at a Grocer. It does not matter if plain, chocolate or whatever! At POS they press one button to record the sales of Donuts. Usually the remaining donuts will be counted at the end of business day to evaluate further production.
    You of course can use all possible varieties within SAP: keep record at article level of a merch cat, record at merch cat level (donuts, even so there are differences) and merch cat hierarchy level (if it makes sense for you).
    Hasta la vista
    Markus
    Edited by: Markus Semar on Jun 23, 2009 8:30 PM

  • Mass updation of merchandise category in Billing doc.  ------  ( IS-Retail

    HI!
    My problem is in regard to the Merchandise Category Reclassification in SAP IS-Retail.
    My senario was that there were some Merchandise categories(MC) which were unallocated i.e they were not assigned to any Merchandise Cat. Heirarchy.
    Also there was a Merchandise Category (90000001) MC_Common, which was a collection of articles that were not assigned to other MC, there were miscllanious.
    But now, the above mentioned MC and articles in MC_Common have been assigned to their correct heirarchy or MC's.
    What I want is, the old billing documents, which contained the articles with their old Merchandise Cat. no. gets changed such that the old merchandise cat. being displayed against the article reflects my new merchandise cat. assignment no. Without creating any new billing document.
    How to go for it.
    How billing doc can reflect, newly reclassified Merc. Cat.

    Hi,
    please get in contact with the SLO team.
    System landscape Optimization, they have a tool to do such changes in mass.

  • How to find articles if I know merchandise category?

    Hi,
    I know merchandise category, for example, 08-03-06.
    How can I find articles ?
    Thanks.

    Dear Michael
    May be the link would be helpful to you
    [Merchandise Category Reference Articles |http://help.sap.com/saphelp_46c/helpdata/en/12/084869470311d1894a0000e8323352/frameset.htm]
    thanks
    G. Lakshmipathi

  • How to total sales per merchandise category wise

    Dear all,
    We are into Retail sector, and using SAP IS-Retail for our business process, we want to see sales reports based Merchandise Category level.
    is there any standard report which shows list of sales order per merchandise category wise.
    if not can we develop a Zreport using Query or ALV report.
    then which Tables need to be used.
    Please help me to solve this issue, Your help will be highly appreciated.
    Thank you,
    Raghu ram.

    Hi,
    if you want more flexible, you could try this modified Istvan's query:
    SELECT top 10 T1.ItemCode, T2.ItemName, T3.ItmsGrpNam,   SUM(T1.Quantity) as "Total Qty Sold",
      SUM(T1.TotalSumSy) as "Total Amount" ,
      (select sum (r.Quantity) from ODLN h
         inner join DLN1 r on h.DocEntry=r.DocEntry  
         where h.DocDate>='[%4]' and h.DocDate<='[%5]'
             and r.ItemCode=T1.ItemCode) '2007 Sold',
      (select sum (r.TotalSumSy) from ODLN h
         inner join DLN1 r on h.DocEntry=r.DocEntry  
         where h.DocDate>='[%6]' and h.DocDate<='[%7]'
             and r.ItemCode=T1.ItemCode) '2007 Amount'
    FROM ODLN T0 INNER JOIN DLN1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode INNER JOIN OITB T3 ON T2.ItmsGrpCod = T3.ItmsGrpCod
    WHERE T0.DocDate >='[%0]' AND T0.DocDate <='[%1]' AND T3.ItmsGrpNam between '[%2]'  and '[%3]'
    GROUP BY T1.ItemCode, T2.ItemName, T3.ItmsGrpNam
    ORDER by SUM(T1.Quantity) DESC
    Rgds,

Maybe you are looking for

  • The sleep and home button on my iPod touch 4th gen have stopped working.

    Its been past a year since ive had it but i bought warranty from walmart and I was wondering if walmart would fix it? or should i go to the apple store and ask them?

  • Used Relocate Masters to new g-drive. Lost Aperature Library and meta data

    how i crashed aperature 1.56 aperature all updates current tiger 10.4.11 all updates current Goal was to move Aperature Library from MBP to g-drive. what i did: 1. "Relocate Master" to g-drive. Success. Aperature still viewed all Files with all Meta

  • Lose focus when tabbing out of autoSubmit text box in IE

    Hey, Using JDEV 11.1.1.4 I have a problem with tabbing from one textbox to another textbox in IE. Both text boxes have autoSubmit=true and to reproduce the problem it's like so: I type a value or edit the existing one into text box 1 and press Tab. T

  • Gyro sw broken under 4.3.2 demo'd in three use cases

    I've noticed that with 4.3.2 the gyro functionality is not being handled in apps consistently or at all in most cases. I'm running the latest IOS and all apps I mention below are the latest also. Interestingly(luckily), GoSkyWatch Planetarium confirm

  • Question re Online Number

    hello there -- i am contemplating subscribing for an online number but i have a question i can't quite find the answer to... i understand that with my own number, anyone from anywhere call call me on it, and pay their local rates for making that call