cancel
Showing results for 
Search instead for 
Did you mean: 

SD Pricing Routine

0 Kudos

We have created a new pricing routine to prevent certain pricing conditions appearing on intercompany invoices based on certain situations.

The net result of the routine is that if the value of subrc = 4, then the condition should not appear on the invoice, however, even though subrc is being set to 4, the condition is still being found and set on the invoice. We expected in the pricing analysis a message saying "routine 999 not fulfilled" and the condition not appearing on the invoice.

Accepted Solutions (0)

Answers (3)

Answers (3)

madhu_vadlamani
Active Contributor
0 Kudos

Hi Mike,

Run the report RV80HGEN and you can see the custom routine acivated.

Regards,

Madhu.

eduardo_hinojosa
Active Contributor
0 Kudos

Hi Mike

Marcin is right, you need run RV80HGEN. For further information see these notes

Note 156230 - Requirements: What is permitted, what is not?

Note 836243 - How condition exclusion works in R/3

Note 327220 - VOFM function and its objects

I hope this helps you

Regards

Eduardo

marcin_milczynski
Contributor
0 Kudos

Hi Mike,

If you set the sy-subrc = 4 in the requirement in both KOBED and KOBEV forms, the system should behave as you've described.

However after you create a new requirement routie, you need to run program RV80HGEN on EACH system (DEV, QUAS, PROD). On QUAS and PROD system the report has to be run as soon as the transport requests are imported to that systems.

Regards,

Marcin