Menu

SAP Function Module HU_CREATE_ONE_HU

Create One HU Including Items

Recommended Now

All-new Echo Dot Smart speaker with Alexa

This bundle includes Echo Dot (3rd Gen) Charcoal and Philips Hue White A19 Medium Lumen Smart Bulb, 1100 Lumens. Built in Smart Home hub. Ask Alexa to control Zigbee-compatible devices. No additional Philips Hue hub required. Two choices for easy smart lighting - Start setting the mood with Hue Smart bulbs and your Echo device, supporting up to 5 Hue Bluetooth & Zigbee smart bulbs. Add the Hue Hub for whole-home smart lighting (up to 50 light points) and bonus features.

Check it out on amazon.com →

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