Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Pricing Formula

Former Member
0 Likes
898

Hi all,

I have a requirement where I need to create pricing formula (VOFM -> Formulas -> Condition Value). I have done some coding as per the requirement in RV64A600 and activated it also. I kept a break-point in the program but if I go to VA02 -> Item Conditions it's not stopping. Can you please tell how to debug it. Advance thanks.

Regards,

Balaji Viswanath.

1 ACCEPTED SOLUTION
Read only

srinivas_akiri
Active Participant
0 Likes
828

Hi,

check with the Access sequance and condition records in transaction V/07.

if the condition records for a requirement is satisfied than only that corresponding code in the routine will execute.

propabully for your test case condition records are not satisfied. try to use proper test case.

Thanks

Srini

5 REPLIES 5
Read only

srinivas_akiri
Active Participant
0 Likes
829

Hi,

check with the Access sequance and condition records in transaction V/07.

if the condition records for a requirement is satisfied than only that corresponding code in the routine will execute.

propabully for your test case condition records are not satisfied. try to use proper test case.

Thanks

Srini

Read only

0 Likes
828

Hi Srinivas,

Thanks for reply, I am new to Pricing. Can you please tell how to check access sequence and condition records. If required I am ready to create access sequence and condition records for testing.

Thanks & Regards,

Balaji Viswanath.

Read only

Former Member
0 Likes
828

Hi

Have you created a routine of your own.

We have to create routines after <b>900</b> Numbers only

but as per your program it appears that it is 600 (see the program RV64A<b>600</b>)

Copy a 900 number routine and copy the code from an existing one, save it and Activate it

then check whether it is firing the break point or not.

Reward points if useful

Regards

Anji

Read only

0 Likes
828

Hi Anji,

SAP customers can create their own VOFM routines using the name space from 600 to 999.

Thanks & Regards,

Balaji Viswanath.

Read only

0 Likes
828

Hi,

In V/08, I have assigned 600 to "AltCTy" field and now program is stoping at break-point.

Regards,

Balaji Viswanath.