Ansicht
Dokumentation

/SAPAPO/TR_MAINTAIN_DELETE - Delete Transportation Lanes (Buffered)

/SAPAPO/TR_MAINTAIN_DELETE - Delete Transportation Lanes (Buffered)

RFUMSV00 - Advance Return for Tax on Sales/Purchases   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Deletion of transportation lanes (using global maintenance buffer tables)

For the key of transportation lanes specified, all corresponding transportation lanes are set to deleted in the global buffer table for lane maintenance (g_xxx_tab). Here, there is a check whether orders still exist at the transportation lanes for the product entries (TRPROD entries). If this is the case, a pop-up appears 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 Supply Chain Engineer. The posting (the deletion of the corresponding entries in the database) only occurs when 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

PERFORM Short Reference   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 1467 Date: 20240425 Time: 025835     sap01-206 ( 39 ms )