Ansicht
Dokumentation

VHUDLVHU_DELIVERY_UPDATE - NOTRANSL: Hinzufügen von HUs zu Lieferung

VHUDLVHU_DELIVERY_UPDATE - NOTRANSL: Hinzufügen von HUs zu Lieferung

CL_GUI_FRONTEND_SERVICES - Frontend Services   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

With this function module, handling units can be assigned to an existing delivery. The parameters of the handling units (for example, material, plant and storage location) must coincide with the parameters of the delivery items. The HUs must have a reference to a sales order (preceding document of the delivery) and a reference to this delivery. Goods receipt must have been posted for the HUs, and they must not be assigned to a different document.

The function is possible for HUs in storage locations which are not WM-managed, for HUs in Lean-WM-managed storage locations and for HUs in Full-WM-managed storage locations.

In Full-WM, a reference is created for the delivery. Then the system generates a transfer order. When determining which stocks can be picked, the system only takes storage units into account which correspond to the desired HU. Once the transfer order has been confirmed, the HUs are included in the delivery.

Lean-WM only works with automatic confirmations.

The function module can also add the new deliveries to a shipment. This function depends on the import parameter IF_TKNUM (filled with a shipment number).

Example

Notes

The function module is called up via a quantity of HUs (top HUs) (IT_ROOTS) and the delivery to be changed. The module can either be called up when the user enters a delivery number (IF_DELIVERY) or with the structure CS_LIKP and the complete table CT_LIPS. In the first case, the delivery is read and the unpacked quantity per delivery item is determined. In the second case, this information must already be contained in the table CT_LIPS (for example, when call up from VL10HU).

Depending on the import parameter IF_DLVPROT, a log output can be activated.

The field IF_UPD_QUANTITY is not active at the moment.

Further information





Parameters

CF_LOG_HANDLE
CS_LIKP
CT_LIPS
EF_DLV_NOT_IN_SHPMT
ET_NEW_DLV
IF_DELIVERY
IF_DLVEXT
IF_DLVPROT
IF_SPLALW
IF_TKNUM
IT_ROOTS

Exceptions

DELIVERY_NOT_UPDATED
ERROR_MESSAGE
ERROR_READ_SHPMNT
MIXED_STGLOC
MM_ORDERS_LOCKED
NO_DELIVERY_AVAILABLE
NO_ITEMS_FOR_VENUMS
NO_SHPMNT_NUMBER
NO_TOP_HU
PROCESSES_NOT_ALLOWED
PROGRAM_ERROR
SD_ORDERS_LOCKED
WRONG_SHPMNT_STATUS

Function Group

VHUDLVHU

RFUMSV00 - Advance Return for Tax on Sales/Purchases   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 2612 Date: 20240523 Time: 125551     sap01-206 ( 66 ms )