PCK_DATA SAP (Packing data) Structure details

Dictionary Type: Structure
Description: Packing data




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




Structure field list including key, data, relationships and ABAP select examples

PCK_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 "Packing 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_PCK_DATA TYPE PCK_DATA.

The PCK_DATA table consists of various fields, each holding specific information or linking keys about Packing 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 PCK_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
ITEMTYPEItem category in HU proposal PL_NODETYPECHAR1PL_NODETYPE
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
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
INDMAPACOLoad carrier indicator PL_MAPACOCHAR1XFELD
INDNOHUItem that is not relevant for handling unit PL_INDNOHUCHAR1XFELD
PACKSTATUPacking status with icon representation PL_PCKSTATCHAR40CHAR40
PINSTR_IDIdentification number of packing instruction PL_PIIDCHAR20ALPHAPL_EXIDVPIIDPL_PI0
PINSTR_TEXTShort text for packing instruction PL_PICONTENTCHAR40TEXT40
CML_PACKGOODMaterial number of material to be packed in the HU hierarchy PL_CMLMATNRCHAR18Assigned to domainMATN1MATNR
CMLQTY_AQty of mat. to be packed accumulated through pack.hierarchy PL_CMLQTYQUAN15(3) MENG15
TEXTNAMEIdentification for SAPscipt text module PL_TEXTNAMECHAR30CHAR30
ERRORError code of an item PL_POSERRORCHAR2PL_POSERROR
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
POSTYPItem category in prototype HU item PL_ITTYPCHAR1PL_ITTYP
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
LGORTStorage Location LGORT_DCHAR4Assigned to domainLGORTLAG
COMPONENTComponent (gen.field for matl, packaging matl or pkg instr.) PL_COMPONENTCHAR40CHAR40
CONTENTDescription of object to be packed PL_CONTENTCHAR40TEXT40
PACKINSTIdentification number of packing instruction PL_PIIDCHAR20ALPHAPL_EXIDVPIIDPL_PI0
PI_CONTENTShort text for packing instruction PL_PICONTENTCHAR40TEXT40

Key field Non-key field



How do I retrieve data from SAP structure PCK_DATA using ABAP code?

As PCK_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 PCK_DATA as there is no data to select.

How to access SAP table PCK_DATA

Within an ECC or HANA version of SAP you can also view further information about PCK_DATA 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!