cancel
Showing results for 
Search instead for 
Did you mean: 

Shipment cost - Purchase order

Former Member
0 Kudos

Hi all !

When we save the shipment cost document (T-code vi01) with Transfer flag set as ON, a purchase order gets created.

When I create a different shipment cost document for this transporter, same purchase order gets updated.I want a different purchase order to get created automatically while saving different shipment cost documents. How can this be achieved?

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member315051
Active Contributor
0 Kudos

Dear Friend,

Purchase order will get triggered based on the trasporter in Shippment cost.

What ever the open PO is available (based on the date you are creating shippment cost and PO date) for that transporter system will trigger that PO.

if you want to get different PO than system generated you can close that PO before creating Shippment cost, so that it will not get triggered.

Hope it helps..

Regards

Ramesh.

Former Member
0 Kudos

How do you close the shipment cost PO?

Former Member
0 Kudos

Hi Ankush

You can achieve the above scenario using the BADI called " BADI_SCD_PO_ SELECT".

In this badi you can put logic to create different PO while saving different shipment cost document.

In the above badi under the method 'Determination check " you can set the rule to create different PO for different shipment cost document.

You can reffer SAP note no 944937 BAdI: Purchase order item determination and creation.

I using the above note, u can achive the requirements, only thing, you have to give logic to abaper.

Thanks

Former Member
0 Kudos

Hi Ankush,

I am afraid, thats not possible in standard SAP.

But you can change the validity period of the POs, at the Item Category level.

At the Define Item Category --> change the "Generate PO" indicator to A / B or C - Generate purchase order for validity period of 1 day / week / month.

Hope this info helps.

regards

Former Member
0 Kudos

The Overall status of the Shipment Document determines whether a new Shipment cost document would be created or not.

So, in the customizing of the Shipment cost type ( t-code T_56) change the setting for Overall status Shipment (say from Shipment completion to Planned). Now if you create shipment cost document, a new document will be created even if status is Planned.

In actual scenario, the setting should always be "Shipment Completion"

because that makes sense.

Refer the below extract for more details:

"Necessary overall status of shipment for creation of a shipment cost document -

A shipment for which a shipment cost document of a certain shipment cost type is to be created, must first reach this overall status.

If shipment costs can first only be determined for a shipment if the final delivery quantities have been fixed, you can define that the overall status must be 'processed' for the corresponding shipment cost type.

<b>Overall transportation status</b> - The overall status of a shipment indicates the processing stage of a shipment.The overall status indicates the degree to which the shipment has been processed.Using this status, you can select shipments at a specific processingstage.The traffic light in the overview screens for the

shipments shows how far they have been processed.You can change the overall status of a shipment by setting a status during shipment processing.

The Staus are:

1. <b>Planned</b> Transportation planning is complete

2. <b>Check-in</b> Vehicle has arrived at the plant

3. <b>Loading start</b> Vehicle is being loaded or unloaded

4. <b>Loading end</b> Loading/unloading has finished

5. <b>Shpmt completion</b> Vehicle leaves plant

6. <b>Shipment start</b> Shipment begins

7. <b>Shipment end</b> Shipment ends

Thanks & Cheers

Former Member
0 Kudos

Thanks

But my question was how a new "Purchase Order" will get created when we save a shipment cost document. "Overall status flag" has no effect on creating a new Purchase order when we save the shipment cost document with transfer flag ON.

Pls help.