Skip to Content
avatar image
Former Member

Warning message if PR00 is lower than VPRS by xx% in SD Sales Order Item

Hi Gurus,

what changes are to be made in PR00, VPRS as to have warning message if price PR00 is lower than Internal price VPRS for 10%.

Thanks in advance

Nija

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Nov 13, 2008 at 10:44 AM

    Hi Janina,

    Take any field at item level which is extra field. Use this field in incompletion log at itel level. The logic shd be such that the differenc between conditon values of VPRS and PR00 shd nt be more than that.Use this field to store the difference. U need to develop a user exit for the same.

    Thanks,

    Pramod

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 13, 2008 at 10:58 AM

    Hi there,

    Put a customized code in the include userexit_pricing_prepare_tkomp that calls for pricing in MV45AFZZ. Pls check if that is the correct include that calls for pricing with the ABAPer.

    In the code call the value that is stored in PR00 & VPRS.

    Pit a logic such that if PR00 <= 90% VPRS (this is same as PR00 less that 10% of VPRS), then system should trigger a warning message.

    Expain the requirement to the ABAPer. He will help you.

    Regards,

    Sivanand

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Sivanand,

      Abaper failed to find this userexit_pricing_prepare_tkomp that calls for pricing in MV45AFZZ. Could you provide smth more? Thanks and best regards!

      Janina

  • avatar image
    Former Member
    Nov 13, 2008 at 03:50 PM

    Janina, that user exit is there, have them check again.

    SE38 Program MV45AFZZ

    FORM USEREXIT_PRICING_PREPARE_TKOMP is in there, unless someone actually deleted it.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello people,

      In our company we needed the same comparation and warning message, and we had also the same problem with that userexit. We tried adding a line after VPRS in the pricing procedure with a new condition formula, which compares the PR00 with VPRS and shows the message if PR00 is lower than VPRS. In other words, this formula have the same code we would have added in the userexit.

      This solution works well, but now the message is showed twice each time it is triggered. We have debbugged and all we have found is that the function is called twice. Does anybody have an idea why this is happening, and how this can be solved?