MCYA SAP (Early Warning: Exceptions) Table details
Dictionary Type: Table
Description: Early Warning: Exceptions
Description: Early Warning: Exceptions
Table field list including key, data, relationships and ABAP select examples
MCYA is a standard SAP Table which is used to store Early Warning: Exceptions data and is available within R/3 SAP systems depending on the version and release level.
The MCYA table consists of various fields, each holding specific information or linking keys about Early Warning: Exceptions data available in SAP. These include EXCEP (Name of exception), GSTRU (Generated DDIC table for LIS, conditions, messages), ANNAM (Created by), ANDAT (Created on).. 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: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced
SAP MCYA table 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 |
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
EXCEP | Name of exception | EXCEP | CHAR | 12 | CHAR12 | EXCEPNAME | |||
GSTRU | Generated DDIC table for LIS, conditions, messages | GSTRU | CHAR | 30 | Assigned to domain | AS4TAB | |||
ANNAM | Created by | MCANNAME | CHAR | 12 | UNAME | ||||
ANDAT | Created on | ANDATUM | DATS | 8 | DATS | ||||
GENAM | Name of user who changed record | GENAME | CHAR | 12 | USNAM | ||||
GEDAT | Date of last change | GEDATUM | DATS | 8 | DATUM | ||||
XMAIL | Indicator: send mail | XMAIL1 | CHAR | 1 | XFELD | ||||
MNAME | SAPoffice: Recipient name | SO_ADRNAME | CHAR | 35 | SO_STRI035 | ||||
XFAX | Radio button: send fax | XFAX | CHAR | 1 | XFELD | ||||
FAXNR | Fax number | FAXNUM | CHAR | 16 | CHAR16 | ||||
FARBE | Color in list | L_FARBE | CHAR | 1 | FARBE | ||||
XTAGL | Positive trend in EWS | XTAGL | CHAR | 1 | XFELD | ||||
XWOCH | Negative trend in EWS | XWOCH | CHAR | 1 | XFELD | ||||
XMONAT | Start of exception: monthly | XMONAT | CHAR | 1 | XFELD | ||||
ALISTE | Early Warning: requirement active for standard analysis | ALISTE | CHAR | 1 | XFELD | ||||
ASYSTEM | Requirement active for system-driven periodic analysis | ASYSTEM | CHAR | 1 | XFELD | ||||
AEVENT | Event-driven periodic analysis | AEVENT | CHAR | 1 | XFELD | ||||
WAERS | Key for the currency in which the analysis is carried out | MCAWAER1 | CUKY | 5 | Assigned to domain | WAERS | |||
ANZPER | Number of periods for trend analysis | ANZPER | INT4 | 10 | INT4 | ||||
TREND | Direction of trend | TREND_SIMP | CHAR | 1 | TREND | ||||
AKTPER | Include current period | AKTPER | CHAR | 1 | XFELD | ||||
XSTUND | Start of exception: hourly | XSTUND | CHAR | 1 | XFELD | ||||
MCPER | Number of previous periods for analysis period | MCPER | NUMC | 3 | MCPER | ||||
KURST | Exchange rate type for conversion to analysis currency | MCKURST | CHAR | 4 | Assigned to domain | KURST | |||
STATI | Indicator: additional statistical test with trend | MCSTATI | CHAR | 1 | XFELD | ||||
VERKN | Indicator: exceptions linked with 'and' or 'or' | MCVERKN | CHAR | 1 | MCVERKN | ||||
EXTYP | Exception category: 'N'ormal, 'G'roup or ' ' still open | MC_EXTYP | CHAR | 1 | CHAR1 | ||||
MEBEZ | Characteristic reference for exception | MEBEZ | CHAR | 1 | XFELD | ||||
PERRI | Future/past for number of periods | PERRI | CHAR | 1 | CHAR1 | ||||
ASYSANA | Exception active for periodic analysis | ASYSANA | CHAR | 1 | XFELD | ||||
WORKF | Transfer to workflow (exception result) | WORKF | CHAR | 1 | XFELD | ||||
SELSET | Variant | SELSET | CHAR | 14 | SELSET | ||||
REC_FAX | SAPoffice: Fax or telex number of recipient | SO_RECFAX | CHAR | 30 | TELEX | ||||
REC_STATE | SAPoffice: Country code for sending a fax/telex | SO_FX_SATE | CHAR | 3 | T005 | LAND1 | |||
BTCH_MODUS | Mode of periodic weak point analysis | BTCH_MODUS | CHAR | 1 | XFLAG | ||||
TDFORM | Form Name | TDFORM | CHAR | 16 | TDFORM | ||||
VRSIO | Planned version of info structure for plan./act. comparison | EXC_VRSIO | CHAR | 3 | Assigned to domain | VRSIO | |||
XDLI | Send list of exceptions via distribution list | XDLI | CHAR | 1 | XFELD | ||||
DLINAM | Name of distribution list | SO_DLI_NAM | CHAR | 12 | SO_OBJ_NAM | ||||
MCPERZ | Future periods of the analysis | MCPERZ | NUMC | 3 | MCPER | ||||
WORKF_IND | Tansfer of individual record to workflow (result of exceptn) | WORKF_IND | CHAR | 1 | XFELD | ||||
WORKF_TAB | Table transfer to Workflow | WORKF_TAB | CHAR | 1 | XFELD |
Key field | Non-key field |
How do I retrieve data from SAP table MCYA using ABAP code
The following ABAP code Example will allow you to do a basic selection on MCYA to SELECT all data from the tableDATA: WA_MCYA TYPE MCYA.
SELECT SINGLE *
FROM MCYA
INTO CORRESPONDING FIELDS OF WA_MCYA
WHERE...
How to access SAP table MCYA
Within an ECC or HANA version of SAP you can also view further information about MCYA 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