C_CntrbtScenCnsmrProtTP

DDL: C_CNTRBTSCENCNSMRPROTTP Type: view CONSUMPTION

Consumer Protection

C_CntrbtScenCnsmrProtTP is a Consumption CDS View that provides data about "Consumer Protection" in SAP S/4HANA. It reads from 1 data source (I_CntrbtScenCnsmrProtTP) and exposes 10 fields with key field PCESCnsmrProtUUID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CntrbtScenCnsmrProtTP I_CntrbtScenCnsmrProtTP from

Associations (2)

CardinalityTargetAliasCondition
[1..1] C_CntrbtScenCnsmrAssmtTP _CmplRqRslt $projection.CmplRqRsltUUID = _CmplRqRslt.CmplRqRsltUUID
[0..1] C_ProdCmplncPhrsTxtWthFallback _ProdCmplncPhrsTxtWthFallback $projection.PCESCnsmrProtMsrPhrsUUID = _ProdCmplncPhrsTxtWthFallback.ProdCmplncPhrsUUID

Annotations (14)

NameValueLevelField
EndUserText.label Consumer Protection view
AbapCatalog.sqlViewName CCRRCONPROTP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
Metadata.allowExtensions true view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY PCESCnsmrProtUUID PCESCnsmrProtUUID Consumer protection uuid
ComplianceAssessmentUUIDCmplRqRsltUUID
PCESCnsmrProtMsrPhrsTxt
CreateatdatetimeCreationDateTime
CreatebyuserCreatedByUser
UpdateatdatetimeLastChangeDateTime
UpdatebyuserLastChangedByUser
_CmplRqRslt _CmplRqRslt
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser

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 C_CntrbtScenCnsmrProtTP.
-- 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.

CREATE VIEW C_CntrbtScenCnsmrProtTP AS
SELECT
  PCESCnsmrProtUUID,
  cast(_ProdCmplncPhrsTxtWthFallback.ProdCmplncPhrsText as ehsds_cs_con_prot_measure_txt preserving type) AS PCESCnsmrProtMsrPhrsTxt
FROM I_CntrbtScenCnsmrProtTP
LEFT OUTER JOIN C_CntrbtScenCnsmrAssmtTP AS _CmplRqRslt ON CmplRqRsltUUID = _CmplRqRslt.CmplRqRsltUUID  -- association [1..1]
LEFT OUTER JOIN C_ProdCmplncPhrsTxtWthFallback AS _ProdCmplncPhrsTxtWthFallback ON PCESCnsmrProtMsrPhrsUUID = _ProdCmplncPhrsTxtWthFallback.ProdCmplncPhrsUUID  -- association [0..1]
;