P_ACMContractPricingElement

DDL: P_ACMCONTRACTPRICINGELEMENT SQL: PACMCTRPRCELEMT Type: view BASIC

ACM Contract Pricing Element

P_ACMContractPricingElement is a Basic CDS View that provides data about "ACM Contract Pricing Element" in SAP S/4HANA. It reads from 1 data source (prcd_elements) and exposes 14 fields with key fields PricingDocument, PricingDocumentItem, PricingProcedureStep, PricingProcedureCounter.

Data Sources (1)

SourceAliasJoin Type
prcd_elements prcd_elements from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PACMCTRPRCELEMT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
VDM.private true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
EndUserText.label ACM Contract Pricing Element view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY PricingDocument knumv Doc. Condition
KEY PricingDocumentItem kposn Number
KEY PricingProcedureStep stunr Step Number
KEY PricingProcedureCounter zaehk Counter
ConditionApplication kappl Application
ConditionType kschl Tax Item Type
ConditionCalculationType krech Calculat.Type
ConditionBaseValue kawrt Cond.Basis
ConditionRateValue kbetr Tax Rate
ConditionCurrency waers Transaction Currency
ConditionQuantity kpein Pricing Unit
ConditionQuantityUnit kmein Unit of Measure
ConditionAmount kwert Condition Value
TransactionCurrency waerk Doc. Currency

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_ACMContractPricingElement.
-- 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: PACMCTRPRCELEMT

CREATE VIEW P_ACMContractPricingElement AS
SELECT
  knumv AS PricingDocument,
  kposn AS PricingDocumentItem,
  stunr AS PricingProcedureStep,
  zaehk AS PricingProcedureCounter,
  kappl AS ConditionApplication,
  kschl AS ConditionType,
  krech AS ConditionCalculationType,
  kawrt AS ConditionBaseValue,
  kbetr AS ConditionRateValue,
  waers AS ConditionCurrency,
  kpein AS ConditionQuantity,
  kmein AS ConditionQuantityUnit,
  kwert AS ConditionAmount,
  waerk AS TransactionCurrency
FROM prcd_elements
;