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: 

pricing condition becomes active

Former Member
0 Kudos

HI All,

We have a discount/surcharge pricing condition YYYY, during billing we expect it to be inactive because there's a high priority discount/pricing condition XXXX that should only be active.

Now our problem is that pricing condition YYYY intermettently becomes active.

I checked the BasType routine for this in V/08 and I found out that it will only be triggered if it meet the requirements like;

 
* in multi-dimensional freight calculation only for KRECH NE T
    IF xkomv-krech NE 'T'.
* recursive calculation puts rounding difference in basis
* pricing with type E follows and basis must be calculated
      IF komp-kposn NE 0 AND ( ( preisfindungsart NE 'E' AND
           xkomv-ksteu NA 'EG' ) OR basiszeile NE 0 )    AND
         ( xkomv-kmxaw NE 'X' OR xkomv-ksteu NE 'F' )    AND
           xkomv-kinak NA 'AL'.
*   .... etc  

in standard program LV61AA55 (XKOMV_BEWERTEN).

some of the checks above failed, but i can't trace where it get it's value because when I bill and debug, it all passed the checking, only when I debug in display mode that i found out that it filled on the above checking..

I had billed via VF01, VF04, and VF06 but when I debugged it all had set YYYY to inactive, but when I won't debug and just bill it directly, some of the billing docs would have active YYYY.

Hope you can help me with this.

1 REPLY 1

Former Member
0 Kudos

the error was caused by a long standing SAP issue.

This has been fixed by not using KOMK-AUART_SD in retrieving any data for any SD exits.

Edited by: navi on Apr 7, 2011 12:02 PM