09-12-2014 5:09 AM
Hi,
I have a requirement where I have to modify a pricing routine 9XX for sale order. In pricing procedure, I observed that this routine 9XX is assigned to multiple pricing conditions (ZNN, ZMM, ZDD etc). I saw that this routine is getting called many times in debugging for each of these assigned pricing conditions. May I know on what basis this pricing routine gets triggered multiple times for the corresponding pricing condition?
Thanks in advance.
Regards,
Sri
09-12-2014 6:35 AM
Sri,
For everychange at ITEM level,Pricing mechanism will be repeated.
You can check in debugging as below
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.