BAPIHUITEM SAP (Structure for Handling Unit Item) Structure details
Description: Structure for Handling Unit Item
Structure field list including key, data, relationships and ABAP select examples
BAPIHUITEM is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "Structure for Handling Unit Item" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_BAPIHUITEM TYPE BAPIHUITEM.
The BAPIHUITEM table consists of various fields, each holding specific information or linking keys about Structure for Handling Unit Item data available in SAP. These include HU_ITEM_NUMBER (Handling Unit Item), HU_ITEM_TYPE (Type of Handling-unit Item Content), OBJECT_DOC (Document number of the packed item), OBJ_ITEM_NUMBER (Item number).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
SAP BAPIHUITEM structure fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
CLIENT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
HU_ITEM_NUMBER | Handling Unit Item | VEPOS | NUMC | 6 | Assigned to domain | VEPOS | |||
HU_ITEM_TYPE | Type of Handling-unit Item Content | VELIN | CHAR | 1 | VELIN | ||||
OBJECT_DOC | Document number of the packed item | VV_BELNR | CHAR | 10 | Assigned to domain | ALPHA | VBELN | ||
OBJ_ITEM_NUMBER | Item number | VV_POSNR | NUMC | 6 | Assigned to domain | POSNR | |||
PACK_QTY | Base Quantity Packed in the Handling Unit Item | VEMNG | QUAN | 15(3) | MENG15 | ||||
PACK_QTY_FLOAT | Internal field/ Do not use / LGMNG in float / MUM | LGMNG_FLO | FLTP | 16(16) | FLTP | ||||
BASE_UNIT_QTY_ISO | Base unit of measure of packed quantity (VEMNG) ISO | VEMEH_ISO | CHAR | 3 | Assigned to domain | ISOCD_UNIT | |||
BASE_UNIT_QTY | Base Unit of Measure of the Quantity to be Packed (VEMNG) | VEMEH | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
ALT_UNIT_QTY_ISO | Alternative unit of measure for stock unit ISO | VV_ALTME_ISO | CHAR | 3 | Assigned to domain | ISOCD_UNIT | |||
LOWER_LEVEL_EXID | External Handling Unit Identification | EXIDV | CHAR | 20 | ALPHA | EXIDV | HU_IDENT_ALLG | ||
ALT_UNIT_QTY | Alternative unit of measure for stock unit of measure | VV_ALTME | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
NUMBER_PACK_MAT | Number of Auxiliary Packaging Materials in the HU Item | VEANZ | INT4 | 10 | ANZGL | ||||
FLAG_SUPLMT_ITEM | Indicator: Supplementary item | KZBEI | CHAR | 1 | XFELD | ||||
MATERIAL | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
BATCH | Batch Number | CHARG_D | CHAR | 10 | Assigned to domain | CHARG | CHA | ||
PLANT | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
STGE_LOC | Storage Location | LGORT_D | CHAR | 4 | Assigned to domain | LGORT | LAG | ||
INT_OBJ_NO | Configuration (internal object number) | CUOBJ | NUMC | 18 | CUOBJ | CUX | |||
STOCK_CAT | Stock Category in the Warehouse Management System | BESTQ | CHAR | 1 | BESTQ | ||||
SPEC_STOCK | Special Stock Indicator | SOBKZ | CHAR | 1 | Assigned to domain | SOBKZ | |||
SP_STCK_NO | Special Stock Number | LVS_SONUM | CHAR | 16 | ALPHA | LVS_SONUM | |||
INSPLOT | Inspection Lot Number | QPLOS | NUMC | 12 | Assigned to domain | QPLOS | QLS | QALS | |
NO_OF_SERIAL_NUMBERS | Number of serial numbers | ANZSN | INT4 | 10 | INT4 | ||||
SERNO_PROF | Serial Number Profile | SERAIL | CHAR | 4 | Assigned to domain | SERAIL | |||
ITEM_CATEG | Sales document item category | PSTYV | CHAR | 4 | Assigned to domain | PSTYV | |||
MATERIAL_PARTNER | Material number of partner (customer / supplier) | HU_P_MAT | CHAR | 35 | IDNEX | ||||
PACK_MAT_TYPE | Packaging Material Type | VHIART | CHAR | 4 | Assigned to domain | TRATY | |||
PACK_MAT_NAME | Description of Packaging Material | VEBEZ | CHAR | 40 | TEXT40 | ||||
EXPIRYDATE | Shelf Life Expiration or Best-Before Date | VFDAT | DATS | 8 | DATUM | ||||
GR_DATE | Date of Goods Receipt | LVS_WDATU | DATS | 8 | DATUM | ||||
HU_EXID | External Handling Unit Identification | EXIDV | CHAR | 20 | ALPHA | EXIDV | HU_IDENT_ALLG | ||
MATERIAL_EXTERNAL | Long Material Number for MATERIAL Field | MGV_MATERIAL_EXTERNAL | CHAR | 40 | MATNR_EXT | ||||
MATERIAL_GUID | External GUID for MATERIAL Field | MGV_MATERIAL_GUID | CHAR | 32 | MATNR_EGUID | ||||
MATERIAL_VERSION | Version Number for MATERIAL Field | MGV_MATERIAL_VERSION | CHAR | 10 | MATNW | MATNR_VERS |
Key field | Non-key field |
How do I retrieve data from SAP structure BAPIHUITEM using ABAP code?
As BAPIHUITEM is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on BAPIHUITEM as there is no data to select.How to access SAP table BAPIHUITEM
Within an ECC or HANA version of SAP you can also view further information about BAPIHUITEM and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects