Apply Discounts at Merchandise Category level

Hi,
Appreciate it if IS Retail experts can tell me what is the best way to assign Discounts to selected Merchandise Categories? What is the steps in SAP IS Retail?
How would the discounts be mapped to SAP ePOS? Will it be a standard mapping or special mapping required?
Thanks.

Hi LT,
Create a promotion through wak1 in discounts tab(last tab) under Merchandise categories enter the MC's u desire to give discount.
In Site group tab enter the site group and the respective sales period.
Then activate discount.
once u activate discount the discount condition types ka02 and ka04 will be transferred.
to generate the idoc goto wpma enter the promotion number and then click transfer merchandise categories.
outbound idocs are generated and u can check the same in FTP location.
Thanks,
Adarsh N

Similar Messages

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

  • Condition Maintenance at Product Category Level

    Dear Gurus,
    Could you please advise how to enable/define pricing conditions/discounts at product category level? In the 'comprehensive' SAP CRM training material it says "In order to define condition types on the product category level, you have to define the relevant category hierarchies as pricing relevant".
    Question is, how? I am not at all impressed with SAP training documentation. Hope to get some meaningful answer here.
    Many thanks!

    Hi Leon,
    Once you have product category maintained for you product.
    You need to create condition table for creating your product category based condition record.
    IMG Path: SAP Implementation Guide>Customer Relationship Management>
    Basic Functions>Pricing>Define Settings for Pricing-->Create Condition Tables
    Check table 'SAP0PCTA' and create similar kind of table.
    Include the table in access sequence of required condition type.
    In the IMG Path:
    SAP Implementation Guide>Customer Relationship Management>Master Data
    >Conditions and Condition Technique>Condition Technique: Basics-->Create Maintenance Group
    find condition group 'PRODPRICES' and 'PRODDISCOU'.
    Select and go to second level customizing by clicking on 'Condition Maintenance Group Details' in left panel.
    Create a new entry for a condition type/Condition table (Created above). 
    Save settings.
    You have to wait for 12:00 AM night to get your pricing buffer refresh so that your setting will take effect, else you need to restart you IPC (Consult Basis Admin).
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • 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

  • Merchandise Category

    HI,
    I have Merchandise Category Levels.
    Now i want to know the Merchandise categories of that levels.
    Is there any funtion module to find MCs by giving Hierarcy levels.???
    Please help me

    Dear friend,
    Merchandise Planning 
    The first element in the merchandise plan is the Strategic Plan. This is normally high level, with  perhaps a five year timescale. It is used to set the critical success factors for merchandising in terms of sales, margins & stocks.  Next we would create a Channel Sales Budget. This would allow us to take into account the effect of new channels, new stores, closures and refits. Once complete we would create a Category Level Margin Plan. Here we are creating a weekly version of the strategic plan at category level for sales, margins and markdowns.
    We are now starting to get input from the individual merchandisers, and gap analysis between these plans and the strategic plan will ensure that we stay on course.  At the same level we create a Category Level Weekly Sales, Stock & Intake Plan. It is here that we create our Open to Buy, normally the first significant win in the implementation of a planning system.  These category level plans create the box within which the range plan will be created 
    Range Planning 
    We begin here with the Assortment Plan.  In this plan we break down the goals of the merchandise plan into specific lines, or sometimes SKUs. The system should be capable of extending the results so that we can see the effect on overall margin mix, for example, of a change in cost price of an item. 
    Once the assortment plan is underway we can start Distribution Planning. The lines that we plan are here given a distribution profile. From this we should be able to see both which stores a line is ranged to, and which lines a given store will receive. The link between available physical space and ranging done here is a key determinant of merchandise performance. 
    In the ideal world we would now create a Line Level Weekly Sales, Stock & Intake Plan This would be the category level W.S.S.I., broken down by line to provide a detailed forecast of sales and stock requirements.  However, volume & time constraints means that this may be for key items only. 
    At a basic level this provides us with the means to monitor and react to consumer demand
    At a more sophisticated level this provides us with the hard currency that can make efficient consumer response systems function effectively. The advent of e-commerce is going to increase the value and importance of line level forecasts shared with our suppliers.
    There is another sort of assortment plan emerging now. This is the Graphical Range Plan. This sort of plan moves out of the purely numeric type of planning that has been used up until now and starts to allow the range to be put together in a visual way. Typically digitally stored images are manipulated into collage type storyboards. 
    Space Planning
    Space planning systems can be split into two types - numeric and visual. Numeric planning systems simply allow users to take account of space available and to calculate ratios like return on space. Visual systems allow users to create 3 dimensional walk-through models of the stores and to preview the look of a store once ranging decisions have been made. 
    Conclusion 
    A system that included all of the above would have taken a strategic vision and translated it into a tactical plan taking into account the constraints imposed by available space and investment capital. This is how planning should be done!
    thanks and regards
    rewards expected.
    vivek

  • 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

  • Discount for entire Merchandise category

    hi gurus,
    I am trying to create a promotion ie, i want to give 5% discount for entire Merchandise category, while am doing this am getting this error 'No suitable items were selected for discount activation' can any one explain step by step how to do this type of promotion
    with regards,
    mohan

    HI Mohan,
    Nice to meet you on SDN.. to give discount to entire Merch Cate, you can directly assing the merch cat. into the promotion and there you can specify what kind of discount.. absolute or percentage discount. In % discount col, give 5% , this will get applicable to entire merch cate.
    Hope this helps.
    Adarsh Jain

  • 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

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

  • 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

  • Discounts by item category for selected customers

    Hi sap gurus,
    here the business requirement is "Discounts by item category for selected customers"
    give me some inputs regarding this issue,
    Thanks & Regards
    Venkat.Dhanemkula

    Hi ,
             let me approach this in two methods for discount .
    method 1) ( scale basis discount)  ex for 100 pcs 10% discount or .. 100kg 1% discount ....
    goto v/06 then scroll down ..  select the condition type that u are using then click detail button, scroll down and there u can see SCALES  section.. in that u can select scale basis ..  here u can select either quantity basis , weight basis , volume basis depending on type of material ...or u can go for the scale formula (may require abap rountines for special requirements like writing formula ). and save and assign this in the pricing procedure ..
    method 2 ) normal discount
           for discounts condition type to select is KA00.  now go to the item level (VA02 to change the existing sales order )  in the item category and double click the item .. then  go to conditions tab and enter the new condition type KA00 and then enter the % of discount you want to give in the amount field and then press enter and then save ...
    this way u can attain discount at the item level for ea
    ch item .. if there are hundreds of items then its better u assign KA00 condition type in the pricing procedure .to the selected customers ... i mean maintain in the info record VK11.. customer and material and the pricing procedure ... that should solve your problem i guess ...
    thanks ,
    madhan

  • 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

  • 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

Maybe you are looking for