Application Development and Automation 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: 
Read only

Split header condition value to line item

Former Member
0 Likes
1,224

All, I have created Header condition for price and I want to split it as per line item irrespective of Qty and weight. Suppose in this exemple I have entered ZR01 at header line 100 as my condition value and in sales order is have 2 Lines item . 10  Mat 1  1 PCE 20  Mat 2  2 PCE Now  I want that 100 amount is to be equally divided in these 2 Line item So 100/2 = 50 Euro in each line item. Where i test this, the amount is divided with the quantity in item lines. Can I do it with standard or by spécific routine and where ? My condition is this one: Cond. class      'A  Discount or surcharge Calculat.type    'B' Fixed amount Cond.category '' Rounding rule  ''  Commercial StrucCond.      '' It's an header and item condition. Thanks a lot

All, I have created Header condition for price and I want to split it as per line item irrespective of Qty and weight. Suppose in this exemple I have entered ZR01 at header line 100 as my condition value and in sales order is have 2 Lines item . 10  Mat 1  1 PCE 20  Mat 2  2 PCE Now  I want that 100 amount is to be equally divided in these 2 Line item So 100/2 = 50 Euro in each line item. Where i test this, the amount is divided with the quantity in item lines. Can I do it with standard or by spécific routine and where ? My condition is this one: Cond. class      'A  Discount or surcharge Calculat.type    'B' Fixed amount Cond.category '' Rounding rule  ''  Commercial StrucCond.      '' It's an header and item condition. Thanks a lot

1 REPLY 1
Read only

VenkatRamesh_V
Active Contributor
0 Likes
590

Hi Brice.

Try,

Include MV45AFZZ

Form   FORM USEREXIT_PRICING_PREPARE_TKOMP.

Hope it helpful,

Regards,

Venkat.