C_ChmlCmplncCmplRqRsltInPrgrs

DDL: C_CHMLCMPLNCCMPLRQRSLTINPRGRS Type: view CONSUMPTION

DEPRECATED In Progress CRR for UP and PP

C_ChmlCmplncCmplRqRsltInPrgrs is a Consumption CDS View that provides data about "DEPRECATED In Progress CRR for UP and PP" in SAP S/4HANA. It reads from 1 data source (I_ChmlCmplncCmplRqRsltInPrgrs) and exposes 29 fields with key field CmplRqRsltUUID. It has 8 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ChmlCmplncCmplRqRsltInPrgrs CmplRqRslt from

Associations (8)

CardinalityTargetAliasCondition
[0..1] I_CmplRqVersEnhanced _CmplRqVers $projection.CmplRqVersUUID = _CmplRqVers.CmplRqVersUUID -- Applicability areas to show the country (used in virtual elements coding for filtering)
[0..*] I_CmplRqVersAppltyArea _CmplRqVersAppltyArea $projection.CmplRqVersUUID = _CmplRqVersAppltyArea.CmplRqVersUUID --
[0..*] I_CmplncRqmtRsltCmplncStsTxt _PrelimCmplncStsTxt $projection.CmplRqRsltPrelimCmplncSts = _PrelimCmplncStsTxt.CmplRqRsltCmplncSts --
[0..1] I_CmplncRqmtRsltStsConstants _CmplncStsConstants $projection.CmplRqRsltPrelimCmplncSts = _CmplncStsConstants.CmplRqRsltCmplncSts
[0..1] C_PckgdChmlCmplncInfoTP _PckgdChmlCmplncInfo $projection.ChmlCmplncInfoUUID = _PckgdChmlCmplncInfo.ChmlCmplncInfoUUID
[0..1] I_BusinessUserBasic _BusinessUser $projection.Processor = _BusinessUser.BusinessPartner --
[1..1] I_ChmlCmplncInfo _ChmlCmplncInfo $projection.ChmlCmplncInfoUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID --required to show a draft-indicator
[1..1] C_CmplRqRsltDraftAdminvData _DraftAdministrativeData $projection.CmplRqRsltUUID = _DraftAdministrativeData.CmplRqRsltUUID

Annotations (13)

NameValueLevelField
EndUserText.label DEPRECATED In Progress CRR for UP and PP view
AbapCatalog.sqlViewName CCCCRRIP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #C view
UI.headerInfo.typeName Compliance Requirements view
UI.headerInfo.typeNamePlural Compliance Requirements view
Search.searchable true view

Fields (29)

KeyFieldSource TableSource FieldDescription
KEY CmplRqRsltUUID PrelimCmplRqRsltUUID
ChmlCmplncInfoUUID ChmlCmplncInfoUUID Chemical Compliance Information PP
ChmlCmplncProdUUID ChmlCmplncProdUUID Product Assignment
CmplRqVersUUID CmplRqVersUUID NodeID
CmplRqVersName
CmplRqVersNameInCurLang
ComplianceRequirement _CmplRqVers ComplianceRequirement Compliance Requirement
CmplRqPattern _CmplRqVers CmplRqPattern Compliance Pattern
CmplRqRsltNavgnLink I_ChmlCmplncCmplRqRsltInPrgrs CmplRqRsltUUID SDS Assessment
ChmlCompositionType I_ChmlCmplncCmplRqRsltInPrgrs ChmlCompositionType Legal Area
ChmlCmplncInfoCombinedName
MaterialName
ChmlCmplncInternalName _PckgdChmlCmplncInfo ChmlCmplncInternalName Internal Name
Material
CmplRqRsltPrelimCmplncSts CmplRqRsltPrelimCmplncSts Preliminary Compliance Status
CmplRqRsltPrelimCmplncStsTxt
Processor
CmplRqRsltProcessorName
CountryName
HasDraftEntity
IsActiveEntity
_CmplRqVers _CmplRqVers
_PrelimCmplncStsTxt _PrelimCmplncStsTxt
_CmplncStsConstants _CmplncStsConstants
_PckgdChmlCmplncInfo _PckgdChmlCmplncInfo
_ChmlCmplncInfo _ChmlCmplncInfo
_BusinessUser _BusinessUser
_CmplRqVersAppltyArea _CmplRqVersAppltyArea
_DraftAdministrativeData _DraftAdministrativeData

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_ChmlCmplncCmplRqRsltInPrgrs.
-- 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_ChmlCmplncCmplRqRsltInPrgrs AS
SELECT
  PrelimCmplRqRsltUUID AS CmplRqRsltUUID,
  ChmlCmplncInfoUUID,
  ChmlCmplncProdUUID,
  CmplRqVersUUID,
  cast( _CmplRqVers.CmplRqVersName as ehfnd_crr_crv_name preserving type ) AS CmplRqVersName,
  _CmplRqVers._CmplRqVersTextInCurrentLang.CmplRqVersName AS CmplRqVersNameInCurLang,
  _CmplRqVers.ComplianceRequirement AS ComplianceRequirement,
  _CmplRqVers.CmplRqPattern AS CmplRqPattern,
  CmplRqRslt.CmplRqRsltUUID AS CmplRqRsltNavgnLink,
  CmplRqRslt.ChmlCompositionType AS ChmlCompositionType,
  cast( _PckgdChmlCmplncInfo._MaterialDataPrimary.ChmlCmplncInfoCombinedName as ehpma_packaged_product_dsc preserving type) AS ChmlCmplncInfoCombinedName,
  _PckgdChmlCmplncInfo._MaterialDataPrimary.MaterialName AS MaterialName,
  _PckgdChmlCmplncInfo.ChmlCmplncInternalName AS ChmlCmplncInternalName,
  _PckgdChmlCmplncInfo._MaterialDataPrimary.Material AS Material,
  CmplRqRsltPrelimCmplncSts,
  cast(_PrelimCmplncStsTxt[1: Language = $session.system_language ].CmplRqRsltCmplncStsTxt as ehfnd_crr_compl_stat_text preserving type) AS CmplRqRsltPrelimCmplncStsTxt,
  cast(_BusinessUser.PersonFullName as ehfnd_processor_name preserving type) AS CmplRqRsltProcessorName,
  cast( '' as ehfnd_countries_desc ) AS CountryName,
  cast( '' as boole_d ) AS HasDraftEntity,
  cast( '' as boole_d ) AS IsActiveEntity
FROM I_ChmlCmplncCmplRqRsltInPrgrs AS CmplRqRslt
LEFT OUTER JOIN I_CmplRqVersEnhanced AS _CmplRqVers ON CmplRqVersUUID = _CmplRqVers.CmplRqVersUUID  -- association [0..1]
LEFT OUTER JOIN I_CmplRqVersAppltyArea AS _CmplRqVersAppltyArea ON CmplRqVersUUID = _CmplRqVersAppltyArea.CmplRqVersUUID  -- association [0..*]
LEFT OUTER JOIN I_CmplncRqmtRsltCmplncStsTxt AS _PrelimCmplncStsTxt ON CmplRqRsltPrelimCmplncSts = _PrelimCmplncStsTxt.CmplRqRsltCmplncSts  -- association [0..*]
LEFT OUTER JOIN I_CmplncRqmtRsltStsConstants AS _CmplncStsConstants ON CmplRqRsltPrelimCmplncSts = _CmplncStsConstants.CmplRqRsltCmplncSts  -- association [0..1]
LEFT OUTER JOIN C_PckgdChmlCmplncInfoTP AS _PckgdChmlCmplncInfo ON ChmlCmplncInfoUUID = _PckgdChmlCmplncInfo.ChmlCmplncInfoUUID  -- association [0..1]
LEFT OUTER JOIN I_BusinessUserBasic AS _BusinessUser ON Processor = _BusinessUser.BusinessPartner  -- association [0..1]
LEFT OUTER JOIN I_ChmlCmplncInfo AS _ChmlCmplncInfo ON ChmlCmplncInfoUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID  -- association [1..1]
LEFT OUTER JOIN C_CmplRqRsltDraftAdminvData AS _DraftAdministrativeData ON CmplRqRsltUUID = _DraftAdministrativeData.CmplRqRsltUUID  -- association [1..1]
;