COMAP SAP (Online BDC output mapping from message table to container) Table details
Dictionary Type: Table
Description: Online BDC output mapping from message table to container
Description: Online BDC output mapping from message table to container
Table field list including key, data, relationships and ABAP select examples
COMAP is a standard SAP Table which is used to store Online BDC output mapping from message table to container data and is available within R/3 SAP systems depending on the version and release level.
The COMAP table consists of various fields, each holding specific information or linking keys about Online BDC output mapping from message table to container data available in SAP. These include BDC_NAME (Name of batch input session), SEQ (Batch Input Session Sequence), SOURCE (BDC output map value source), PID (Set/Get parameter ID).. 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: C - Customising table, maintenance only by custDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified
SAP COMAP 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 | |||
BDC_NAME | Name of batch input session | D0100_MAPN | CHAR | 12 | CACCEL | CHAR12 | |||
SEQ | Batch Input Session Sequence | CBDCSEQ | NUMC | 3 | NUMC3 | ||||
SOURCE | BDC output map value source | CBDCOSOURCE | CHAR | 1 | CBDCOSOURCE | ||||
PID | Set/Get parameter ID | MEMORYID | CHAR | 20 | Assigned to domain | MEMORYID | |||
DYNAME | Batch input module name | BDC_MODULE | CHAR | 40 | PROGNAME | ||||
DYNUMB | Batch input screen number | BDC_DYNNR | CHAR | 4 | DYNNR | ||||
MSGTYP | Batch input message type | BDC_MART | CHAR | 1 | CHAR1 | ||||
MSGID | Batch input message ID | BDC_MID | CHAR | 20 | Assigned to domain | ARBGB | |||
MSGNR | Batch input message number | BDC_MNR | CHAR | 3 | CHAR3 | ||||
MSGVN | Online BDC variable message part number | CBDCMNUM | NUMC | 1 | CBDCMNUM | ||||
ELEMENT | Element | SWC_ELEM | CHAR | 32 | SWC_ELEM | ||||
TYPE | ABAP Type of element | SWC_TYPE | CHAR | 1 | INTTYPE | ||||
ELEMLENGTH | Length of the field in bytes | SWC_LENGTH | NUMC | 3 | SWC_LENGTH | ||||
ITAB | Boolean Variable (X=True, -=False, Space=Unknown) | BOOLEAN | CHAR | 1 | BOOLEAN | ||||
REFSTRUCT | Reference table | SWC_REFSTR | CHAR | 30 | Assigned to domain | AS4TAB | |||
REFFIELD | Reference field | SWC_REFFLD | CHAR | 30 | Assigned to domain | FDNAME | |||
OBJTYP | Object Type | SWO_OBJTYP | CHAR | 10 | Assigned to domain | OJ_NAME | OBJ |
Key field | Non-key field |
How do I retrieve data from SAP table COMAP using ABAP code
The following ABAP code Example will allow you to do a basic selection on COMAP to SELECT all data from the tableDATA: WA_COMAP TYPE COMAP.
SELECT SINGLE *
FROM COMAP
INTO CORRESPONDING FIELDS OF WA_COMAP
WHERE...
How to access SAP table COMAP
Within an ECC or HANA version of SAP you can also view further information about COMAP 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