SPCFILE SAP (SPEC 2000 messages & fields) Table details
Dictionary Type: Table
Description: SPEC 2000 messages & fields
Description: SPEC 2000 messages & fields
Table field list including key, data, relationships and ABAP select examples
SPCFILE is a standard SAP Table which is used to store SPEC 2000 messages & fields data and is available within R/3 SAP systems depending on the version and release level.
The SPCFILE table consists of various fields, each holding specific information or linking keys about SPEC 2000 messages & fields data available in SAP. These include VERSION (Version defines different rules to map and check the fields), MESTYP (Message Type), MESFCT (Logical message function), MESCOD (Logical Message Variant).. 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: G - Customising table which is protected against SAP UpdateDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type)
SAP SPCFILE 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 | T000 | MANDT | |||
VERSION | Version defines different rules to map and check the fields | ADSPC_S2K_VER | CHAR | 5 | CHAR5 | ||||
MESTYP | Message Type | EDI_MESTYP | CHAR | 30 | Assigned to domain | EDI_MESTYP | MES | ||
MESFCT | Logical message function | EDI_MESFCT | CHAR | 3 | EDI_MESFCT | ||||
MESCOD | Logical Message Variant | EDI_MESCOD | CHAR | 3 | EDI_MESCOD | ||||
FIELDS | SPEC 2000 Text Element Identifier | ADSPC_S2K_TEI | CHAR | 10 | SPCDTEL | CHAR10 | |||
CATEGORY | Specifies, whether SPEC 2000 field is mandatory or optional | ADSPC_CATEGORY | CHAR | 1 | CHAR1 | ||||
SEQUENCE | Sequence in which the SPEC 2000 fields occur in the message | ADSPC_SEQUENCE | NUMC | 2 | NUMC2 | ||||
BLANK | Specifies, whether the field can be blank | ADSPC_BLANK | CHAR | 1 | CHAR1 | ||||
OCCURANCE | Specifies, whether SPEC 2000 field can occur multiple times | ADSPC_OCCURANCE | CHAR | 1 | CHAR1 | ||||
RELATION | Indicates which fields in the given message are related | ADSPC_RELATION | CHAR | 1 | CHAR1 | ||||
REL_FLAG | Indicates dependency of the related SPEC 2000 fields | ADSPC_REL_FLAG | CHAR | 1 | CHAR1 | ||||
LINE_FLAG | Specifies, whether S2K-field can appear only once per line | ADSPC_LINE_FLAG | CHAR | 1 | CHAR1 | ||||
SLASH_FLAG | Specifies, whether '/' is required after this S2K-field | ADSPC_SLASH_FLAG | CHAR | 1 | CHAR1 | ||||
TEI_FLAG | Specifies, whether TEI is required before this S2K-field | ADSPC_TEI_FLAG | CHAR | 1 | CHAR1 | ||||
SBRTN | Function module which should be called to do technical check | ADSPC_SBRTN | CHAR | 30 | CHAR30 | ||||
DESCP | Description of the SPEC 2000 Data Element | ADSPC_DESC | CHAR | 40 | CHAR40 | ||||
MESSAGE | Message Text | NATXT | CHAR | 73 | NATXT |
Key field | Non-key field |
How do I retrieve data from SAP table SPCFILE using ABAP code
The following ABAP code Example will allow you to do a basic selection on SPCFILE to SELECT all data from the tableDATA: WA_SPCFILE TYPE SPCFILE.
SELECT SINGLE *
FROM SPCFILE
INTO CORRESPONDING FIELDS OF WA_SPCFILE
WHERE...
How to access SAP table SPCFILE
Within an ECC or HANA version of SAP you can also view further information about SPCFILE 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