SAP CEST2 CO-PA line-item plan data Table data and field list

CEST2 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 "CO-PA line-item plan 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_CEST2 TYPE CEST2.

The CEST2 table consists of various fields, each holding specific information or linking keys about CO-PA line-item plan data data available in SAP. These include PALEDGER (Currency type for an operating concern), VRGAR (Record Type), VERSI (Plan version (CO-PA)), PAOBJNR (Profitability Segment Number (CO-PA))... 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. .

CEST2 structure Technical Details:

Delivery Class: A - Application table (master and transaction data)
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified


SAP CEST2 structure fields - Full list of fields found in SAP data dictionary

Looking for S/4HANA specific information? Click here to explore the details, fields and extensibility available for this table in the SAP S/4HANA version of the CEST2 table. Also check whether the table still exists or has been transformed into a CDS view as part of the HANA simplifications.
Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
MANDTClient MANDTCLNT3T000MANDT
PALEDGERCurrency type for an operating concern LEDBOCHAR2TKELLEDBOLEDBO
VRGARRecord Type RKE_VRGARCHAR1TVGAVRGARVGA
VERSIPlan version (CO-PA) RKEVERSICHAR3TKVSALPHACOVERSIPVS
PAOBJNRProfitability Segment Number (CO-PA) RKEOBJNRNUMC10RKEOBJNR
PASUBNRProfitability segment changes (CO-PA) RKESUBNRNUMC4RKESUBNR
BELNRDocument number of line item in Profitability Analysis RKE_BELNRCHAR10ALPHABELNR
PERBLFiscal year/period block JAHRPERBLNUMC7PERI7JAHRPER
HZDATDate on Which Record Was Created ERDATDATS8DATUM
USNAMCreated by ERFASSERCHAR12USNAM
GJAHRFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
PAPAOBJNRPartner profitability segment number (CO-PA) RKEPOBJNUMC10RKEOBJNR
PAPASUBNRChanges to partner profitability segments (CO-PA) RKEPSUBNRNUMC4RKESUBNR
KNDNRCustomer KUNDE_PACHAR10KNA1ALPHAKUNNRVAG
ARTNRProduct number ARTNRCHAR18MARAMATN1MATNRMAT
FKARTBilling Type FKARTCHAR4TVFKFKART
FRWAEForeign currency key FRWAECUKY5TCURCWAERS
REC_WAERSCurrency of the data record RKE_REC_WAERSCUKY5TCURCWAERS
KAUFNSales Order Number KDAUFCHAR10VBUKALPHAVBELNAUN
KDPOSItem Number in Sales Order KDPOSNUMC6NUM06KPO
RKAUFNROrder Number AUFNRCHAR12AUFKALPHAAUFNRANR
SKOSTSender cost center SKOSTCHAR10CSKSALPHAKOSTLKSK
PRZNRSender Business Process SEPRZCHAR12CBPRALPHACO_PRZNRSEP
BUKRSCompany Code BUKRSCHAR4T001BUKRSBUKC_T001
KOKRSControlling Area KOKRSCHAR4TKA01CACCDCAC
WERKSPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
GSBERBusiness Area GSBERCHAR4TGSBGSBERGSB
VKORGSales Organization VKORGCHAR4TVKOVKORGVKOC_VKORG
VTWEGDistribution Channel VTWEGCHAR2TVTWVTWEGVTWC_VTWEG
SPARTDivision SPARTCHAR2TSPASPARTSPAC_SPART
HRKFTOrigins (CO-PA) RKEHERKCHAR4RKEHERK
KSTARCost Element KSTARCHAR10CSKAALPHAKSTARKAT
PSPNRWork Breakdown Structure Element (WBS Element) PS_PSP_PNRNUMC8PRPSKONPRPS_POSNR
KSTRGCost Object KSTRGCHAR12CKPHKSTRGKTR
RBELNReference document number for CO-PA line item RKERFBELNRCHAR10ALPHABELNR
RPOSNItem number from reference document (CO-PA) RKERFPOSNRCHAR6RKE_POSNR
PRCTRProfit Center PRCTRCHAR10CEPCALPHAPRCTRPRCPRCTR_EMPTY
PPRCTRPartner Profit Center PPRCTRCHAR10CEPCALPHAPRCTRPPC
RKESTATUUpdate status for CO-PA line items RKESTATUCHAR10RKESTATU
TIMESTMPTime created (Greenwich Meantime) RKE_HZSTMPDEC16RKE_TSTMP

Key field Non-key field



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

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

How to access SAP table CEST2

Within an ECC or HANA version of SAP you can also view further information about CEST2 and the data within it using relevant transactions such as

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