Ansicht
Dokumentation
/VSO/P_SHPMT_HU_ENVIRONMENT - NOTRANSL: Prüfen und Vorbereiten des Anlegens HUs der Laderaumoptimierung
General Material Data General Data in Customer MasterThis documentation is copyright by SAP AG.
Functionality
This function module is used to check the VSO HU situation in the Vehicle Space Optimization context. This function module is called by the /VSO/P_PROC_SYNC_HU report that reads the /vso/p_hu_sync table. This Sync table contains shipments for which it may already be possible to create handling units.
The import parameters transferred are the shipment number and an indicator to define whether the handling units which the system creates per pallet are to be additionally packed in a so-called vehicle handling unit. But this indicator is more relevant to the /VSO/P_HU_CREATE function module.
The system first blocks the shipment and then reads its deliveries using LE_DELIVERY_GET_BUFFERED which simultaneously blocks the deliveries, too. Then the system checks the header status of the deliveries (LVSTK = C and KOSTK = C) or (LVSTK = ' ' and KOSTK = C) or (KOSTK = ' ').
Only after all deliveries, i.e. the picking operations for the whole shipment, have been completed, the function module for creating the handling units (/VSO/P_HU_CREATE) can be called. If the handling units have been created successfully (check of the log file), the entry for the shipment can be deleted from the Sync table.
Example
Notes
Further information
Parameters
ET_LOGFILEIF_IND_HU_CREATE
IF_TKNUM
Exceptions
INTERNAL_ERRORFunction Group
/SAPLP_HU2CL_GUI_FRONTEND_SERVICES - Frontend Services CL_GUI_FRONTEND_SERVICES - Frontend Services
This documentation is copyright by SAP AG.
Length: 1605 Date: 20240328 Time: 151045 sap01-206 ( 44 ms )