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




ABAP Code to SELECT data from COMAP
Related tables to COMAP
Access table COMAP




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 cust
Display/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
MANDTClient MANDTCLNT3T000MANDT
BDC_NAMEName of batch input session D0100_MAPNCHAR12CACCELCHAR12
SEQBatch Input Session Sequence CBDCSEQNUMC3NUMC3
SOURCEBDC output map value source CBDCOSOURCECHAR1CBDCOSOURCE
PIDSet/Get parameter ID MEMORYIDCHAR20Assigned to domainMEMORYID
DYNAMEBatch input module name BDC_MODULECHAR40PROGNAME
DYNUMBBatch input screen number BDC_DYNNRCHAR4DYNNR
MSGTYPBatch input message type BDC_MARTCHAR1CHAR1
MSGIDBatch input message ID BDC_MIDCHAR20Assigned to domainARBGB
MSGNRBatch input message number BDC_MNRCHAR3CHAR3
MSGVNOnline BDC variable message part number CBDCMNUMNUMC1CBDCMNUM
ELEMENTElement SWC_ELEMCHAR32SWC_ELEM
TYPEABAP Type of element SWC_TYPECHAR1INTTYPE
ELEMLENGTHLength of the field in bytes SWC_LENGTHNUMC3SWC_LENGTH
ITABBoolean Variable (X=True, -=False, Space=Unknown) BOOLEANCHAR1BOOLEAN
REFSTRUCTReference table SWC_REFSTRCHAR30Assigned to domainAS4TAB
REFFIELDReference field SWC_REFFLDCHAR30Assigned to domainFDNAME
OBJTYPObject Type SWO_OBJTYPCHAR10Assigned to domainOJ_NAMEOBJ

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 table
DATA: 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 as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!