A_ACMTrdgContrPrcgInfo

DDL: A_ACMTRDGCONTRPRCGINFO Type: view_entity CONSUMPTION

Item Pricing

A_ACMTrdgContrPrcgInfo is a Consumption CDS View that provides data about "Item Pricing" in SAP S/4HANA. It reads from 1 data source (R_ACMTrdgContrPrcgInfoTP) and exposes 36 fields with key fields TradingContractNumber, TradingContractItem, PricingConditionTerm.

Data Sources (1)

SourceAliasJoin Type
R_ACMTrdgContrPrcgInfoTP R_ACMTrdgContrPrcgInfoTP projection

Annotations (8)

NameValueLevelField
OData.entityType.name TradingContractItemPricing_Type view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
EndUserText.label Item Pricing view
AccessControl.authorizationCheck #CHECK view

Fields (36)

KeyFieldSource TableSource FieldDescription
KEY TradingContractNumber TradingContractNumber
KEY TradingContractItem TradingContractItem
KEY PricingConditionTerm PricingConditionTerm
TrdgContrPrcgAspectSrceLotID TrdgContrPrcgAspectSrceLotID
Quantity Quantity
UnitOfMeasure UnitOfMeasure
MaturityKeyDate MaturityKeyDate
DerivativeContrSpecification DerivativeContrSpecification
ACMPricingMarketIdentifierCode ACMPricingMarketIdentifierCode
char40
curr112
ACMPrcgCndnFutureRawPrice ACMPrcgCndnFutureRawPrice
ACMPrcgCndnFutureTermCrcy ACMPrcgCndnFutureTermCrcy
ACMPrcgCndnFutureFixedRateQty ACMPrcgCndnFutureFixedRateQty
ACMPrcgCndnFixedRateFutureUoM ACMPrcgCndnFixedRateFutureUoM
curr112
ACMPrcgCndnBasisRawPrc ACMPrcgCndnBasisRawPrc
PrcgConditionTermFixedRateCrcy PrcgConditionTermFixedRateCrcy
ACMPrcgCndnBasisFixedRate ACMPrcgCndnBasisFixedRate
ACMPrcgCndnFixedRateBasisUoM ACMPrcgCndnFixedRateBasisUoM
curr112
ACMPrcgCndnCumltvBsRawPrc ACMPrcgCndnCumltvBsRawPrc
ACMPrcgCndnCumltvBasisCrcy ACMPrcgCndnCumltvBasisCrcy
curr112
ACMPrcgCndnFlatRawPrice ACMPrcgCndnFlatRawPrice
PrcgCndnTradingContrCurrency PrcgCndnTradingContrCurrency
ACMPrcgCndnNonHedgeTermCrcy ACMPrcgCndnNonHedgeTermCrcy
ACMPrcgCndnNonHedgeFlatPrice ACMPrcgCndnNonHedgeFlatPrice
ACMPrcgNonHedgePrPerQuantity ACMPrcgNonHedgePrPerQuantity
PrcgCndnTermCnvrsnFxdExchRate PrcgCndnTermCnvrsnFxdExchRate
ConditionType ConditionType
PrcgCndnTermCnvrsnSourceCrcy PrcgCndnTermCnvrsnSourceCrcy
PrcgCndnTermCnvrsnTargetCrcy PrcgCndnTermCnvrsnTargetCrcy
dec168
ACMIsOverfillPricingLot ACMIsOverfillPricingLot
char13
@OData.entityType.name: 'TradingContractItemPricing_Type'

@ObjectModel:{
               usageType: {
                 dataClass: #TRANSACTIONAL,
                 serviceQuality: #D,
                 sizeCategory: #XL
               }
}
@VDM: {
    viewType : #CONSUMPTION,
    lifecycle.contract.type: #PUBLIC_REMOTE_API,
    usage.type: [#TRANSACTIONAL_PROCESSING_SERVICE]
}

@EndUserText.label: 'Item Pricing'
@AccessControl.authorizationCheck: #CHECK
define view entity A_ACMTrdgContrPrcgInfo
  as projection on R_ACMTrdgContrPrcgInfoTP
{
  key         TradingContractNumber,
  key         TradingContractItem,
  key         PricingConditionTerm,
              TrdgContrPrcgAspectSrceLotID,
              Quantity,
              UnitOfMeasure,
              MaturityKeyDate,
              DerivativeContrSpecification,
              //              ACMPriceFixationStatus,

              ACMPricingMarketIdentifierCode,
              //              DerivativeContractMaturityCode,

              @ObjectModel.virtualElement: true
              @ObjectModel.virtualElementCalculatedBy: 'ABAP:/ACCGO/CL_PRCNG_VE_CALC_EXIT'
  virtual     ACMMaturityDescription         : abap.char( 40 ),
              // Future data

              @Semantics.amount.currencyCode: 'ACMPrcgCndnFutureTermCrcy'
              @ObjectModel.virtualElement: true
              @ObjectModel.virtualElementCalculatedBy: 'ABAP:/ACCGO/CL_PRCNG_VE_CALC_EXIT'
  virtual     ACMPrcgCndnFuturePrice         : abap.curr( 11, 2 ),
              ACMPrcgCndnFutureRawPrice,
              ACMPrcgCndnFutureTermCrcy,
              ACMPrcgCndnFutureFixedRateQty,
              ACMPrcgCndnFixedRateFutureUoM,
              //Basis Data

              @Semantics.amount.currencyCode: 'PrcgConditionTermFixedRateCrcy'
              @ObjectModel.virtualElement: true
              @ObjectModel.virtualElementCalculatedBy: 'ABAP:/ACCGO/CL_PRCNG_VE_CALC_EXIT'
  virtual     ACMPrcgCndnBasisPrc            : abap.curr( 11, 2 ),
              ACMPrcgCndnBasisRawPrc,
              PrcgConditionTermFixedRateCrcy,
              ACMPrcgCndnBasisFixedRate,
              ACMPrcgCndnFixedRateBasisUoM,
              // Cummulative basis data

              @Semantics.amount.currencyCode: 'ACMPrcgCndnCumltvBasisCrcy'
              @ObjectModel.virtualElement: true
              @ObjectModel.virtualElementCalculatedBy: 'ABAP:/ACCGO/CL_PRCNG_VE_CALC_EXIT'
  virtual     ACMPrcgCndnCumltvBasisPrice    : abap.curr(11,2),
              ACMPrcgCndnCumltvBsRawPrc,
              ACMPrcgCndnCumltvBasisCrcy,
              //              ACMCmmdtyBasicPricedQuantity,

              //              ACMPrcgCndnCumltvBasisPrUoM,

              //Flat Price

              @Semantics.amount.currencyCode: 'PrcgCndnTradingContrCurrency'
              @ObjectModel.virtualElement: true
              @ObjectModel.virtualElementCalculatedBy: 'ABAP:/ACCGO/CL_PRCNG_VE_CALC_EXIT'

  virtual     ACMPrcgCndnFlatPrice           : abap.curr(11,2),
              ACMPrcgCndnFlatRawPrice,
              PrcgCndnTradingContrCurrency,

              //Additional Information

              //              OverfillID,

              //              ACMNumberOfVehicles,

              //              ReasonCode,


              ACMPrcgCndnNonHedgeTermCrcy,
              ACMPrcgCndnNonHedgeFlatPrice,
              ACMPrcgNonHedgePrPerQuantity,
              PrcgCndnTermCnvrsnFxdExchRate,
              ConditionType,
              PrcgCndnTermCnvrsnSourceCrcy,
              PrcgCndnTermCnvrsnTargetCrcy,
              //Pricing NF Incident

              //@Semantics.amount.currencyCode: 'PrcgCndnTradingContrCurrency'

              @ObjectModel.virtualElement: true
              @ObjectModel.virtualElementCalculatedBy: 'ABAP:/ACCGO/CL_PRCNG_VE_CALC_EXIT'
  virtual     PrcgCndnTrmPrvsnlExchRate      : abap.dec( 16, 8),
              ACMIsOverfillPricingLot,
              //Maturity code calculation

              @ObjectModel.virtualElement: true
              @ObjectModel.virtualElementCalculatedBy: 'ABAP:/ACCGO/CL_PRCNG_VE_CALC_EXIT'
  virtual     DerivativeContractMaturityCode : abap.char( 13 ),


              /* Associations */

              _ContractItem           : redirected to parent A_ACMTrdgContrItmDet,
              _ContractItemPricingFee : redirected to composition child A_ACMTrdgContrItmPrcgFee,
              _PriceFixationMethod    : redirected to composition child A_ACMTrdgContrPrcFixMeth,
              _PricingUoMConversion   : redirected to composition child A_ACMTrdgContrPrcgUoMCnvrsn,
              _ContractHeader         : redirected to A_ACMTrdgContractOverview
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"R_ACMTRDGCONTRPRCGINFOTP"
],
"ASSOCIATED":
[
"A_ACMTRDGCONTRACTOVERVIEW",
"A_ACMTRDGCONTRITMDET",
"A_ACMTRDGCONTRITMPRCGFEE",
"A_ACMTRDGCONTRPRCFIXMETH",
"A_ACMTRDGCONTRPRCGUOMCNVRSN",
"R_ACMTRDGCONTRHDRTP",
"R_ACMTRDGCONTRITMDETTP",
"R_ACMTRDGCONTRITMPRCGFEETP",
"R_ACMTRDGCONTRPRCFIXMETHTP",
"R_ACMTRDGCONTRPRCGUOMCNVRSNTP"
],
"BASE":
[
"R_ACMTRDGCONTRPRCGINFOTP"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/