cancel
Showing results for 
Search instead for 
Did you mean: 

Trigger for an output for a deleted delivery

Former Member
0 Kudos

Hello!

We tender our loads via an external freight costing system - when a delivery is fully picked, we send the output to this external system and when a shipment document is subsequently created, we fetch the freight rates from there again to accrue in SAP via the shipment cost documents.

That external system traps our data and apart from reporting the freight costs associated with every load, also pays our respective carriers. Occasionally, it happens, that even after a shipment document was created, our orders get canceled or there was something wrong in the delivery (batches, quantity, incorrect shipping point/plant used etc) and we are forced to delete the delivery and do not ship out the goods. When this occurs, we currently have no provision of sending any output to update this external data base with the external system.

We are looking to develop and output that will get triggered if a delivery is deleted so it can send an indicator or something to this external system which can then update it's own system, deleting this load from there so we don't have discrepancies between what was actually tendered and what was not. How can this be achieved? Can a requirement be set up to trigger this new output? If so, what sould it be? Will it still trigger even though the delivery is deleted?

Any other way to accomplish this? Appreciate any ideas.

Many thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Dear Friend,

You can create an output type ZDEL in shipment with the help of ABAPers for trigerring an Idoc. The moment Delivery is deleted in a shipment and saved, out put should be triggered with deleted Delivery number. It should be event driven and output should be sent to External system.

Ganesh

Former Member
0 Kudos

Thanks, Ganesh. But we are looking to trigger the output when the delivery itself is deleted, not when it is taken off from the shipment document. Our reporting from that system is on the basis of the deliveries, not the SAP shipment documents and we need a process to over write that data for the delivery numbers that are deleted. Anything we can do for that?

0 Kudos

This message was moderated.

Answers (0)