A_ACMTrdgContrPrcgInfo
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)
| Source | Alias | Join Type |
|---|---|---|
| R_ACMTrdgContrPrcgInfoTP | R_ACMTrdgContrPrcgInfoTP | projection |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA