COCF_S_SR_META SAP (Shift Report: Metadata) Structure details
Description: Shift Report: Metadata
Related tables to COCF_S_SR_META
Access table COCF_S_SR_META
Structure field list including key, data, relationships and ABAP select examples
COCF_S_SR_META 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: Metadata" 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_META TYPE COCF_S_SR_META.
The COCF_S_SR_META table consists of various fields, each holding specific information or linking keys about Shift Report: Metadata 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. .
Delivery Class:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
SAP COCF_S_SR_META 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 |
SR_ORIGIN | Origin or Use of Shift Note or Report | COCF_SRN_ORIGIN | NUMC | 2 | COCF_SRN_ORIGIN | ||||
PLANT | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
TYP | Object types of the CIM resource | CR_OBJTY | CHAR | 2 | CR_OBJTY | ||||
ARBHI | Name of Work Center or Hierarchy | COCF_SRN_ARBHI | CHAR | 10 | COCF_SH_SRN_ARBHI | ||||
FUNCT_LOC | Functional Location | TPLNR | CHAR | 30 | Assigned to domain | TPLNR | TPLNR | IFL | IFLM |
EQUIPMENT | Equipment Number | EQUNR | CHAR | 18 | Assigned to domain | ALPHA | EQUNR | EQN | EQUI |
COUNTER | Running Number for Shift Reports with Same Key | COCF_SR_KEY_CNT | NUMC | 2 | |||||
START_DATE | Start of Evaluation Period | COCF_SR_START_DATE | DATS | 8 | |||||
START_TIME | Start Time of Evaluation Period | COCF_SR_START_TIME | TIMS | 6 | |||||
END_DATE | End of Evaluation Period | COCF_SR_END_DATE | DATS | 8 | |||||
END_TIME | End Time of Evaluation Period | COCF_SR_END_TIME | TIMS | 6 | |||||
STATUS | Status of Shift Report | COCF_SR_STATUS | CHAR | 10 | COCF_SR_STATUS | ||||
TIME_ZONE | Time Zone | TZNZONE | CHAR | 6 | Assigned to domain | TZNZONE | |||
ERNAM | Name of Person who Created the Object | ERNAM | CHAR | 12 | USNAM | ||||
AENAM | Name of Person Who Changed Object | AENAM | CHAR | 12 | USNAM | ||||
LANGU | Language Key | SPRAS | LANG | 1 | Assigned to domain | ISOLA | SPRAS | SPR | H_T002 |
PRODSUP | Person Responsible for Shift | COCF_PRODUCTION_SUPERVISOR | CHAR | 12 | Assigned to domain | XUBNAME | USER_COMP | ||
SIGNER | Signatory of Digital Signature | SIGNER | CHAR | 12 | Assigned to domain | XUBNAME | |||
ERDAT | Date on Which Record Was Created | ERDAT | DATS | 8 | DATUM | ||||
ERZET | Entry time | ERZET | TIMS | 6 | UZEIT | ||||
AEDAT | Changed On | AEDAT | DATS | 8 | DATUM | ||||
AEZET | Time last change was made | AEZET | TIMS | 6 | UZEIT | ||||
SCHGRUP | Grouping for Shift Definitions and Shift Sequences | SCHGRUP | CHAR | 2 | Assigned to domain | SCHGRUP | |||
KAPTPROG | Shift definition | KAPTPROG | CHAR | 4 | Assigned to domain | KAPTPROG | |||
HASH_PDF | Hash Value (160 Bits) | HASH160X | RAW | 20 |
Key field | Non-key field |
How do I retrieve data from SAP structure COCF_S_SR_META using ABAP code?
As COCF_S_SR_META 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_META as there is no data to select.How to access SAP table COCF_S_SR_META
Within an ECC or HANA version of SAP you can also view further information about COCF_S_SR_META 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