P_PriceFixationBasicDetails

DDL: P_PRICEFIXATIONBASICDETAILS SQL: PPRCFIXBASDET Type: view COMPOSITE

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

Data Sources (8)

SourceAliasJoin Type
I_ACMContrPrcAspectBridgeDets bridge inner
P_TradingContractConditionNmbr ConditionNumber from
I_ACMFormulaGrpgGeneralResult formula_mm inner
I_ACMMappingDocItemData guid inner
P_GetCPETermInputDataBasis P_GetCPETermInputDataBasis inner
I_ACMTrdgContrPrcAspectDets PricingAspect inner
I_CmmdtyPrcgTrmGrpgGenRslt termgrpout inner
I_CmmdtyPrcgTrmInptGenData terminput inner

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PPRCFIXBASDET 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 (21)

KeyFieldSource TableSource FieldDescription
KEY SourceLotId I_ACMTrdgContrPrcAspectDets TrdgContrPrcgAspectSrceLotID Src. Lot ID
BasisCondType I_ACMFormulaGrpgGeneralResult ACMPricingConditionType Condition Type
TermNo I_CmmdtyPrcgTrmGrpgGenRslt PricingConditionTerm Term Number
tkonn P_TradingContractConditionNmbr tkonn Trading Contract
tposn P_TradingContractConditionNmbr tposn Item Number
BasisFx termconvin ACMPricingFXRate
basisprice I_CmmdtyPrcgTrmInptGenData ACMPrcgTermInputCndnPrc Fixed Rate
PrcgCndnBasisTermCurrency I_CmmdtyPrcgTrmInptGenData PrcgConditionTermFixedRateCrcy Currency Fixed Rate
DCSID I_CmmdtyPrcgTrmInptGenData DerivativeContrSpecification DCS ID
DerivativeContrSpecsTxt DCSText DerivativeContrSpecName
MIC I_CmmdtyPrcgTrmInptGenData MarketIdentifierCode MIC
MarketIdentifierCodeTxt MICText MarketIdentifierCodeName
PriceUnitBasisFixedRate I_CmmdtyPrcgTrmInptGenData PrcgConditionTermFixedRateQty PrcUnit Fixed Value
FixedRateBasisUnitofMeasure I_CmmdtyPrcgTrmInptGenData PrcgCndnTermFixedRateQtyUnit UoM for Fixed Value
BasisFetchPrice terminput_bas fetch_price
BasisFetchPriceCurrency terminput_bas FETCH_PRICE_CURRENCY
BasisFetchPriceQty terminput_bas FETCH_PRICE_QTY
BasisFetchPriceUnit terminput_bas FETCH_PRICE_UNIT
BasisReasonCode terminput_bas REASON_CODE Return/Change Reason
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_PriceFixationBasicDetails.
-- 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: PPRCFIXBASDET

CREATE VIEW P_PriceFixationBasicDetails AS
SELECT
  PricingAspect.TrdgContrPrcgAspectSrceLotID AS SourceLotId,
  formula_mm.ACMPricingConditionType AS BasisCondType,
  termgrpout.PricingConditionTerm AS TermNo,
  ConditionNumber.tkonn AS tkonn,
  ConditionNumber.tposn AS tposn,
  termconvin.ACMPricingFXRate AS BasisFx,
  terminput.ACMPrcgTermInputCndnPrc AS basisprice,
  terminput.PrcgConditionTermFixedRateCrcy AS PrcgCndnBasisTermCurrency,
  terminput.DerivativeContrSpecification AS DCSID,
  DCSText.DerivativeContrSpecName AS DerivativeContrSpecsTxt,
  terminput.MarketIdentifierCode AS MIC,
  MICText.MarketIdentifierCodeName AS MarketIdentifierCodeTxt,
  terminput.PrcgConditionTermFixedRateQty AS PriceUnitBasisFixedRate,
  terminput.PrcgCndnTermFixedRateQtyUnit AS FixedRateBasisUnitofMeasure,
  terminput_bas.fetch_price AS BasisFetchPrice,
  terminput_bas.FETCH_PRICE_CURRENCY AS BasisFetchPriceCurrency,
  terminput_bas.FETCH_PRICE_QTY AS BasisFetchPriceQty,
  terminput_bas.FETCH_PRICE_UNIT AS BasisFetchPriceUnit,
  terminput_bas.REASON_CODE AS BasisReasonCode,
  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 P_GetCPETermInputDataBasis 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_ACMTrdgContrPrcAspectDets AS PricingAspect ON /* join condition not captured in parsed metadata */
;