PRTHUPO SAP (Prototype Structure: HU Items) Structure details

Dictionary Type: Structure
Description: Prototype Structure: HU Items




ABAP Code to SELECT data from PRTHUPO
Related tables to PRTHUPO
Access table PRTHUPO




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
HUITEMIDUnique internal identification number for HU item PL_HUITEMIDINT410INT4
HUNUMProvisional HU number (number range object) PL_HUNUMCHAR22CHAR22
HUITEMItem number PL_HUITEMNUMC6NUM6
ITEMTYPEItem category in prototype HU item PL_ITTYPCHAR1PL_ITTYP
PGIDInternal identification number for a material to be packed PL_PGIDINT410INT4
MATNRMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
MAKTXMaterial Description (Short Text) MAKTXCHAR40TEXT40
CHARGBatch Number CHARG_DCHAR10Assigned to domainCHARGCHA
XCHARBatch management indicator (internal) XCHARCHAR1XFELD
XCHPFBatch management requirement indicator XCHPFCHAR1XFELD
BESTQStock Category in the Warehouse Management System BESTQCHAR1BESTQ
QPLOSInspection Lot Number QPLOSNUMC12Assigned to domainQPLOSQLSQALS
SOBKZSpecial Stock Indicator SOBKZCHAR1Assigned to domainSOBKZ
SONUMSpecial Stock Number LVS_SONUMCHAR16ALPHALVS_SONUM
REVLEVRevision Level REVLVCHAR2NUMCVREVLVRVS
VHARTPackaging Material Type VHIARTCHAR4Assigned to domainTRATY
MAGRVMaterial Group: Packaging Materials MAGRVCHAR4Assigned to domainMAGRV
RMATPReference material for materials packed in same way PL_RMATPCHAR18Assigned to domainMATN1MATNRMAT
VFDATShelf Life Expiration or Best-Before Date VFDATDATS8DATUM
SUB_HUNRProvisional HU number (number range object) PL_HUNUMCHAR22CHAR22
DOCTYPEDocument Category PL_DOCTYPECHAR2PL_DOCTYPE
DOCNUMDocument Number PL_DOCNUMCHAR20CHAR20
DOCITEMItem Number of the SD Document PL_DOCITEMNUMC6Assigned to domainPL_DOCITEM
RESOBJTYPEObject Key's Object Type HU_OBJECTCHAR2HU_OBJECT
RESOBJObject Key for Objects That are HU-Relevant HUOBJKEYCHAR22CHAR22
RESOBJITEMItem of an Object with HU-Relevance HUOBJITMNUMC6Assigned to domainVEPOS
TEXTNAMEIdentification for SAPscipt text module PL_TEXTNAMECHAR30CHAR30
JOINGRPGroup identification for goods that can be packed together PL_JOINGRPCHAR10CHAR10
INDNOHUItem that is not relevant for handling unit PL_INDNOHUCHAR1XFELD
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
LGORTStorage Location LGORT_DCHAR4Assigned to domainLGORTLAG
.INCLU--AP 0
LGORT_VONIssue Storage Location without HU Management PL_LGORT_VONCHAR4Assigned to domainLGORTLAG
KUNNRCustomer Numbers KUNNRCHAR10Assigned to domainALPHAKUNNRKUNC_KUNNR
VKORGSales Organization VKORGCHAR4Assigned to domainVKORGVKOC_VKORG
VTWEGDistribution Channel VTWEGCHAR2Assigned to domainVTWEGVTWC_VTWEG
SPARTDivision SPARTCHAR2Assigned to domainSPARTSPAC_SPART
VHILM_KUPartner's (Customer's or Vendor's) Packaging Material VHILM_KUCHAR35IDNEX
QTY_AQuantity (possibly in alternative unit of measure) PL_QUANTQUAN15(3) MENG15
TQTY_ATotal quantity (possibly in alternative unit of measure) PL_TQUNATQUAN15(3) MENG15
QUNIT_AUnit of measure PL_UNITQTYUNIT3Assigned to domainCUNITMEINS
QTY_BQuantity in base unit of measure PL_BASEQTYQUAN15(3) MENG15
TQTY_BTotal quantity in base unit of measure PL_TBASEQTYQUAN15(3) MENG15
QUNIT_BBase Unit of Measure MEINSUNIT3T006CUNITMEINS
PACKGROUPPacking group PL_PACKGROUPINT410INT4
PACKLEVELPacking level PL_LEVELNUMC5NUMC
ERRORError code of an item PL_POSERRORCHAR2PL_POSERROR
ROOTHUHU number of top HU (root) of a HU hierarchy PL_ROOTHUCHAR22CHAR22
HUNUM_TOPHU number in which the item is packed PL_HUNUM_TOPCHAR22CHAR22
PACKNRUnique internal packing object number PL_PACKNRCHAR22SYSUUID_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 as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!