cancel
Showing results for 
Search instead for 
Did you mean: 

Statistical Condition Type in Pricing

Former Member
0 Kudos

Hi

I define a condition type as statistical and manual both.

Now statistical condition type should not alter the final value and is for reporting purpose only.

But when i enter the condition manually( condition type being manual) , document vlaue is altered .

Reasons for same

Rohit

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Rohit

If a condition type is marked as statistical it will not change the net value of the document.

It may change the values in the calculation screen but sure it will not have any impact in the net value and those values will be in black color which shows those are inactive values.

I have checked the same scenario by simulating in my system. It works fine.

Please check and let us know the routines used for the condition type like requirements, Alt cal type and Alt con base value.

Regards

Rajkumar K

Former Member
0 Kudos

Hi,

If your condition type price is not variable then you just store a condition record for that.

Then remove the manual from the pricing procedure.

And check out again that your condition type value is making any difference or not.

Regards

Raj.

Former Member
0 Kudos

Hi Raj

The query is the same , will tell you the scenario also

Suppose we create SO for Non Trade customers, we want flexibility of Entering the the condition manually at time of SO.

But the condition type in Pric. Procedure is marked as Manual and Statistical.

WHAT IS RELEVANCE OF STATISTICAL IF IT CHANGES THE DOCUMENT VALUE ( SO VALUE)

Rohit

0 Kudos

Hi bahlrohit1,

Check if you put the condition between a range used for other condition type to get the base value from it is calculate, example

Step C.Type From To

10 ZZZZ

20 YYYY

30 BBBB

40 PPPP 20 39

So, if your Statistical Condition is BBBB the base value of condition PPPP will be modified, then your document value will be modified.

Thanks,

Mariano.

Former Member
0 Kudos

Hi

No it is not used as reference in From to field

But AltCBV 814 ( 100% condition) is used .

Any info on the same

Rohit

Former Member
0 Kudos

Hi Rohit,

I think 814 is a custom routine.. we cannot tell untill we see what's in it..

pls tk help from an ABAPer to check the logic.

Regards,

Raghu.

Former Member
0 Kudos

Routine 814( AltBV)

Include: RV63A814

TABLES : ZTAXSPL2.( Table contents : Base Price for Tax Calculation , Region , Delivering Plant, Material No , Rate , Price List Type )

*data : ztaxk1 like vbak-taxk1.

*SELECT SINGLE * FROM ZTAXSPL2 WHERE WKREG = KOMK-WKREG AND

  • REGIO = KOMK-REGIO AND

    • TAXK1 = KOMK-TAXK1 AND

  • PLTYP = KOMK-PLTYP AND

  • MATNR = KOMP-MATNR.

*IF SY-SUBRC = 0 AND XKOMV-KBETR GT ZTAXSPL2-KBETR.

*ztaxk1 = ztaxspl2-taxk1.

**KOMK-TAXK1 = ZTAXSPL2-TAXK1.

*ENDIF.

Any answers

Rohit

Former Member
0 Kudos

Hi

If this routine is executing in your sales order

then if the manual entry is greater then the existing than its no more statistical condition.

IF SY-SUBRC = 0 AND XKOMV-KBETR GT ZTAXSPL2-KBETR.

*ztaxk1 = ztaxspl2-taxk1.

**KOMK-TAXK1 = ZTAXSPL2-TAXK1.

*ENDIF.

Please check if you enter manual price less then existing/automatic value then also issue remains or not???

try and revert

Former Member
0 Kudos

Hi Yadav

Thanks for reply , Need some more clarification ,

First

In Table ZTAXSPL2, the condition rate ie KBETR is mentioned as 1 , so as per you the condition is getting satisfied , but this will be satisfied everytime , so why use the statistical indicator ???

Second

Now Need clarification about AltCty and AltCBV ,

AltCty : In this Alternate Calculation Type , Will the Condition record be always overridden and an alternate method of calculation / formula be used , ansd same in AltCBV ,

Plz clarify

Response will be highly appreciated

Rohit