COCF_S_SR_META_KEY SAP (Shift Report: Metadata Key Fields) Structure details
Description: Shift Report: Metadata Key Fields
Related tables to COCF_S_SR_META_KEY
Access table COCF_S_SR_META_KEY
Structure field list including key, data, relationships and ABAP select examples
COCF_S_SR_META_KEY 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 Key Fields" 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_KEY TYPE COCF_S_SR_META_KEY.
The COCF_S_SR_META_KEY table consists of various fields, each holding specific information or linking keys about Shift Report: Metadata Key Fields data available in SAP. These include PLANT (Plant), TYP (Object types of the CIM resource), ARBHI (Name of Work Center or Hierarchy), FUNCT_LOC (Functional Location).. 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_KEY 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 |
Key field | Non-key field |
How do I retrieve data from SAP structure COCF_S_SR_META_KEY using ABAP code?
As COCF_S_SR_META_KEY 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_KEY as there is no data to select.How to access SAP table COCF_S_SR_META_KEY
Within an ECC or HANA version of SAP you can also view further information about COCF_S_SR_META_KEY 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