C_PaDaGdsClfnTxtBsdTP

DDL: C_PADAGDSCLFNTXTBSDTP SQL: CPDGCTBRTP Type: view CONSUMPTION

Packaged DG Classification (Text Based)

C_PaDaGdsClfnTxtBsdTP is a Consumption CDS View that provides data about "Packaged DG Classification (Text Based)" in SAP S/4HANA. It reads from 1 data source (I_CmplRqRsltDngrsGdsBscClfnTP) and exposes 38 fields with key field CmplRqRsltUUID. It has 7 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CmplRqRsltDngrsGdsBscClfnTP I_CmplRqRsltDngrsGdsBscClfnTP from

Associations (7)

CardinalityTargetAliasCondition
[0..1] C_PaDaGdsClfnTxtBsdDetailsTP _CmplRqRsltDngrsGdsBscDets $projection.CmplRqRsltUUID = _CmplRqRsltDngrsGdsBscDets.CmplRqRsltUUID -- These associations are used to get descriptive texts for the corrseponding CCI and CRV
[1..1] C_ChmlCmplncPrimMatl _MaterialDataPrimary $projection.ChmlCmplncInfoUUID = _MaterialDataPrimary.ChmlCmplncInfoUUID
[1..1] P_PaDaGdsBscClassfctn _PaDaGdsBscClassfctn _PaDaGdsBscClassfctn.CmplRqRsltUUID = $projection.ActiveCmplRqRsltUUID -- provides the info if a corresponding RELEASED CRR exists, this info is needed to control the visible of the link to the released CRR in the object page's message strip
[0..1] I_CmplRqRslt _ReleasedCmplRqRslt $projection.ChmlCmplncInfoUUID = _ReleasedCmplRqRslt.ChmlCmplncInfoUUID and $projection.CmplRqVersUUID = _ReleasedCmplRqRslt.CmplRqVersUUID and _ReleasedCmplRqRslt.CmplRqRsltProcessingStatus = 'RE'
[0..*] C_PaDaGdsClfnTxtBsdMoOfTrTP _CmplRqRsltDaGdsMoOfTrTP $projection.CmplRqRsltUUID = _CmplRqRsltDaGdsMoOfTrTP.CmplRqRsltUUID
[0..*] I_ClassifiedAsDangerousGoodTxt _ClassifiedAsDangerousGoodTxt _ClassifiedAsDangerousGoodTxt.ClassifiedAsDangerousGood = $projection.classifiedasdangerousgood
[1..1] I_ChmlCmplncInfo _ChmlCmplncInfo _ChmlCmplncInfo.ChmlCmplncInfoUUID = $projection.ChmlCmplncInfoUUID

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName CPDGCTBRTP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Packaged DG Classification (Text Based) view
Metadata.allowExtensions true view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.compositionRoot true view
ObjectModel.draftEnabled true view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled false view
ObjectModel.updateEnabled EXTERNAL_CALCULATION view
ObjectModel.deleteEnabled EXTERNAL_CALCULATION view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view

Fields (38)

KeyFieldSource TableSource FieldDescription
KEY CmplRqRsltUUID CmplRqRsltUUID SDS Assessment
ActiveCmplRqRsltUUID ActiveCmplRqRsltUUID Compliance Assessment UUID
ActiveUUIDofCRRCmplRqVersUUID
ChmlCmplncInfoUUID ChmlCmplncInfoUUID Chemical Compliance Information PP
ComplianceRequirement ComplianceRequirement Compliance Requirement
CreationDateTime CreationDateTime Timestamp
CreatedByUser CreatedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
LastChangedByUser LastChangedByUser User Name
CmplRqRsltProcessingStatus CmplRqRsltProcessingStatus Processing Status
CmplRqRsltProcessorName
Processor Processor User Name
ChmlCmplncNavgnLinkToReldVers _ReleasedCmplRqRslt CmplRqRsltUUID SDS Assessment
ReleasedByUser ReleasedByUser Released By
ValidityStartDateTime ValidityStartDateTime Valid From Timestamp
ValidityEndDateTime ValidityEndDateTime Valid To Timestamp
CmplRqRsltStatusRemark CmplRqRsltStatusRemark Remarks
ChmlCompositionType ChmlCompositionType Legal Area
DangerousGoodBasicDescription _PaDaGdsBscClassfctn DangerousGoodBasicDescription Dangerous Goods Basic Description
ClassifiedAsDangerousGood _PaDaGdsBscClassfctn ClassifiedAsDangerousGood Classified As
_ClassifiedAsDangerousGoodTxt _ClassifiedAsDangerousGoodTxt
CmplRqVersName _CmplRqVers CmplRqVersName Compliance Requirement Name
ChmlCmplncInfoPckgdProdName
ChmlCmplncInfoRawMaterialName
Product
RawMaterial
DngrsGdsDescTmplIsOverwritten
char255asChmlCmplncTypeImageURL
ChmlCmplncInfoType
ChmlCmplncProdIsResearched _ChmlCmplncInfo ChmlCmplncProdIsResearched R&D Sample
MaterialIsSold _ChmlCmplncInfo MaterialIsSold Is Sold
MaterialIsTransported _ChmlCmplncInfo MaterialIsTransported Is Transported
MaterialIsSourced _ChmlCmplncInfo MaterialIsSourced Is Purchased
MaterialIsProduced _ChmlCmplncInfo MaterialIsProduced Is Produced
_CmplRqRsltDngrsGdsBscDets _CmplRqRsltDngrsGdsBscDets
_CmplRqVers _CmplRqVers
_CmplRqRsltDaGdsMoOfTrTP _CmplRqRsltDaGdsMoOfTrTP
_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_PaDaGdsClfnTxtBsdTP.
-- 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: CPDGCTBRTP

CREATE VIEW C_PaDaGdsClfnTxtBsdTP AS
SELECT
  CmplRqRsltUUID,
  ActiveCmplRqRsltUUID,
  ChmlCmplncInfoUUID,
  ComplianceRequirement,
  CreationDateTime,
  CreatedByUser,
  LastChangeDateTime,
  LastChangedByUser,
  CmplRqRsltProcessingStatus,
  cast( '' as ad_namtext ) AS CmplRqRsltProcessorName,
  Processor,
  _ReleasedCmplRqRslt.CmplRqRsltUUID AS ChmlCmplncNavgnLinkToReldVers,
  ReleasedByUser,
  ValidityStartDateTime,
  ValidityEndDateTime,
  CmplRqRsltStatusRemark,
  ChmlCompositionType,
  _PaDaGdsBscClassfctn.DangerousGoodBasicDescription AS DangerousGoodBasicDescription,
  _PaDaGdsBscClassfctn.ClassifiedAsDangerousGood AS ClassifiedAsDangerousGood,
  _CmplRqVers.CmplRqVersName AS CmplRqVersName,
  cast( _MaterialDataPrimary.ChmlCmplncInfoCombinedName as ehfnd_cci_pp preserving type ) AS ChmlCmplncInfoPckgdProdName,
  cast( _MaterialDataPrimary.ChmlCmplncInfoCombinedName as ehfnd_cci_raw_material_name preserving type ) AS ChmlCmplncInfoRawMaterialName,
  cast (_MaterialDataPrimary.Material as productnumber preserving type ) AS Product,
  cast (_MaterialDataPrimary.Material as ehfnd_cci_raw_material preserving type ) AS RawMaterial,
  cast( 'X' as dngrsgdsdesctmplisoverwritten ) AS DngrsGdsDescTmplIsOverwritten,
  _ChmlCmplncInfo.ChmlCmplncProdIsResearched AS ChmlCmplncProdIsResearched,
  _ChmlCmplncInfo.MaterialIsSold AS MaterialIsSold,
  _ChmlCmplncInfo.MaterialIsTransported AS MaterialIsTransported,
  _ChmlCmplncInfo.MaterialIsSourced AS MaterialIsSourced,
  _ChmlCmplncInfo.MaterialIsProduced AS MaterialIsProduced
FROM I_CmplRqRsltDngrsGdsBscClfnTP
LEFT OUTER JOIN C_PaDaGdsClfnTxtBsdDetailsTP AS _CmplRqRsltDngrsGdsBscDets ON CmplRqRsltUUID = _CmplRqRsltDngrsGdsBscDets.CmplRqRsltUUID  -- association [0..1]
LEFT OUTER JOIN C_ChmlCmplncPrimMatl AS _MaterialDataPrimary ON ChmlCmplncInfoUUID = _MaterialDataPrimary.ChmlCmplncInfoUUID  -- association [1..1]
LEFT OUTER JOIN P_PaDaGdsBscClassfctn AS _PaDaGdsBscClassfctn ON _PaDaGdsBscClassfctn.CmplRqRsltUUID = ActiveCmplRqRsltUUID  -- association [1..1]
LEFT OUTER JOIN I_CmplRqRslt AS _ReleasedCmplRqRslt ON ChmlCmplncInfoUUID = _ReleasedCmplRqRslt.ChmlCmplncInfoUUID AND CmplRqVersUUID = _ReleasedCmplRqRslt.CmplRqVersUUID AND _ReleasedCmplRqRslt.CmplRqRsltProcessingStatus = 'RE'  -- association [0..1]
LEFT OUTER JOIN C_PaDaGdsClfnTxtBsdMoOfTrTP AS _CmplRqRsltDaGdsMoOfTrTP ON CmplRqRsltUUID = _CmplRqRsltDaGdsMoOfTrTP.CmplRqRsltUUID  -- association [0..*]
LEFT OUTER JOIN I_ClassifiedAsDangerousGoodTxt AS _ClassifiedAsDangerousGoodTxt ON _ClassifiedAsDangerousGoodTxt.ClassifiedAsDangerousGood = classifiedasdangerousgood  -- association [0..*]
LEFT OUTER JOIN I_ChmlCmplncInfo AS _ChmlCmplncInfo ON _ChmlCmplncInfo.ChmlCmplncInfoUUID = ChmlCmplncInfoUUID  -- association [1..1]
;