P_PriceFixationSecBasisDetails

DDL: P_PRICEFIXATIONSECBASISDETAILS SQL: PPRCFIXSBASDET Type: view COMPOSITE

P_PriceFixationSecBasisDetails is a Composite CDS View in SAP S/4HANA. It reads from 9 data sources and exposes 13 fields with key field SourceLotId.

Data Sources (9)

SourceAliasJoin Type
I_ACMContrPrcAspectBridgeDets bridge inner
P_TradingContractConditionNmbr ConditionNumber from
I_ACMPricingCndnTypeMapping ConditionTypeMap inner
I_ACMContrPricingCndnTypeText ConditionTypeText inner
I_ACMFormulaGrpgGeneralResult formula_mm inner
I_ACMMappingDocItemData guid inner
I_ACMTrdgContrPrcAspectDets PricingAspect inner
I_CmmdtyPrcgTrmGrpgGenRslt termgrpout inner
I_CmmdtyPrcgTrmInptGenData terminput inner

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PPRCFIXSBASDET view
AbapCatalog.compiler.compareFilter true 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
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY SourceLotId I_ACMTrdgContrPrcAspectDets TrdgContrPrcgAspectSrceLotID Src. Lot ID
TermNo I_CmmdtyPrcgTrmGrpgGenRslt PricingConditionTerm Term Number
TradingContractNumber P_TradingContractConditionNmbr tkonn Trading Contract
TradingContractItem P_TradingContractConditionNmbr tposn Item Number
ACMPricingConditionType I_ACMFormulaGrpgGeneralResult ACMPricingConditionType Condition Type
ACMPricingConditionTypeName I_ACMContrPricingCndnTypeText ACMPricingConditionTypeName
SecondaryBasisFx termconvin ACMPricingFXRate
SecondaryBasisPrice I_CmmdtyPrcgTrmInptGenData ACMPrcgTermInputCndnPrc Fixed Rate
SecondaryBasisTermCurrency I_CmmdtyPrcgTrmInptGenData PrcgConditionTermFixedRateCrcy Currency Fixed Rate
SecondaryBasisPriceUnit I_CmmdtyPrcgTrmInptGenData PrcgConditionTermFixedRateQty PrcUnit Fixed Value
SecondaryBasisUnitofMeasure I_CmmdtyPrcgTrmInptGenData PrcgCndnTermFixedRateQtyUnit UoM for Fixed Value
TERMCOMMUOM I_CmmdtyPrcgTrmGrpgGenRslt UnitOfMeasure Unit Protected Qty
TERMCOMMQUAN I_CmmdtyPrcgTrmGrpgGenRslt Quantity Value

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_PriceFixationSecBasisDetails.
-- 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: PPRCFIXSBASDET

CREATE VIEW P_PriceFixationSecBasisDetails AS
SELECT
  PricingAspect.TrdgContrPrcgAspectSrceLotID AS SourceLotId,
  termgrpout.PricingConditionTerm AS TermNo,
  ConditionNumber.tkonn AS TradingContractNumber,
  ConditionNumber.tposn AS TradingContractItem,
  formula_mm.ACMPricingConditionType AS ACMPricingConditionType,
  ConditionTypeText.ACMPricingConditionTypeName AS ACMPricingConditionTypeName,
  termconvin.ACMPricingFXRate AS SecondaryBasisFx,
  terminput.ACMPrcgTermInputCndnPrc AS SecondaryBasisPrice,
  terminput.PrcgConditionTermFixedRateCrcy AS SecondaryBasisTermCurrency,
  terminput.PrcgConditionTermFixedRateQty AS SecondaryBasisPriceUnit,
  terminput.PrcgCndnTermFixedRateQtyUnit AS SecondaryBasisUnitofMeasure,
  termgrpout.UnitOfMeasure AS TERMCOMMUOM,
  termgrpout.Quantity AS TERMCOMMQUAN
FROM P_TradingContractConditionNmbr AS ConditionNumber
INNER JOIN I_ACMMappingDocItemData AS guid ON /* join condition not captured in parsed metadata */
INNER JOIN I_ACMFormulaGrpgGeneralResult AS formula_mm ON /* join condition not captured in parsed metadata */
INNER JOIN I_CmmdtyPrcgTrmGrpgGenRslt AS termgrpout ON /* join condition not captured in parsed metadata */
INNER JOIN I_CmmdtyPrcgTrmInptGenData AS terminput ON /* join condition not captured in parsed metadata */
INNER JOIN I_ACMContrPrcAspectBridgeDets AS bridge ON /* join condition not captured in parsed metadata */
INNER JOIN I_ACMPricingCndnTypeMapping AS ConditionTypeMap ON /* join condition not captured in parsed metadata */
INNER JOIN I_ACMTrdgContrPrcAspectDets AS PricingAspect ON /* join condition not captured in parsed metadata */
INNER JOIN I_ACMContrPricingCndnTypeText AS ConditionTypeText ON /* join condition not captured in parsed metadata */
;