/SAPAPO/TR_MAINTAIN_DELETE - Delete Transportation Lanes (Buffered)

Addresses (Business Address Services)   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Functionality

Deletion of transportation lanes (using global maintenance buffer tables)

For the key of transportation lanes specified, all corresponding transportation lanes are set to deletedin the global buffer table for lane maintenance (g_xxx_tab). Here, there is a check whether orders stillexist at the transportation lanes for the product entries (TRPROD entries). If this is the case, a pop-upappears with a corresponding note and the deletion of transportation lanes is terminated. Otherwise,the transportation lanes are set to deleted and they are removed from the tree and map in the SupplyChain Engineer. The posting (the deletion of the corresponding entries in the database) only occurswhen function module /sapapo/tr_maintain_save is called. Function module /sapapo/tr_maintain_delete is used to delete transportation lanes from the Supply Chain Engineer.

Procedure: Initialize the global buffer tables for the lanes given

Check if orders exist for products

Delete all entries in the buffer tables for the lanes given (that is, set the deletion indicator (updatef = 'D')).

Example

Notes

Further information


Parameters

I_MODEL
I_TR_TAB

Exceptions

NOT_DELETED

Function Group

APO/SAPLOO_TR_TLANE_MAINT

Vendor Master (General Section)   General Data in Customer Master  
This documentation is copyright by SAP AG.


Length: 1373 Date: 20120525 Time: 111100     triton ( 76 ms )