PRTHUPO SAP (Prototype Structure: HU Items) Structure details
Description: Prototype Structure: HU Items
Structure field list including key, data, relationships and ABAP select examples
PRTHUPO 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 "Prototype Structure: HU Items" 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_PRTHUPO TYPE PRTHUPO.
The PRTHUPO table consists of various fields, each holding specific information or linking keys about Prototype Structure: HU Items data available in SAP. These include HUNUM (Provisional HU number (number range object)), HUITEM (Item number), ITEMTYPE (Item category in prototype HU item), PGID (Internal identification number for a material to be packed).. 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 PRTHUPO 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 |
HUITEMID | Unique internal identification number for HU item | PL_HUITEMID | INT4 | 10 | INT4 | ||||
HUNUM | Provisional HU number (number range object) | PL_HUNUM | CHAR | 22 | CHAR22 | ||||
HUITEM | Item number | PL_HUITEM | NUMC | 6 | NUM6 | ||||
ITEMTYPE | Item category in prototype HU item | PL_ITTYP | CHAR | 1 | PL_ITTYP | ||||
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 | ||||
QTY_A | Quantity (possibly in alternative unit of measure) | PL_QUANT | QUAN | 15(3) | MENG15 | ||||
TQTY_A | Total quantity (possibly in alternative unit of measure) | PL_TQUNAT | QUAN | 15(3) | MENG15 | ||||
QUNIT_A | Unit of measure | PL_UNITQTY | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
QTY_B | Quantity in base unit of measure | PL_BASEQTY | QUAN | 15(3) | MENG15 | ||||
TQTY_B | Total quantity in base unit of measure | PL_TBASEQTY | QUAN | 15(3) | MENG15 | ||||
QUNIT_B | Base Unit of Measure | MEINS | UNIT | 3 | T006 | CUNIT | MEINS | ||
PACKGROUP | Packing group | PL_PACKGROUP | INT4 | 10 | INT4 | ||||
PACKLEVEL | Packing level | PL_LEVEL | NUMC | 5 | NUMC | ||||
ERROR | Error code of an item | PL_POSERROR | CHAR | 2 | PL_POSERROR | ||||
ROOTHU | HU number of top HU (root) of a HU hierarchy | PL_ROOTHU | CHAR | 22 | CHAR22 | ||||
HUNUM_TOP | HU number in which the item is packed | PL_HUNUM_TOP | CHAR | 22 | CHAR22 | ||||
PACKNR | Unique internal packing object number | PL_PACKNR | CHAR | 22 | SYSUUID_22 |
Key field | Non-key field |
How do I retrieve data from SAP structure PRTHUPO using ABAP code?
As PRTHUPO 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 PRTHUPO as there is no data to select.How to access SAP table PRTHUPO
Within an ECC or HANA version of SAP you can also view further information about PRTHUPO 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