SAP CC2S_CONSTRAINTS C2-Server: Constraints Table data and field list

CC2S_CONSTRAINTS is a standard SAP Table which is used to store C2-Server: Constraints data in SAP systems, such as SAP R/3, S/4HANA, depending on the version and release level.

The CC2S_CONSTRAINTS table consists of various fields, each holding specific information or linking keys about C2-Server: Constraints data available in SAP. These include CLIENT (Client), CUSTOBJECT (Configuration Object), CUSTOBJECT_KEY (C2 server customizing objectkey), OBJELEMENT (Configuration Nodes)... 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. .

CC2S_CONSTRAINTS table Technical Details:

Delivery Class: A - Application table (master and transaction data)
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced


SAP CC2S_CONSTRAINTS table fields - Full list of fields found in SAP data dictionary

Looking for S/4HANA specific information? Click here to explore the details, fields and extensibility available for this table in the SAP S/4HANA version of the CC2S_CONSTRAINTS table. Also check whether the table still exists or has been transformed into a CDS view as part of the HANA simplifications.
Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
CLIENTClient MANDTCLNT3Assigned to domainMANDT
CUSTOBJECTConfiguration Object C2S_CUSTOBJECTCHAR30Assigned to domainC2S_CUSTOBJECT
CUSTOBJECT_KEYC2 server customizing objectkey C2S_CUSTOBJECT_KEYCHAR30C2S_CUSTOBJECT_KEY
OBJELEMENTConfiguration Nodes C2S_CUSTELEMENTCHAR30Assigned to domainC2S_CUSTELEMENT
SUBOBJ_GUIDGUID for C2 server C2GUIDCHAR32SYSUUID_C
SUBOBJ_NAMECharacter field, length 32 CHAR32CHAR32CHAR32
ATTRIBUTEC2-Server: Attribute for Constraints C2S_CONSTR_ATTRIBUTECHAR1C2S_CONSTR_ATTRIBUTE
PROCESS_TYPESingle-Character Indicator CHAR1CHAR1CHAR1
PROCESS_IDGUID for C2 server C2GUIDCHAR32SYSUUID_C
PROCESS_INFOChar 80 CHAR80CHAR80CHAR80
VALUEC2 Server: Data Element for Strings C2S_STRINGSTRG0

Key field Non-key field



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

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

SELECT SINGLE *
FROM CC2S_CONSTRAINTS
INTO CORRESPONDING FIELDS OF WA_CC2S_CONSTRAINTS
WHERE...

How to access SAP table CC2S_CONSTRAINTS

Within an ECC or HANA version of SAP you can also view further information about CC2S_CONSTRAINTS and the data within it using relevant transactions such as

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