Ansicht
Dokumentation

HU_DELETE_HU - Delete HUs with and Without Lower-level HUs

HU_DELETE_HU - Delete HUs with and Without Lower-level HUs

General Material Data   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Deletion of a handling unit.
The handling unit that is identified with the IF_VENUM or IF_EXIDV parameter is deleted. If the handling unit is contained in a higher-level handling unit, it is unpacked first.

If the handling unit contains other lower-level handling units, the IF_WITH_LOWER parameter can be used to decide whether the complete lower-level hierarchy is to be deleted.

Notes

The deletion of handling units is only possible if packing has been initialized beforehand. The handling unit that is to be deleted must have already been read from the database and locked.

Further information

The initialization of the process takes place using function module HU_INITIALIZE_PACKING, or HU_GET_HUS.





Parameters

IF_BAPI_CALL
IF_EXIDV
IF_VENUM
IF_WITH_LOWER
LT_ITEMS

Exceptions

FATAL_ERROR
NOT_FOUND
NOT_POSSIBLE
SNR_PROBLEM

Function Group

V51E

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 1763 Date: 20240523 Time: 101127     sap01-206 ( 30 ms )