C_CmplRqRsltTradeSecretSubstVH

DDL: C_CMPLRQRSLTTRADESECRETSUBSTVH SQL: CCRRTSRSUBVH Type: view CONSUMPTION Package: EHSDS_CRPAT_TSR

Substance Indicated as CBI Registration

C_CmplRqRsltTradeSecretSubstVH is a Consumption CDS View that provides data about "Substance Indicated as CBI Registration" in SAP S/4HANA. It reads from 3 data sources (I_ChmlComponent, I_ChmlComposition, I_CmplRqRsltTrdScrtRegnDraft) and exposes 18 fields with key fields CmplRqRsltUUID, SubstanceUUID. It has 3 associations to related views. It is exposed through 2 OData services (ASQL_F6342, UI_EHS_SDS_TSR_MAN). It is used in 1 Fiori application: Registration for Confidential Business Information. Part of development package EHSDS_CRPAT_TSR.

Data Sources (3)

SourceAliasJoin Type
I_ChmlComponent _ChmlComponent from
I_ChmlComposition _ChmlComposition inner
I_CmplRqRsltTrdScrtRegnDraft _CmplRqRsltTrdScrtRegnDraft inner

Parameters (1)

NameTypeDefault
P_CmplRqRsltUUID sysuuid_x

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_SubstanceTP _Substance _ChmlComponent.SubstanceUUID = _Substance.SubstanceUUID -- Unit Of Measure Value Help
[0..*] I_UnitOfMeasureText _UnitOfMeasureText $projection.ChmlCompReldQtyUnit = _UnitOfMeasureText.UnitOfMeasure --Link to 'Chemcial Compliance Info' as root
[1..1] I_ChmlCmplncInfo _ChmlCmplncInfo $projection.ChmlCmplncInfoUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID

Annotations (14)

NameValueLevelField
EndUserText.label Substance Indicated as CBI Registration view
AbapCatalog.sqlViewName CCRRTSRSUBVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.representativeKey SubstanceUUID view
ObjectModel.dataCategory #VALUE_HELP view
Metadata.ignorePropagatedAnnotations true view
Search.searchable true view

OData Services (2)

ServiceBindingVersionContractRelease
ASQL_F6342 ASQL_F6342 C2 NOT_RELEASED
UI_EHS_SDS_TSR_MAN UI_EHS_SDS_TSR_MAN V2 C1 NOT_RELEASED

Fiori Apps (1)

App IDApp NameTypeDescription
F6342 Registration for Confidential Business Information Transactional

Registration for Confidential Business Information

Business Role: Master Data Specialist - Product Compliance

With this feature, you can document the registration of confidential business information. Use the Registration of Confidential Business Information app to enter the registration number and affected product or substance data to document the registration on product level or component level, depending on the country- or region-specific requirements.

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY CmplRqRsltUUID
KEY SubstanceUUID I_ChmlComponent SubstanceUUID Substance
SubstanceName _Substance SubstanceName Substance Name
SubstanceInternalName _Substance SubstanceInternalName Internal Name
CompanySubstanceName _Substance CompanySubstanceName Substance Name
ECNumberasECNumber
CASNumber
ResponsibleUnit _Substance ResponsibleUnit Responsible Unit
ChmlCompTypeasChmlCompType
ChmlCompTypeNameasChmlCompTypeName
ChmlCompQtyAsTextasChmlCompReldQtyAsText
ChmlCompReldLowrLimitQtyAsText I_ChmlComponent ChmlCompQtyLowerLimitAsText Lower Limit
ChmlCompReldUprLimitQtyOptr I_ChmlComponent ChmlCompOperatorUpperLimit Operator Upper Limit
ChmlCompReldUprLimitQtyAsText I_ChmlComponent ChmlCompQtyUpperLimitAsText Upper Limit
ChmlCompQtyUnitasChmlCompReldQtyUnit
ChmlCmplncInfoUUID I_ChmlComposition ChmlCmplncInfoUUID Chemical Compliance Information PP
_Substance _Substance
_ChmlCmplncInfo _ChmlCmplncInfo

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_CmplRqRsltTradeSecretSubstVH.
-- 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: CCRRTSRSUBVH
-- Parameters: P_CmplRqRsltUUID : sysuuid_x

CREATE VIEW C_CmplRqRsltTradeSecretSubstVH AS
SELECT
  $parameters.P_CmplRqRsltUUID AS CmplRqRsltUUID,
  _ChmlComponent.SubstanceUUID AS SubstanceUUID,
  _Substance.SubstanceName AS SubstanceName,
  _Substance.SubstanceInternalName AS SubstanceInternalName,
  _Substance.CompanySubstanceName AS CompanySubstanceName,
  _Substance._ListedSubstance.CASNumber AS CASNumber,
  _Substance.ResponsibleUnit AS ResponsibleUnit,
  _ChmlComponent.ChmlCompQtyLowerLimitAsText AS ChmlCompReldLowrLimitQtyAsText,
  _ChmlComponent.ChmlCompOperatorUpperLimit AS ChmlCompReldUprLimitQtyOptr,
  _ChmlComponent.ChmlCompQtyUpperLimitAsText AS ChmlCompReldUprLimitQtyAsText,
  _ChmlComposition.ChmlCmplncInfoUUID AS ChmlCmplncInfoUUID
FROM I_ChmlComponent AS _ChmlComponent
INNER JOIN I_CmplRqRsltTrdScrtRegnDraft AS _CmplRqRsltTrdScrtRegnDraft ON /* join condition not captured in parsed metadata */
INNER JOIN I_ChmlComposition AS _ChmlComposition ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_SubstanceTP AS _Substance ON _ChmlComponent.SubstanceUUID = _Substance.SubstanceUUID  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasureText AS _UnitOfMeasureText ON ChmlCompReldQtyUnit = _UnitOfMeasureText.UnitOfMeasure  -- association [0..*]
LEFT OUTER JOIN I_ChmlCmplncInfo AS _ChmlCmplncInfo ON ChmlCmplncInfoUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID  -- association [1..1]
;