Skip to Content
avatar image
Former Member

Pricing rule

Hi,

We have selected a number of 50 different articles of which one (the master) has the highest selling price. The other 49 items may never exceed the selling price of that one article. Is there a way to define in SAP Retail a kind of pricing rule in order to get a warning of a message when one of the other articles gets a selling price higher than the one of the master article? The 50 different items belong to multiple merchandise categories.

Thanks for any reply,

Ton

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Mar 07, 2015 at 11:05 AM

    Hi Ton,

    Can you please mention during which process you are expecting the warning?

    Depending on the process, we can suggest a user-exit where you can keep the desired price determination of master article and then compare the master article price with current price. Upon value greater then master price, you can issue a warning message.

    Regards,

    Amit

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Ton,

      Online issuance of a warning message has very little chance as VK11/12 does not do any validation and simply creates a condition record.

      In MM42, you can try to put the validation in standard BAdI BADI_MATERIAL_CHECK and method CHECK_DATA_RETAIL. I am not very sure whether it will allow to check the condition record or not. Your ABAPer can tell by putting a break point and then analyze the article data in various internal structures and tables.

      Alternatively, you can choose to develop an ABAP report where you display the child articles which has a valid price more than the master article and then send those exceptions to the concerned users for corrective actions.

      I hope this will help.


      Regards,

      Amit

  • avatar image
    Former Member
    Mar 10, 2015 at 07:14 AM

    Hi Ton,

    I am not sure about a pricing rule but there is a BAdI that might possibly help you;

    Transaction SE18 > BAdI Name: SD_COND_SAVE_A

    This BAdI is triggered when saving a condition record. I've just had a look and there is a sample Global Trade implementation WB2_SD_COND_SAVE_A (in BAdI detail select Implementation > Overview) to check.

    Hope this helps.

    Cheers,

    Tomas

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Ton,

      You can create an article group (VBG1) with the 50 articles assigned to the group. Then you can make the code changes with the help of ABAP programmer to check whether the child articles in the group have greater price than the master article (XXXX) during price change