P_MoOfTrDescFallbackScore

DDL: P_MOOFTRDESCFALLBACKSCORE Type: view CONSUMPTION

P_MoOfTrDescFallbackScore is a Consumption CDS View in SAP S/4HANA. It reads from 4 data sources (I_CmplRqRsltDaGdsMoOfTr, I_CmplRqRsltDaGdsMoOfTrDesc, R_PaDaGdsClfnTxtBsdMoOfTrDrft, R_UnpckgdDngrsGdsClfnDrft) and exposes 25 fields with key fields CmplRqRsltDngrsGdsModeOfTrUUID, Language, Language.

Data Sources (4)

SourceAliasJoin Type
I_CmplRqRsltDaGdsMoOfTr I_CmplRqRsltDaGdsMoOfTr inner
I_CmplRqRsltDaGdsMoOfTrDesc I_CmplRqRsltDaGdsMoOfTrDesc union
R_PaDaGdsClfnTxtBsdMoOfTrDrft R_PaDaGdsClfnTxtBsdMoOfTrDrft from
R_UnpckgdDngrsGdsClfnDrft R_UnpckgdDngrsGdsClfnDrft inner

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PDGDSCFBS view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.preserveKey true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
VDM.private true view
VDM.viewType #CONSUMPTION view

Fields (25)

KeyFieldSource TableSource FieldDescription
KEY CmplRqRsltDngrsGdsModeOfTrUUID R_PaDaGdsClfnTxtBsdMoOfTrDrft CmplRqRsltDngrsGdsModeOfTrUUID NodeID
KEY Language R_PaDaGdsClfnTxtBsdMoOfTrDrftT Language Report Text Language
ActiveCmplRqRsltUUID R_UnpckgdDngrsGdsClfnDrft ActiveCmplRqRsltUUID SDS Assessment
DngrsGoodsModeOfTransport R_PaDaGdsClfnTxtBsdMoOfTrDrft DngrsGoodsModeOfTransport Mode of Transport
DangerousGoodDescForDocuments R_PaDaGdsClfnTxtBsdMoOfTrDrftT DangerousGoodDescForDocuments Description for Documents
DngrsGoodDescForDocsTmplText R_PaDaGdsClfnTxtBsdMoOfTrDrft DngrsGoodDescForDocsTmplText Template for Descriptions for Documents
DngrsGoodDescForPackggDocsText R_PaDaGdsClfnTxtBsdMoOfTrDrftT DngrsGoodDescForPackggDocsText Description Package and Quantity Info
DngrsGoodDescForPackggTmplText R_PaDaGdsClfnTxtBsdMoOfTrDrft DngrsGoodDescForPackggTmplText Template for Package and Quantity Info
DngrsGoodHazardNotesDocsText R_PaDaGdsClfnTxtBsdMoOfTrDrftT DngrsGoodHazardNotesDocsText Hazard Notes and Add. Info. Description
DngrsGoodHazardNotesTmplText R_PaDaGdsClfnTxtBsdMoOfTrDrft DngrsGoodHazardNotesTmplText Template for Hazard Notes / Add. Info
DngrsGoodMarkingLabelText R_PaDaGdsClfnTxtBsdMoOfTrDrftT DngrsGoodMarkingLabelText Marking Text Description
DngrsGdsTmplForMarkingTxt R_PaDaGdsClfnTxtBsdMoOfTrDrft DngrsGdsTmplForMarkingTxt Template for Marking Text
CmplRqRsltDngrsGdsModeOfTrUUID NodeID
KEY Language I_CmplRqRsltDaGdsMoOfTrDesc Language Report Text Language
ActiveCmplRqRsltUUID I_CmplRqRsltDaGdsMoOfTrDesc CmplRqRsltUUID SDS Assessment
DngrsGoodsModeOfTransport I_CmplRqRsltDaGdsMoOfTr DngrsGoodsModeOfTransport Mode of Transport
DangerousGoodDescForDocuments I_CmplRqRsltDaGdsMoOfTrDesc DangerousGoodDescForDocuments Description for Documents
DngrsGoodDescForDocsTmplText I_CmplRqRsltDaGdsMoOfTr DngrsGoodDescForDocsTmplText Template for Descriptions for Documents
DngrsGoodDescForPackggDocsText I_CmplRqRsltDaGdsMoOfTrDesc DngrsGoodDescForPackggDocsText Description Package and Quantity Info
DngrsGoodDescForPackggTmplText I_CmplRqRsltDaGdsMoOfTr DngrsGoodDescForPackggTmplText Template for Package and Quantity Info
DngrsGoodHazardNotesDocsText I_CmplRqRsltDaGdsMoOfTrDesc DngrsGoodHazardNotesDocsText Hazard Notes and Add. Info. Description
DngrsGoodHazardNotesTmplText I_CmplRqRsltDaGdsMoOfTr DngrsGoodHazardNotesTmplText Template for Hazard Notes / Add. Info
DngrsGoodMarkingLabelText I_CmplRqRsltDaGdsMoOfTrDesc DngrsGoodMarkingLabelText Marking Text Description
DngrsGdsTmplForMarkingTxt I_CmplRqRsltDaGdsMoOfTr DngrsGdsTmplForMarkingTxt Template for Marking Text
LanguageEthen1endasFallbackScore

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 P_MoOfTrDescFallbackScore.
-- 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 P_MoOfTrDescFallbackScore AS
SELECT
  R_PaDaGdsClfnTxtBsdMoOfTrDrft.CmplRqRsltDngrsGdsModeOfTrUUID AS CmplRqRsltDngrsGdsModeOfTrUUID,
  R_PaDaGdsClfnTxtBsdMoOfTrDrftT.Language AS Language,
  R_UnpckgdDngrsGdsClfnDrft.ActiveCmplRqRsltUUID AS ActiveCmplRqRsltUUID,
  R_PaDaGdsClfnTxtBsdMoOfTrDrft.DngrsGoodsModeOfTransport AS DngrsGoodsModeOfTransport,
  R_PaDaGdsClfnTxtBsdMoOfTrDrftT.DangerousGoodDescForDocuments AS DangerousGoodDescForDocuments,
  R_PaDaGdsClfnTxtBsdMoOfTrDrft.DngrsGoodDescForDocsTmplText AS DngrsGoodDescForDocsTmplText,
  R_PaDaGdsClfnTxtBsdMoOfTrDrftT.DngrsGoodDescForPackggDocsText AS DngrsGoodDescForPackggDocsText,
  R_PaDaGdsClfnTxtBsdMoOfTrDrft.DngrsGoodDescForPackggTmplText AS DngrsGoodDescForPackggTmplText,
  R_PaDaGdsClfnTxtBsdMoOfTrDrftT.DngrsGoodHazardNotesDocsText AS DngrsGoodHazardNotesDocsText,
  R_PaDaGdsClfnTxtBsdMoOfTrDrft.DngrsGoodHazardNotesTmplText AS DngrsGoodHazardNotesTmplText,
  R_PaDaGdsClfnTxtBsdMoOfTrDrftT.DngrsGoodMarkingLabelText AS DngrsGoodMarkingLabelText,
  R_PaDaGdsClfnTxtBsdMoOfTrDrft.DngrsGdsTmplForMarkingTxt AS DngrsGdsTmplForMarkingTxt,
  case when I_CmplRqRsltDaGdsMoOfTrDesc.Language = $session.system_language then 2 when I_CmplRqRsltDaGdsMoOfTrDesc.Language = 'E' then 1 end as FallbackScore AS LanguageEthen1endasFallbackScore
FROM R_PaDaGdsClfnTxtBsdMoOfTrDrft
INNER JOIN R_UnpckgdDngrsGdsClfnDrft ON /* join condition not captured in parsed metadata */
INNER JOIN I_CmplRqRsltDaGdsMoOfTr ON /* join condition not captured in parsed metadata */
-- UNION with additional select branch(es): I_CmplRqRsltDaGdsMoOfTrDesc
;