Skip to Content
0

Sub-Total in pricing

Jul 19, 2017 at 06:24 AM

83

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Veselina Peykova
Jul 19, 2017 at 06:42 AM
0

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.

Share
10 |10000 characters needed characters left characters exceeded
Hidayathulla Hasan Jul 19, 2017 at 06:57 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Hidayathulla Hasan Jul 25, 2017 at 12:54 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded