C_CmplRqRsltDngrsGdsBscDetsTP

DDL: C_CMPLRQRSLTDNGRSGDSBSCDETSTP SQL: CCRRBCTDETTP Type: view CONSUMPTION

Consumption View for CR Result DG Basic Classificat. Details

C_CmplRqRsltDngrsGdsBscDetsTP is a Consumption CDS View that provides data about "Consumption View for CR Result DG Basic Classificat. Details" in SAP S/4HANA. It reads from 1 data source (I_CmplRqRsltDngrsGdsBscDetsTP) and exposes 15 fields with key field CmplRqRsltDngrsGdsBscDetsUUID. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CmplRqRsltDngrsGdsBscDetsTP I_CmplRqRsltDngrsGdsBscDetsTP from

Associations (4)

CardinalityTargetAliasCondition
[1..1] C_CmplRqRsltDngrsGdsBscClfnTP _CmplRqRslt $projection.CmplRqRsltUUID = _CmplRqRslt.CmplRqRsltUUID
[0..*] I_ClassifiedAsDangerousGoodTxt _ClassifiedAsDangerousGoodTxt $projection.ClassifiedAsDangerousGood = _ClassifiedAsDangerousGoodTxt.ClassifiedAsDangerousGood
[0..*] I_DngrsGdsClassOrDivisionText _DngrsGdsClassOrDivisionText $projection.DangerousGoodsClass = _DngrsGdsClassOrDivisionText.DangerousGoodsClass
[0..*] I_DngrsGdsPackingGroupText _DngrsGdsPackingGroupText $projection.DangerousGoodsPackingGroup = _DngrsGdsPackingGroupText.DangerousGoodsPackingGroup

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName CCRRBCTDETTP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Consumption View for CR Result DG Basic Classificat. Details view
Metadata.allowExtensions true view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.preserveKey true 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 (15)

KeyFieldSource TableSource FieldDescription
KEY CmplRqRsltDngrsGdsBscDetsUUID CmplRqRsltDngrsGdsBscDetsUUID NodeID
CmplRqRsltUUID CmplRqRsltUUID SDS Assessment
CreatedByUser CreatedByUser User Name
LastChangedByUser LastChangedByUser User Name
ClassifiedAsDangerousGood ClassifiedAsDangerousGood Classified As
DangerousGoodsIdnNumber DangerousGoodsIdnNumber Number
DangerousGoodsIdnNumberType DangerousGoodsIdnNumberType Number Prefix
DangerousGoodsClass DangerousGoodsClass Class/Division
DangerousGoodsPackingGroup DangerousGoodsPackingGroup Packing Group
DangerousGoodsListItemVariant DangerousGoodsListItemVariant Variant
MachineLearningIsActive
_CmplRqRslt _CmplRqRslt
_ClassifiedAsDangerousGoodTxt _ClassifiedAsDangerousGoodTxt
_DngrsGdsClassOrDivisionText _DngrsGdsClassOrDivisionText
_DngrsGdsPackingGroupText _DngrsGdsPackingGroupText

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_CmplRqRsltDngrsGdsBscDetsTP.
-- 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: CCRRBCTDETTP

CREATE VIEW C_CmplRqRsltDngrsGdsBscDetsTP AS
SELECT
  CmplRqRsltDngrsGdsBscDetsUUID,
  CmplRqRsltUUID,
  CreatedByUser,
  LastChangedByUser,
  ClassifiedAsDangerousGood,
  DangerousGoodsIdnNumber,
  DangerousGoodsIdnNumberType,
  DangerousGoodsClass,
  DangerousGoodsPackingGroup,
  DangerousGoodsListItemVariant,
  cast( '' as fap_machine_learning_active ) AS MachineLearningIsActive
FROM I_CmplRqRsltDngrsGdsBscDetsTP
LEFT OUTER JOIN C_CmplRqRsltDngrsGdsBscClfnTP AS _CmplRqRslt ON CmplRqRsltUUID = _CmplRqRslt.CmplRqRsltUUID  -- association [1..1]
LEFT OUTER JOIN I_ClassifiedAsDangerousGoodTxt AS _ClassifiedAsDangerousGoodTxt ON ClassifiedAsDangerousGood = _ClassifiedAsDangerousGoodTxt.ClassifiedAsDangerousGood  -- association [0..*]
LEFT OUTER JOIN I_DngrsGdsClassOrDivisionText AS _DngrsGdsClassOrDivisionText ON DangerousGoodsClass = _DngrsGdsClassOrDivisionText.DangerousGoodsClass  -- association [0..*]
LEFT OUTER JOIN I_DngrsGdsPackingGroupText AS _DngrsGdsPackingGroupText ON DangerousGoodsPackingGroup = _DngrsGdsPackingGroupText.DangerousGoodsPackingGroup  -- association [0..*]
;