cancel
Showing results for 
Search instead for 
Did you mean: 

Testing Pricing Requirements

Former Member
0 Kudos

Hy Guys,

how do you test the pricing requirements (ex. manual conditions, manual deposit condition, free of charge deposit cond, mixed palled surcharge etc) ??? So you create sales orders, credit memos and so on, and then..?

Thank you !

Cris

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Get your friendly ABAPer to insert a breakpoint in the pricing requirement code and then process the order - it should break in the code if the requirement is being hit. The ABAPer can then debug the code to see if it does what it's supposed to.

Jon

Former Member
0 Kudos

Are you sure about this..? because i don't find any available ABAP-er around:)) Is there any other way to test these pricing reuirements..?

Former Member
0 Kudos

You can do it yourself in transaction VOFM, Requirements>Pricing. Then highlight the requirement number and and click the "source text" button.

Click on the first statement (probably a statement like "sy-subrc = 4"), and then click the "stop" button to set the break point. You can then process an order and it should break in that bit of code. Keep on hitting F5 and watch the sy-subrc value - if it is 0 at the last line of code, then the requirement has been met. If not zero, then it has not been met and that price will not be determined.

Don't forget to remove your breakpoint in VOFM afterwards.

Hope this helps.

Jon

Answers (0)