This function module registers finished handling units (HU) in the ERP system. Since handling units can be nested (for example, small cartons on a pallet in a container) and can each still have packing aids (lids, filling material, etc.), a system is used that maps this nesting.
Variable Name | Type | Content |
---|---|---|
General | ||
IV_WERK | String | plant number |
Object IT_VERPACKUNGSDATEN | ||
ARBPL | String | work center name |
AUFNR | String | order number |
CHARG | String | HU number of the first packaging element (if cartons are on a pallet, the HU of the pallet is indicated). |
EXIDV | String | for packing aids, the HU number of the assigned element, otherwise your own HU number |
MATNR | String | material number of the packed goods |
UEVEL | String | for packing aids empty, for the top element also empty, otherwise the parent element |
VEMEH | String | base unit of measure (quantity) |
VEMNG | String | quantity |
VHILM | String | packaging material number |
Variable Name | Type | Content |
---|---|---|
General | ||
EV_Error | String | X=error occurred |
The return value is AA_FEHLERTEXT, a variable of data type String. It contains more detailed information about the error in case of an error. If EV_ERROR does not show an error, other status messages can also be located here. Therefore EV_ERROR must be evaluated for error checking and not only AA_FEHLERTEXT.