Application Development 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: 

Debugging Condition Type formula created in VOFM

Former Member
0 Kudos
2,431

Hi,

I have created a condition type formula in VOFM for updating the condition type value. I want to know how can i can debug this routine. I even tried update debgging but still its not working.

Please advice.

2 REPLIES 2

guilherme_frisoni
Contributor
260

Hi Kinshuk,

it should be equal to any other program. Set a break-point in source code and recalculate pricing.

IF you cannot set break-point, you haven't run RV80HGEN program to reindex all formulas.

IF you set break-point but it didn't stop, your formula is not correctly set in pricing.

Regards,

Frisoni

kiran_k8
Active Contributor
0 Kudos
260

Kinshuk,

1.FM Pricing.

2.Subroutine perform xkomv_aufbauen_aus_komt1.

3.Check for the below code

  * L O O P Pricing Procedure
    loop at komt1 from komk-ix_komt1_v to komk-ix_komt1_b.

4.Within this loop you will find a subroutine

   perform (bedingung_pruefen) in program saplv61a if found.

Put a break point on this LOOP and check what is happening at the desired condition type while it is running through all the condition types of that Pricing Procedure ?

K.Kiran.