C_PaDaGdsClfnTxtBsdTP
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)
| Source | Alias | Join Type |
|---|---|---|
| I_CmplRqRsltDngrsGdsBscClfnTP | I_CmplRqRsltDngrsGdsBscClfnTP | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA