PCK_DATA SAP (Packing data) Structure details
Description: Packing 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 |
ITEMTYPE | Item category in HU proposal | PL_NODETYPE | CHAR | 1 | PL_NODETYPE | ||||
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 | ||||
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 | ||
INDMAPACO | Load carrier indicator | PL_MAPACO | CHAR | 1 | XFELD | ||||
INDNOHU | Item that is not relevant for handling unit | PL_INDNOHU | CHAR | 1 | XFELD | ||||
PACKSTATU | Packing status with icon representation | PL_PCKSTAT | CHAR | 40 | CHAR40 | ||||
PINSTR_ID | Identification number of packing instruction | PL_PIID | CHAR | 20 | ALPHA | PL_EXIDV | PIID | PL_PI0 | |
PINSTR_TEXT | Short text for packing instruction | PL_PICONTENT | CHAR | 40 | TEXT40 | ||||
CML_PACKGOOD | Material number of material to be packed in the HU hierarchy | PL_CMLMATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | ||
CMLQTY_A | Qty of mat. to be packed accumulated through pack.hierarchy | PL_CMLQTY | QUAN | 15(3) | MENG15 | ||||
TEXTNAME | Identification for SAPscipt text module | PL_TEXTNAME | CHAR | 30 | CHAR30 | ||||
ERROR | Error code of an item | PL_POSERROR | CHAR | 2 | PL_POSERROR | ||||
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 | |||
POSTYP | Item category in prototype HU item | PL_ITTYP | CHAR | 1 | PL_ITTYP | ||||
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 | ||
COMPONENT | Component (gen.field for matl, packaging matl or pkg instr.) | PL_COMPONENT | CHAR | 40 | CHAR40 | ||||
CONTENT | Description of object to be packed | PL_CONTENT | CHAR | 40 | TEXT40 | ||||
PACKINST | Identification number of packing instruction | PL_PIID | CHAR | 20 | ALPHA | PL_EXIDV | PIID | PL_PI0 | |
PI_CONTENT | Short text for packing instruction | PL_PICONTENT | CHAR | 40 | TEXT40 |
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 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