I_Swcstrtdata
Get Details of Constraints
I_Swcstrtdata is a Basic CDS View that provides data about "Get Details of Constraints" in SAP S/4HANA. It reads from 3 data sources (/plmi/sw_cstrt, mara, mara) and exposes 20 fields with key field ProductStructureNodeUUID.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| /plmi/sw_cstrt | /plmi/sw_cstrt | from |
| mara | m1 | inner |
| mara | m2 | left_outer |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ISWCSTRTDATA | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Get Details of Constraints | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.modelCategory | #BUSINESS_OBJECT | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.transactionalProcessingEnabled | true | view | |
| ObjectModel.writeActivePersistence | /PLMI/SW_CSTRT_D | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProductStructureNodeUUID | db_key | UUID | |
| EmbeddedSwSoftwareMaterial | sw_module | Software | ||
| DocumentType | sw_version_type | Document Type | ||
| DocNumber | sw_version_id | Document | ||
| EmbeddedSwFromVersion | sw_version_min | From | ||
| EmbeddedSwToVersion | sw_version_max | To | ||
| EmbeddedSwConstraintRule | cstrt_rule | Rule | ||
| EmbeddedSwConstraintObjectType | cstrt_obj_type | Constraint Obj. Type | ||
| EmbeddedSwHardwareMaterial | cstrt_obj_id | Material | ||
| EmbeddedSwSoftwareMinVersion | cstrt_obj_val_min | Minimum | ||
| EmbeddedSwSoftwareMaxVersion | cstrt_obj_val_max | Maximum | ||
| EmbeddedSwHardwareMaterialDesc | cstrt_obj_descr | Char | ||
| CreationDate | created_on | Variant created on | ||
| CreatedByUser | created_by | Version Created By | ||
| LastChangeDate | changed_on | Variant Changed on | ||
| LastChangedByUser | changed_by | User Name | ||
| EmbeddedSoftwareETag | etag | Update Token | ||
| EmbeddedSoftwareTimeStamp | timestamp | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | ||
| AuthorizationGroup | mara | begru | AuthorizGroup | |
| MaterialAuthorizationGroup | mara | begru | AuthorizGroup |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view I_Swcstrtdata.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: ISWCSTRTDATA
CREATE VIEW I_Swcstrtdata AS
SELECT
db_key AS ProductStructureNodeUUID,
sw_module AS EmbeddedSwSoftwareMaterial,
sw_version_type AS DocumentType,
sw_version_id AS DocNumber,
sw_version_min AS EmbeddedSwFromVersion,
sw_version_max AS EmbeddedSwToVersion,
cstrt_rule AS EmbeddedSwConstraintRule,
cstrt_obj_type AS EmbeddedSwConstraintObjectType,
cstrt_obj_id AS EmbeddedSwHardwareMaterial,
cstrt_obj_val_min AS EmbeddedSwSoftwareMinVersion,
cstrt_obj_val_max AS EmbeddedSwSoftwareMaxVersion,
cstrt_obj_descr AS EmbeddedSwHardwareMaterialDesc,
created_on AS CreationDate,
created_by AS CreatedByUser,
changed_on AS LastChangeDate,
changed_by AS LastChangedByUser,
etag AS EmbeddedSoftwareETag,
timestamp AS EmbeddedSoftwareTimeStamp,
m1.begru AS AuthorizationGroup,
m2.begru AS MaterialAuthorizationGroup
FROM /plmi/sw_cstrt
INNER JOIN mara AS m1 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN mara AS m2 ON /* join condition not captured in parsed metadata */
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA