Ansicht
Dokumentation

HU_CREATE_ONE_HU - Create One HU Including Items

HU_CREATE_ONE_HU - Create One HU Including Items

ABAP Short Reference   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module creates a HU header. The handling unit can be created with or without items. In addition, serial numbers can already be transferred for each handling unit item.
Nested handling units can be created when a multiple call of the function module is carried out.

When creating handling units including items, the calling program can use a parameter to control whether the created handling unit is to receive stock information.
In a multiple call, the parameter IF_CREATE_HU must always be set in the same way. Handling units with and without stock cannot be created simultaneously.
Before this function module is called for the first time, the function module HU_INITIALIZE_PACKING should always be called. This function module must be called for the creation of handling units with stock because it is required for the creation of the HU-managed storage location.

After successfully creating one or more handling units, the packing data must be posted with the function module "HU_POST".

Example

Creation of a non-assigned handling unit of the Packing material PALLET:

  1. IS_OBJECT: is_object-object = '06'.
  2. IS_HEADER_PROPOSAL: is_header_proposal-exidv = '$1'
    is_header_proposal-VHILM = 'PALLET'
    is_header_proposal-status = '0001'.

Notes

The IS_WM structure can only be set by Warehouse Management. If it is transferred, no handling units are created in the database.

Further information

For a more detailed description of how to fill the parameters, refer to the documentation for the individual parameters.





Parameters

ES_HEADER
ET_ITEMS
ET_MESSAGES
IF_CREATE_HU
IS_HEADER_ADD
IS_HEADER_CAPACITY
IS_HEADER_PROPOSAL
IS_HEADER_TRANSPORT
IS_WM
IT_ITEMS
IT_SERIAL_NR

Exceptions

FATAL_ERROR
HEADER_ERROR
INPUT_MISSING
ITEM_ERROR
NOT_POSSIBLE
SERIAL_NR_ERROR

Function Group

V51E

ROGBILLS - Synchronize billing plans   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 3173 Date: 20240523 Time: 115825     sap01-206 ( 52 ms )