COTPLDEF SAP (Template: Definitions for Classes) Table details

Dictionary Type: Table
Description: Template: Definitions for Classes




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




Table field list including key, data, relationships and ABAP select examples

COTPLDEF is a standard SAP Table which is used to store Template: Definitions for Classes data and is available within R/3 SAP systems depending on the version and release level.

The COTPLDEF table consists of various fields, each holding specific information or linking keys about Template: Definitions for Classes data available in SAP. These include SOURCE_REP (Template: Name of Reference Report), COLDEF_REP (Template: Name of Include for Column Definition), POSCALL_REP (Template: Name of Include for Executing Row Type), DYNNR (Dynpro Number).. 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: S - System table, maint. only by SAP, change = modification
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified


SAP COTPLDEF 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
CLASSTemplate Environment COTPL_CLASSCHAR3COTPLCLASSCOTPL_CLASSTPC
SOURCE_REPTemplate: Name of Reference Report ABC_S_REPCHAR40Assigned to domainPROGRAMM
COLDEF_REPTemplate: Name of Include for Column Definition COLDEF_REPCHAR40Assigned to domainPROGRAMM
POSCALL_REPTemplate: Name of Include for Executing Row Type POSCALL_REFCHAR40Assigned to domainPROGRAMM
DYNNRDynpro Number SYDYNNRCHAR4SYCHAR04
SUB_DYNNRDynpro Number SYDYNNRCHAR4SYCHAR04
LINE_TYPE_DEFTemplate Row Types COTPL_LINETYPECHAR1COTPLLINETYPELINETCOTPL_LINETYPE
TRANSPORT_FLAGGeneral Flag FLAGCHAR1FLAG

Key field Non-key field



How do I retrieve data from SAP table COTPLDEF using ABAP code

The following ABAP code Example will allow you to do a basic selection on COTPLDEF to SELECT all data from the table
DATA: WA_COTPLDEF TYPE COTPLDEF.

SELECT SINGLE *
FROM COTPLDEF
INTO CORRESPONDING FIELDS OF WA_COTPLDEF
WHERE...

How to access SAP table COTPLDEF

Within an ECC or HANA version of SAP you can also view further information about COTPLDEF 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!