P_CASRelPrepareData

DDL: P_CASRELPREPAREDATA SQL: PCASRELPREPDATA Type: view COMPOSITE

P_CASRelPrepareData is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (P_Konvd_NetDry_SelectData_TF, I_VersionedLogisticDocument) and exposes 12 fields with key fields PricingKey, Version, PricingDocumentItem, ConditionType, SubConditionType.

Data Sources (2)

SourceAliasJoin Type
P_Konvd_NetDry_SelectData_TF KONVD from
I_VersionedLogisticDocument VLOGP inner

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PCASRELPREPDATA view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #COMPOSITE view
AbapCatalog.preserveKey true view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY PricingKey P_Konvd_NetDry_SelectData_TF PricingKey Pricing Key
KEY Version I_VersionedLogisticDocument Version XML Vers.
KEY PricingDocumentItem P_Konvd_NetDry_SelectData_TF PricingDocumentItem Item
KEY ConditionType P_Konvd_NetDry_SelectData_TF ConditionType Condition type
KEY SubConditionType P_Konvd_NetDry_SelectData_TF SubConditionType Subkey
KEY VersStockRecordUUID P_Konvd_NetDry_SelectData_TF VersStockRecordUUID
SourceDocument P_Konvd_NetDry_SelectData_TF SourceDocument Document
SourceDocumentIn10Characters P_Konvd_NetDry_SelectData_TF SourceDocumentIn10Characters
SourceDocumentItem P_Konvd_NetDry_SelectData_TF SourceDocumentItem
SourceDocumentYear P_Konvd_NetDry_SelectData_TF SourceDocumentYear
GoodsMovementType P_Konvd_NetDry_SelectData_TF GoodsMovementType Movement Type
ScenarioIsNonCASRelevant

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_CASRelPrepareData.
-- 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: PCASRELPREPDATA

CREATE VIEW P_CASRelPrepareData AS
SELECT
  KONVD.PricingKey AS PricingKey,
  VLOGP.Version AS Version,
  KONVD.PricingDocumentItem AS PricingDocumentItem,
  KONVD.ConditionType AS ConditionType,
  KONVD.SubConditionType AS SubConditionType,
  KONVD.VersStockRecordUUID AS VersStockRecordUUID,
  KONVD.SourceDocument AS SourceDocument,
  KONVD.SourceDocumentIn10Characters AS SourceDocumentIn10Characters,
  KONVD.SourceDocumentItem AS SourceDocumentItem,
  KONVD.SourceDocumentYear AS SourceDocumentYear,
  KONVD.GoodsMovementType AS GoodsMovementType,
  'X' AS ScenarioIsNonCASRelevant
FROM P_Konvd_NetDry_SelectData_TF AS KONVD
INNER JOIN I_VersionedLogisticDocument AS VLOGP ON /* join condition not captured in parsed metadata */
;