cancel
Showing results for 
Search instead for 
Did you mean: 

Header condition value distribution at item level

Former Member
0 Kudos

Hi all,

On pricing schema I created an header condition for transport cost. Have calculation type B - Fix amount

Is both condition group and header condition .

During invoice creation user insert manually the amount on the hader condition.

For accounting reason, is required to split this amount on items, based on a z field maintaned at delivery level ( number of pallet )

deliivery xxx item 10 -> 3 pallet

delivery xxx item 20 -> 1 pallet

Invoice -> header condition for trasnport cost -> 2000 usd

Actualy system distribute amount in this way

item 10 -> 1000 usd

item 20 -> 1000 usd

is required

item 10 -> 1500 usd

item 20 -> 500 usd

How to manage it ? sure with abap code but I'm a little confused where to put my routine ( user-exit / pricing schema / condition type customizing )

Regards

Silly

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi ASM,

1. Condition Type: HB00 (Quantity), you need to use this Condition type.

2. Maintain this condition type at Header level.

3. Click on Activate and you can see the changes.

4. Or else you may select the item and then check for distribution.

Eg: At header level, maintain HB00: as 200 and if there are 10 line items, then 20 each will be added or minus the net price.

Former Member
0 Kudos

Goodreplay, it's work

Lakshmipathi
Active Contributor
0 Kudos

Is it not possible to maintain the transportation cost based on pallet ?? Of course, it should be at item level.

thanks

G. Lakshmipathi

Former Member
0 Kudos

Hi Lakshmipathi,

I need to create a header condition and split the header amount eqaully to all items.

If there are 10 items and value is 200 in header then every item should have 20 each.

Please tell me how this can be achieved.

Regards,

ASM

Shiva_Ram
Active Contributor
0 Kudos

Create a routine in T.code VOFM ->Forumulas->condition base value to read the document field (pallet). There is already a standard routine # 13, which distributes the frieght rate based on net weight. You can refer this, when you develop the new formula.

Then assign this routine in the pricing procedure against the freight condition type under AltCBV column.

Regards,