A_SrvcContrBillgReqItmPrcElmnt

DDL: A_SRVCCONTRBILLGREQITMPRCELMNT Type: view COMPOSITE

BRL Price Element

A_SrvcContrBillgReqItmPrcElmnt is a Composite CDS View that provides data about "BRL Price Element" in SAP S/4HANA. It reads from 2 data sources (I_PricingElement, I_ServiceDocumentEnhcd) and exposes 11 fields with key fields ServiceContract, BillingRequestItem, PricingProcedureStep, PricingProcedureCounter. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
I_PricingElement PricingElement from
I_ServiceDocumentEnhcd ServiceContract inner

Associations (1)

CardinalityTargetAliasCondition
[0..*] A_SrvcContrItmBillgReqItem _BillingRequestItem $projection.ServiceContract = _BillingRequestItem.ServiceContract and $projection.BillingRequestItem = _BillingRequestItem.BillingRequestItem

Annotations (14)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label BRL Price Element view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AbapCatalog.sqlViewName ASRVCTRITMBRLPRE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.createEnabled false view
ObjectModel.updateEnabled false view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XXL view
Metadata.ignorePropagatedAnnotations true view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY ServiceContract I_ServiceDocumentEnhcd ServiceDocument Transaction ID
KEY BillingRequestItem Item
KEY PricingProcedureStep PricingProcedureStep Step Number
KEY PricingProcedureCounter PricingProcedureCounter Pricing Procedure Counter
ConditionType ConditionType Condition type
ConditionRateValue ConditionRateValue Condition Rate Value
ConditionCurrency ConditionCurrency Currency
ConditionQuantity ConditionQuantity Pricing Unit
ConditionQuantityUnit ConditionQuantityUnit Unit of Measure
ConditionInactiveReason ConditionInactiveReason Inactive
_BillingRequestItem _BillingRequestItem

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_SrvcContrBillgReqItmPrcElmnt.
-- 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_SrvcContrBillgReqItmPrcElmnt AS
SELECT
  ServiceContract.ServiceDocument AS ServiceContract,
  cast(PricingDocumentItem as crms4_number_int preserving type) AS BillingRequestItem,
  PricingProcedureStep,
  PricingProcedureCounter,
  ConditionType,
  ConditionRateValue,
  ConditionCurrency,
  ConditionQuantity,
  ConditionQuantityUnit,
  ConditionInactiveReason
FROM I_PricingElement AS PricingElement
INNER JOIN I_ServiceDocumentEnhcd AS ServiceContract ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN A_SrvcContrItmBillgReqItem AS _BillingRequestItem ON ServiceContract = _BillingRequestItem.ServiceContract AND BillingRequestItem = _BillingRequestItem.BillingRequestItem  -- association [0..*]
;