HUPO_DATA SAP (HU: HU Item Data) Structure details
Description: HU: HU Item Data
Structure field list including key, data, relationships and ABAP select examples
HUPO_DATA 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 "HU: HU Item Data" 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_HUPO_DATA TYPE HUPO_DATA.
The HUPO_DATA table consists of various fields, each holding specific information or linking keys about HU: HU Item Data data available in SAP. These include MATNR (Material Number), MAKTX (Material Description (Short Text)), CHARG (Batch Number), XCHAR (Batch management indicator (internal)).. 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 HUPO_DATA 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 |
PGID | Internal identification number for a material to be packed | PL_PGID | INT4 | 10 | INT4 | ||||
MATNR | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
MAKTX | Material Description (Short Text) | MAKTX | CHAR | 40 | TEXT40 | ||||
CHARG | Batch Number | CHARG_D | CHAR | 10 | Assigned to domain | CHARG | CHA | ||
XCHAR | Batch management indicator (internal) | XCHAR | CHAR | 1 | XFELD | ||||
XCHPF | Batch management requirement indicator | XCHPF | CHAR | 1 | XFELD | ||||
BESTQ | Stock Category in the Warehouse Management System | BESTQ | CHAR | 1 | BESTQ | ||||
QPLOS | Inspection Lot Number | QPLOS | NUMC | 12 | Assigned to domain | QPLOS | QLS | QALS | |
SOBKZ | Special Stock Indicator | SOBKZ | CHAR | 1 | Assigned to domain | SOBKZ | |||
SONUM | Special Stock Number | LVS_SONUM | CHAR | 16 | ALPHA | LVS_SONUM | |||
REVLEV | Revision Level | REVLV | CHAR | 2 | NUMCV | REVLV | RVS | ||
VHART | Packaging Material Type | VHIART | CHAR | 4 | Assigned to domain | TRATY | |||
MAGRV | Material Group: Packaging Materials | MAGRV | CHAR | 4 | Assigned to domain | MAGRV | |||
RMATP | Reference material for materials packed in same way | PL_RMATP | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | |
VFDAT | Shelf Life Expiration or Best-Before Date | VFDAT | DATS | 8 | DATUM | ||||
SUB_HUNR | Provisional HU number (number range object) | PL_HUNUM | CHAR | 22 | CHAR22 | ||||
DOCTYPE | Document Category | PL_DOCTYPE | CHAR | 2 | PL_DOCTYPE | ||||
DOCNUM | Document Number | PL_DOCNUM | CHAR | 20 | CHAR20 | ||||
DOCITEM | Item Number of the SD Document | PL_DOCITEM | NUMC | 6 | Assigned to domain | PL_DOCITEM | |||
RESOBJTYPE | Object Key's Object Type | HU_OBJECT | CHAR | 2 | HU_OBJECT | ||||
RESOBJ | Object Key for Objects That are HU-Relevant | HUOBJKEY | CHAR | 22 | CHAR22 | ||||
RESOBJITEM | Item of an Object with HU-Relevance | HUOBJITM | NUMC | 6 | Assigned to domain | VEPOS | |||
TEXTNAME | Identification for SAPscipt text module | PL_TEXTNAME | CHAR | 30 | CHAR30 | ||||
JOINGRP | Group identification for goods that can be packed together | PL_JOINGRP | CHAR | 10 | CHAR10 | ||||
INDNOHU | Item that is not relevant for handling unit | PL_INDNOHU | CHAR | 1 | XFELD | ||||
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
LGORT | Storage Location | LGORT_D | CHAR | 4 | Assigned to domain | LGORT | LAG | ||
.INCLU--AP | 0 | ||||||||
LGORT_VON | Issue Storage Location without HU Management | PL_LGORT_VON | CHAR | 4 | Assigned to domain | LGORT | LAG | ||
KUNNR | Customer Numbers | KUNNR | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | KUN | C_KUNNR |
VKORG | Sales Organization | VKORG | CHAR | 4 | Assigned to domain | VKORG | VKO | C_VKORG | |
VTWEG | Distribution Channel | VTWEG | CHAR | 2 | Assigned to domain | VTWEG | VTW | C_VTWEG | |
SPART | Division | SPART | CHAR | 2 | Assigned to domain | SPART | SPA | C_SPART | |
VHILM_KU | Partner's (Customer's or Vendor's) Packaging Material | VHILM_KU | CHAR | 35 | IDNEX |
Key field | Non-key field |
How do I retrieve data from SAP structure HUPO_DATA using ABAP code?
As HUPO_DATA 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 HUPO_DATA as there is no data to select.How to access SAP table HUPO_DATA
Within an ECC or HANA version of SAP you can also view further information about HUPO_DATA 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