P_ACMPrcReconVlogpPrepareData

DDL: P_ACMPRCRECONVLOGPPREPAREDATA SQL: PACMVLOGPPREPP Type: view COMPOSITE

P_ACMPrcReconVlogpPrepareData is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_ACMVersionedLogisticDocument) and exposes 17 fields with key fields PricingKey, Version, PricingDocumentItem, ConditionType, SubConditionType.

Data Sources (1)

SourceAliasJoin Type
I_ACMVersionedLogisticDocument I_ACMVersionedLogisticDocument from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PACMVLOGPPREPP view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.private true view
AbapCatalog.compiler.compareFilter true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY PricingKey PricingKey Pricing Key
KEY Version ACMPricingVersion XML Vers.
KEY PricingDocumentItem PricingDocumentItem Item
KEY ConditionType ConditionType Condition type
KEY SubConditionType SubConditionType Subkey
MTMDataSourceType MTMDataSourceType Type of Data Record
SourceDocument
DocumentCurrency DocumentCurrency Document Currency
DeliveryPeriodStartDate DeliveryPeriodStartDate Delivery Per. Start
DeliveryPeriodEndDate DeliveryPeriodEndDate Delivery Period End
ConditionTermRateQuantity ConditionTermRateQuantity
PricingStatus PricingStatus Price Fix. Status
ConditionTermRateFixation ACMConditionTermNumber Term Number
TargetConversionFactor TargetConversionFactor Fxd Term To-Fct Conv
SourceConversionFactor SourceConversionFactor Fixed Frm-Fctr Conv.
OriginReferenceDocument OriginReferenceDocument Root Document
Material Material Vehicle Model

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_ACMPrcReconVlogpPrepareData.
-- 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: PACMVLOGPPREPP

CREATE VIEW P_ACMPrcReconVlogpPrepareData AS
SELECT
  PricingKey,
  ACMPricingVersion AS Version,
  PricingDocumentItem,
  ConditionType,
  SubConditionType,
  MTMDataSourceType,
  substring(SourceDocument, 11, 10) AS SourceDocument,
  DocumentCurrency,
  DeliveryPeriodStartDate,
  DeliveryPeriodEndDate,
  ConditionTermRateQuantity,
  PricingStatus,
  ACMConditionTermNumber AS ConditionTermRateFixation,
  TargetConversionFactor,
  SourceConversionFactor,
  OriginReferenceDocument,
  Material
FROM I_ACMVersionedLogisticDocument
;