Menu

SAP Function Module HU_CREATE_ONE_HU

Create One HU Including Items

Unsere Literaturempfehlung

Kundeneigene Erweiterungen mit ABAP: User-Exits, klassische und neue BAdIs, Switch und Enhancement Framework

Alle Technologien in einem Band! Ob Sie zukunftssichere Erweiterungen programmieren oder mit den Modifikationen in Ihren SAP-Systemen aufräumen möchten – hier erhalten Sie das erforderliche Wissen. Jede Methode wird ausführlich und mit Codebeispielen erläutert: User-Exits, klassische und neue BAdIs, Business Transaction Events, implizite und explizite Erweiterungspunkte u. v. m.

Bei amazon.de ansehen →

The Function Module HU_CREATE_ONE_HU (Create One HU Including Items) is a standard Function Module in SAP ERP and is part of the function group V51E within the package HANDLING_UNITS.

Technical Information

Function Module HU_CREATE_ONE_HU
Short Text Create One HU Including Items
Function Group V51E
Package HANDLING_UNITS
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
IF_CREATE_HU TYPE XFELD Create Handling Units with Stock
IS_HEADER_ADD LIKE HUHDR_ADDITIONAL_DATA Non-functional Additional Data
IS_HEADER_CAPACITY LIKE HUHDR_CAPACITY Weight, Volume and Dimension Specifications
IS_HEADER_PROPOSAL LIKE HUHDR_PROPOSAL Mandatory Data for Creating an HU Header
IS_HEADER_TRANSPORT LIKE HUHDR_TRANSPORT Additional Data that is Relevant for Shipments
IS_WM TYPE VSEP_S_WMSP Creation of an Inventory HU for WM
IT_ITEMS TYPE HUITM_PROP System Suggestion for Items to be Created
IT_SERIAL_NR TYPE HUM_REP_SERNR_T Serial Numbers for the Items to be Created

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ES_HEADER LIKE VEKPVB HU Header that was Created
ET_ITEMS TYPE HUM_HU_ITEM_T HU Items that were Created
ET_MESSAGES TYPE HUITEM_MESSAGES_T Table with Error Messages

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
FATAL_ERROR Internal Error
HEADER_ERROR HU Header Data Contains Incorrect Data
INPUT_MISSING Data that is Necessary for Creation is Missing
ITEM_ERROR Items Cannot be Created
NOT_POSSIBLE HU Creation not Possible
SERIAL_NR_ERROR Serial Number Error