A_ServiceConfItemPriceElement

DDL: A_SERVICECONFITEMPRICEELEMENT Type: view_entity COMPOSITE Package: ODATA_CRMS4_SERVICECONFIRM

Price Element of Srvc Confirmation Item

A_ServiceConfItemPriceElement is a Composite CDS View that provides data about "Price Element of Srvc Confirmation Item" in SAP S/4HANA. It reads from 2 data sources (I_PricingElement, I_ServiceDocumentEnhcd) and exposes 10 fields with key fields ServiceConfirmation, ServiceConfirmationItem, PricingProcedureStep, PricingProcedureCounter. It has 1 association to related views. Part of development package ODATA_CRMS4_SERVICECONFIRM.

Data Sources (2)

SourceAliasJoin Type
I_PricingElement PricingElement from
I_ServiceDocumentEnhcd ServiceConfirmation inner

Associations (1)

CardinalityTargetAliasCondition
[1..1] A_ServiceConfirmation _ServiceConfirmation $projection.ServiceConfirmation = _ServiceConfirmation.ServiceConfirmation

Annotations (10)

NameValueLevelField
EndUserText.label Price Element of Srvc Confirmation Item view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AccessControl.authorizationCheck #CHECK view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XXL view
Metadata.ignorePropagatedAnnotations true view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY ServiceConfirmation I_ServiceDocumentEnhcd ServiceDocument Transaction ID
KEY ServiceConfirmationItem
KEY PricingProcedureStep I_PricingElement PricingProcedureStep Step Number
KEY PricingProcedureCounter I_PricingElement PricingProcedureCounter Pricing Procedure Counter
ConditionType I_PricingElement ConditionType Condition type
ConditionRateValue I_PricingElement ConditionRateValue Condition Rate Value
ConditionCurrency I_PricingElement ConditionCurrency Currency
ConditionQuantity I_PricingElement ConditionQuantity Pricing Unit
ConditionQuantityUnit I_PricingElement ConditionQuantityUnit Unit of Measure
_ServiceConfirmation _ServiceConfirmation

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 A_ServiceConfItemPriceElement.
-- 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 A_ServiceConfItemPriceElement AS
SELECT
  ServiceConfirmation.ServiceDocument AS ServiceConfirmation,
  cast(PricingElement.PricingDocumentItem as crms4_number_int preserving type) AS ServiceConfirmationItem,
  PricingElement.PricingProcedureStep AS PricingProcedureStep,
  PricingElement.PricingProcedureCounter AS PricingProcedureCounter,
  PricingElement.ConditionType AS ConditionType,
  PricingElement.ConditionRateValue AS ConditionRateValue,
  PricingElement.ConditionCurrency AS ConditionCurrency,
  PricingElement.ConditionQuantity AS ConditionQuantity,
  PricingElement.ConditionQuantityUnit AS ConditionQuantityUnit
FROM I_PricingElement AS PricingElement
INNER JOIN I_ServiceDocumentEnhcd AS ServiceConfirmation ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN A_ServiceConfirmation AS _ServiceConfirmation ON ServiceConfirmation = _ServiceConfirmation.ServiceConfirmation  -- association [1..1]
;