cancel
Showing results for 
Search instead for 
Did you mean: 

Sub-Total in pricing

hasan_ahmed1
Active Participant

Dear Friends,

I'm working on one pricing requirement where i need to pass the value to subtotal for further calculation in below steps.

But as we have used all sub totals from drop down and if i use the existing one, it will impact other condition type.

So i have created one zkwi19 field in KOMP structure and written the logic in routine and assign it to the ctype- Alt base type

if Komp-zkwi19 <> 0.
xkomv-kbetr = komp-zkwi19.
endif.

The value in ZKWI19 will be base value for other ctype in below steps. I'm not getting, how the value will taken without assigning a subtotal.

Thanks in anticipation.

Hidayath

Accepted Solutions (0)

Answers (3)

Answers (3)

hasan_ahmed1
Active Participant
0 Kudos

Hi Friends,

I have done above requirement as below.

1. Create two routines say 91 and 92

2. Write the logic(komp-zkwi19 = xkomv-kbetr) in routine 91 and assign it to alt cal type. Kbetr value will be stored in ZKWI19 field

3.Write the logic(xkomv-kbetr = komp-zkwi19) in routine 92 ans assign it to alt base type.zkwi19-value will be parked in kbetr

The value will be parked in condition value of subsequent step.

Thanks

Hidayath

hasan_ahmed1
Active Participant
0 Kudos

I'm aware of the above Note 1022966.

1. I want to use subtotal but as we have already used all the existing keys we can't use them.

2. I want to pass step 20 condition value for further calculation and step 20 condition value will be condition base value for step 40. I guess we cant create new sub-total. Right?

3. If you still puzzled with my above explanation. sorry and thanks for the try.

Thanks

Hidayath

VeselinaPeykova
Active Contributor
0 Kudos

Have you gone through the explanations and steps in sap note 155012 - Further subtotal fields in pricing and, possibly, the additional clarifications in 1022966 - FAQ for the 'Subto' column (KZWIW) in the pricing procedure (point 9)?

It is hard for me to tell, based on your explanation.