P_ACMContractConditionNmbr
ACM Contract Condition Number
P_ACMContractConditionNmbr is a Basic CDS View that provides data about "ACM Contract Condition Number" in SAP S/4HANA. It reads from 3 data sources (wbhd, wbhk, wbhi) and exposes 5 fields with key fields TradingContractNumber, TradingContractItem.
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PACMCTRCONDNUM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| EndUserText.label | ACM Contract Condition Number | view |
@AbapCatalog.sqlViewName: 'PACMCTRCONDNUM'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.type: #INHERITED
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #BASIC
@VDM.private: true
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #L
@EndUserText.label: 'ACM Contract Condition Number'
define view P_ACMContractConditionNmbr
as select from wbhk as Header
inner join wbhi as Item on Item.tkonn = Header.tkonn
and Item.tposn_sub = '000000'
inner join wbhd as Business on Business.tkonn = Header.tkonn
and Business.tposn = '000000'
and Business.tposn_sub = '000000'
{
key Header.tkonn as TradingContractNumber,
key Item.tposn as TradingContractItem,
Item.matnr as ContractMaterial,
case when Item.waers_purch is not initial then Item.waers_purch
else Item.sdwrs end as PrcgCndnTradingContrCurrency,
case when Business.knumv_mm is not initial then Business.knumv_mm
else Header.knumv_sd end as PricingDocument
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"WBHD",
"WBHI",
"WBHK"
],
"ASSOCIATED":
[],
"BASE":
[],
"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