SPCM_MSGVIEW SAP (Struture to show an SPEC Idoc like a Flatfile) Structure details
Description: Struture to show an SPEC Idoc like a Flatfile
Structure field list including key, data, relationships and ABAP select examples
SPCM_MSGVIEW 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 "Struture to show an SPEC Idoc like a Flatfile" 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_SPCM_MSGVIEW TYPE SPCM_MSGVIEW.
The SPCM_MSGVIEW table consists of various fields, each holding specific information or linking keys about Struture to show an SPEC Idoc like a Flatfile data available in SAP. These include FIELDS (SPEC 2000 Text Element Identifier), SEGLEVEL (SPEC 2000M Segment Level), CATEGORY (Specifies, whether SPEC 2000 field is mandatory or optional), SEQUENCE (Sequence in which the SPEC 2000 fields occur in the message).. 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)
SAP SPCM_MSGVIEW 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 |
SEGMENT | SPEC 2000M Segment Names | ADSPCM_S2K_SEG | CHAR | 3 | CHAR003 | ||||
FIELDS | SPEC 2000 Text Element Identifier | ADSPCM_S2K_TEI | CHAR | 6 | CHAR006 | ||||
SEGLEVEL | SPEC 2000M Segment Level | ADSPCM_S2K_LEV | CHAR | 1 | CHAR001 | ||||
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 | ||||
VALUE | Character Field of Length 64 | CHAR65 | CHAR | 64 | CHAR64 | ||||
OCCURANCE | Specifies, how often SPEC 2000M field occurs | ADSPCM_OCCURANCE | NUMC | 3 | NUM3 | ||||
ICON | Character Field Length 1 | CHAR01 | CHAR | 1 | CHAR1 |
Key field | Non-key field |
How do I retrieve data from SAP structure SPCM_MSGVIEW using ABAP code?
As SPCM_MSGVIEW 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 SPCM_MSGVIEW as there is no data to select.How to access SAP table SPCM_MSGVIEW
Within an ECC or HANA version of SAP you can also view further information about SPCM_MSGVIEW 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