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: 

Multiple calls of same pricing routine while saving sale order

Former Member
0 Kudos

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

1 REPLY 1

kiran_k8
Active Contributor
0 Kudos

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.