I_Swcstrtdata

DDL: I_SWCSTRTDATA SQL: ISWCSTRTDATA Type: view BASIC

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)

SourceAliasJoin Type
/plmi/sw_cstrt /plmi/sw_cstrt from
mara m1 inner
mara m2 left_outer

Annotations (16)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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 */
;