SAP COCF_S_SR_DATA Shift Report Data Table data and field list

COCF_S_SR_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 "Shift Report 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_COCF_S_SR_DATA TYPE COCF_S_SR_DATA.

The COCF_S_SR_DATA table consists of various fields, each holding specific information or linking keys about Shift Report Data data available in SAP. These include SR_ORIGIN (Origin or Use of Shift Note or Report), PLANT (Plant), TYP (Object types of the CIM resource), ARBHI (Name of Work Center or Hierarchy)... 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. .

COCF_S_SR_DATA structure Technical Details:

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can Be Enhanced (Deep)


SAP COCF_S_SR_DATA 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 COCF_S_SR_DATA 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
META 0
SR_ORIGINOrigin or Use of Shift Note or Report COCF_SRN_ORIGINNUMC2COCF_SRN_ORIGIN
PLANTPlant WERKS_DCHAR4WERKSWRKH_T001W_C
TYPObject types of the CIM resource CR_OBJTYCHAR2CR_OBJTY
ARBHIName of Work Center or Hierarchy COCF_SRN_ARBHICHAR10COCF_SH_SRN_ARBHI
FUNCT_LOCFunctional Location TPLNRCHAR30TPLNRTPLNRIFLIFLM
EQUIPMENTEquipment Number EQUNRCHAR18ALPHAEQUNREQNEQUI
COUNTERRunning Number for Shift Reports with Same Key COCF_SR_KEY_CNTNUMC2
START_DATEStart of Evaluation Period COCF_SR_START_DATEDATS8
START_TIMEStart Time of Evaluation Period COCF_SR_START_TIMETIMS6
END_DATEEnd of Evaluation Period COCF_SR_END_DATEDATS8
END_TIMEEnd Time of Evaluation Period COCF_SR_END_TIMETIMS6
STATUSStatus of Shift Report COCF_SR_STATUSCHAR10COCF_SR_STATUS
TIME_ZONETime Zone TZNZONECHAR6TZNZONE
ERNAMName of Person who Created the Object ERNAMCHAR12USNAM
AENAMName of Person Who Changed Object AENAMCHAR12USNAM
LANGULanguage Key SPRASLANG1ISOLASPRASSPRH_T002
PRODSUPPerson Responsible for Shift COCF_PRODUCTION_SUPERVISORCHAR12XUBNAMEUSER_COMP
SIGNERSignatory of Digital Signature SIGNERCHAR12XUBNAME
ERDATDate on Which Record Was Created ERDATDATS8DATUM
ERZETEntry time ERZETTIMS6UZEIT
AEDATChanged On AEDATDATS8DATUM
AEZETTime last change was made AEZETTIMS6UZEIT
SCHGRUPGrouping for Shift Definitions and Shift Sequences SCHGRUPCHAR2SCHGRUP
KAPTPROGShift definition KAPTPROGCHAR4KAPTPROG
HASH_PDFHash Value (160 Bits) HASH160XRAW20
ADD 0
OBJIDObject ID of the resource CR_OBJIDNUMC8CR_OBJID
TIMESTAMPUTC Time Stamp in Short Form (YYYYMMDDhhmmss) TIMESTAMPDEC15TZNTSTMPS
LOCKEDCheckbox XFELDCHAR1XFELD
RANKRank in the hit list SRET_RANKVNUMC5SRET_RANKV
FILENAMEShift Report: File Name COCF_SR_FILENAMECHAR70SHIFT_REPORT_NAME
PATHShift Report: Storage Path in KM COCF_SR_PATHSTRG256

Key field Non-key field



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

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

How to access SAP table COCF_S_SR_DATA

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