cancel
Showing results for 
Search instead for 
Did you mean: 

VI01 - Shipment Costs (combining Deliveries from Shipment document)

marcelo_boccia
Explorer
0 Kudos

Hello experts

Do you know how to combine (consolidate) the shipment costing line item (VI01) when there are more than one Delivery to the same customer in the Shipment document?

E.g. I have a Shipment with 58 Deliveries and for a specific customer has 2 Deliveries, the Shipment Costing (VI01) must to create just one line item consolidating the 2 Deliveries for that customer, not to split 2 lines (one line for each Delivery).

Any help will be highly appreciated.

Best regards...

Marcelo Boccia - SAP SD

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Go to t-code T_06

Select your condition >>> deatil

Under Frieght costing tab maintain calculation Base - A (Delivery)

Then sytem will calculate cost on basis of delivert in VI01

Kapil

Answers (2)

Answers (2)

Former Member
0 Kudos

This message was moderated.

JuergenPitz
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

to have just one subitem, you have to use the calculation base "D - Shipment cost item". The next question is the cost type. Because if this is shipment header, your one subitem then will include all of the 58 deliveries, not just the ones from that customer. To set this up, the cost type has to be shipment leg and you have to have separate legs set up per ship to address.

Best regards

Juergen

marcelo_boccia
Explorer
0 Kudos

Hello Kapil and Juergen

First of all I would like to thank you all for that support.

All the Conditions are using the option "Calculation Base" = A (Delivery) and the transaction VI01 is already calculating the shipment costs by Delivery. I mean in the Shipment Cost document there are one "line item cost" with one "sub-item cost" for each Delivery.

This is the desired scenario:

I have a Shipment with 58 Deliveries regarding several customers, where for a specific customer there are 2 Deliveries. Our target is to consolidate these 2 Deliveries in only one "line item cost" with two "sub-items cost (one "sub-item cost" for each Delivery).

I would like to know if there is a customizing in order to do that or if would be a good idea to use a formula.

Did you get it?

See you...

Marcelo - SAP SD

Sao Paulo - Brazil

marcelo_boccia
Explorer
0 Kudos

Guys

This is the right question:

- I would like to know if there is a customizing in order to do that or if would be a good idea to use an User-Exit or BADi.

I found these objects:

User-Exits:

V54B0001 Shipment Costing: Configure pricing

V54B0003 Shipment Costs Calculation: Determine Rate Type and Currency

V54B0004 Shipment Costs Calculation: Determine Status

V54C0001 Shipment Costing: Description(s) shipment cost item(s)

V54C0002 Shipment Costing: Create shipment cost sub-items

V54C0003 Shipment Costs Processing: Determine Invoicing Party

V54C0004 Shipment Costs Processing: Determine Loc. for Tax Invoice

V54D0001 Shipment Costing: Determining the Tax Countries

V54KSFRC Determining the factors for apportionment of shipment costs

V54P0001 Extended Function Codes for Shipment Cost Information

V54U0001 Shipment Cost processing: Check whether changes made

V54U0002 Check shipment costs for completion

V54U0003 Specification of shipment cost number

V54U0004 Formatting for update of new objects (shipment costs)

V54U0005 Updating new objects in shipment cost processing

V54U0006 Shipment Purchase Order - Header Data Supply

V54U0007 Shipment Purchase Order - Item Data Supply

BADIs:

BADI_SCD_ACCTG Call During Shipment Cost Account Assignment

BADI_SCD_CREATE When Generating a Shipment Costs Document

BADI_SCD_CREATE_CHCK For Checks When Creating a Shipment Costs Document

BADI_SCD_PO_SELECT Call for the Purchase Order Item Determination

BADI_SCD_PROCESS_CHK For Checks During Shipment Costs Processing

BADI_SCD_SAVE When Saving Shipment Costs Documents

BADI_SCD_TRANSFER For Transferring Shipment Cost Items

Unhappily I don't know the right object to use...

Thanks

Marcelo - SAP SD

Sao Paulo - Brazil

Edited by: Marcelo Boccia on Feb 10, 2010 10:45 PM