cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

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.

Former Member
0 Kudos

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?

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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