PCMPB SAP (Buffer table for production campaign item) Structure details

Dictionary Type: Structure
Description: Buffer table for production campaign item




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




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

PCMPB 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 "Buffer table for production campaign item" 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_PCMPB TYPE PCMPB.

The PCMPB table consists of various fields, each holding specific information or linking keys about Buffer table for production campaign item data available in SAP. These include MANDT (Client), PCMNR (Production campaign number), ZAEHL (Internal counter), POSNR (Item number of production campaign).. 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 PCMPB 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
MANDTClient MANDTCLNT3T000MANDT
PCMNRProduction campaign number PCMNRCHAR12PCMHALPHAPCMNRPKNPCMH
ZAEHLInternal counter CIM_COUNTNUMC8CIM_COUNT
POSNRItem number of production campaign PCM_POSNRCHAR4NUMCVVORNR
PLNUMPlanned order number PLNUMCHAR10Assigned to domainALPHAPLNUMPAF
AUFNROrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
AUFARTOrder type PAARTCHAR4PAART
AUFTYPOrder category AUFTYPNUMC2AUFTYP
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
CLOKZIndicator: Campaign item for cleanout CLOKZCHAR1XFELD
PCMPOSItem within a campaign PCMPOSINT13PCMPOS
VBKZUpdate indicator VBKZCHAR1VERBUCHER
DATUBValid-to date DATUBDATS8DATUM
AENNR_AUSChange Number AENNRCHAR12Assigned to domainAENNRAENNRAEN
VERIDProduction Version VERIDCHAR4Assigned to domainVERIDVER
ECKSTBasic start date CO_GSTRPDATS8DATUM
ECKSTTBasic start time CO_GSUZPTIMS6UHRZT
ECKEDBasic finish date CO_GLTRPDATS8DATUM
ECKEDTBasic finish (time) CO_GLUZPTIMS6UHRZT
DISPOMRP controller PLDSPCHAR3Assigned to domainDISPO
UMSKZConversion indicator for planned order PLUMSCHAR1XFELD
AUFFXFirming indicator for planned order data PLAFXCHAR1XFELD
TRARTScheduling type of the planned order TRARTCHAR1CHAR1
TERSTStart date for production TERSTDATS8DATUM
TEREDFinish date for production TEREDDATS8DATUM
PSTTIStart Time of Planned Order PSTTITIMS6UZEIT
PEDTIEnd Time of Planned Order PEDTITIMS6UZEIT
GSMNGTotal planned order quantity GSMNGQUAN13(3) MENG13
MEINSBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
FABKLFactory calendar key FABKLCHAR2Assigned to domainWFCID
FLG_SELVersion is valid on key date entered FLGSELCHAR1FLAG
PLNTYTask List Type PLNTYCHAR1Assigned to domainPLNTYPTYH_TCA01
PLNNRKey for Task List Group PLNNRCHAR8ALPHAPLNNRPLNPLKS
PLNALGroup Counter PLNALCHAR2ALPHAALTNRPAL
VBKZ_AUFNRUpdate indicator VBKZCHAR1VERBUCHER
UMSETZKZNew Input Values XFLAGCHAR1XFLAG
MARKIndicator: posting line selected? MARKCHAR1XFELD
OBJNRObject number J_OBJNRCHAR22Assigned to domainJ_OBJNRONR
PERTRPlanned opening date in planned order PERTRDATS8DATUM
FREI_FLAGCheckbox XFELDCHAR1XFELD
ENDRU_FLAGCheckbox XFELDCHAR1XFELD
IGMNGYield confirmed from order confirmation CO_IGMNGQUAN13(3) MENG13
GWEMGDelivered quantity CO_GWEMGQUAN13(3) MENG13
AVMNGFixed quantity of scrap from production AVMNGQUAN13(3) MENG13
FLG_SCRAPIndicator: Planning and recording of scrap FLG_SCRAPCHAR1XFELD
BPNOBusiness Process CO_PRZNRCHAR12Assigned to domainALPHACO_PRZNRKWP
LGORTStorage Location LGORT_DCHAR4Assigned to domainLGORTLAG
FLG_LOEVMDeletion flag AUFLOEKZCHAR1XFELD

Key field Non-key field



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

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

How to access SAP table PCMPB

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