I_CndnContrConditionUsage
Condition Contract Condition Usage
I_CndnContrConditionUsage is a Basic CDS View (Dimension) that provides data about "Condition Contract Condition Usage" in SAP S/4HANA. It reads from 1 data source (R_CndnContrConditionUsage) and exposes 36 fields with key field DocRelationshipUUID. It has 6 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_CndnContrConditionUsage | R_CndnContrConditionUsage | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ConditionContract | _ConditionContract | $projection.ConditionContract = _ConditionContract.ConditionContract |
| [0..1] | I_CndnContrAccrRvslSts | _CndnContrAccrRvslSts | $projection.CndnContrAccrRvslSts = _CndnContrAccrRvslSts.CndnContrAccrRvslSts |
| [0..1] | I_PricingConditionType | _PricingConditionType | $projection.ConditionApplication = _PricingConditionType.ConditionApplication and $projection.ConditionType = _PricingConditionType.ConditionType |
| [0..1] | I_Currency | _ConditionCurrency | $projection.ConditionCurrency = _ConditionCurrency.Currency |
| [0..1] | I_Plant | _Plant | $projection.Plant = _Plant.Plant |
| [0..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
Annotations (19)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICCCNDNUSG | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| EndUserText.label | Condition Contract Condition Usage | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ObjectModel.representativeKey | DocRelationshipUUID | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | false | view | |
| Analytics.internalName | #LOCAL | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view |
Fields (36)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DocRelationshipUUID | DocRelationshipUUID | ||
| PricingDocument | PricingDocument | |||
| PricingProcedureStep | PricingProcedureStep | |||
| PricingProcedureCounter | PricingProcedureCounter | |||
| ConditionContract | ConditionContract | |||
| CndnContrUUID | CndnContrUUID | |||
| ConditionRecord | ConditionRecord | |||
| ConditionSequentialNumber | ||||
| ConditionSequentialNumberShort | ConditionSequentialNumberShort | |||
| CndnContrAccrRvslSts | CndnContrAccrRvslSts | |||
| ConditionApplication | ConditionApplication | |||
| ConditionType | ConditionType | |||
| ConditionAmount | ConditionAmount | |||
| ConditionCurrency | ||||
| AR_DocumentPostingDate | ||||
| AccrSrceDocPostingDate | AccrSrceDocPostingDate | |||
| SettlmtDate | SettlmtDate | |||
| SettlmtDateSequentialID | SettlmtDateSequentialID | |||
| RefSettlmtDate | RefSettlmtDate | |||
| RefSettlmtDateSequentialID | RefSettlmtDateSequentialID | |||
| FiscalYear | AccrSrceDocFiscalYear | |||
| Plant | AccrSrceDocItemPlant | |||
| CompanyCode | AccrSrceDocCompanyCode | |||
| CndnContrAccrSource | CndnContrAccrSource | |||
| BillingDocument | BillingDocument | |||
| BillingDocumentItem | BillingDocumentItem | |||
| _ConditionContract | _ConditionContract | |||
| _CndnContrAccrRvslSts | _CndnContrAccrRvslSts | |||
| _ConditionApplication | _ConditionApplication | |||
| _PricingConditionType | _PricingConditionType | |||
| _ConditionCurrency | _ConditionCurrency | |||
| _Plant | _Plant | |||
| _CompanyCode | _CompanyCode | |||
| _CndnContrAccrSource | _CndnContrAccrSource | |||
| _BillingDocument | _BillingDocument | |||
| _BillingDocumentItem | _BillingDocumentItem |
@AbapCatalog: {
sqlViewName: 'ICCCNDNUSG',
compiler.compareFilter: true,
preserveKey: true
}
@EndUserText.label: 'Condition Contract Condition Usage'
@VDM: {
viewType: #BASIC,
lifecycle.contract.type: #PUBLIC_LOCAL_API
}
@AccessControl: {
authorizationCheck: #MANDATORY,
personalData.blocking: #('TRANSACTIONAL_DATA')
}
@ObjectModel: {
representativeKey: 'DocRelationshipUUID',
modelingPattern: #ANALYTICAL_DIMENSION,
supportedCapabilities: [ #ANALYTICAL_DIMENSION,
#CDS_MODELING_ASSOCIATION_TARGET,
#SQL_DATA_SOURCE,
#CDS_MODELING_DATA_SOURCE],
usageType: {
dataClass: #TRANSACTIONAL,
serviceQuality: #C,
sizeCategory: #XXL
}
}
@ClientHandling: {
type: #INHERITED,
algorithm: #SESSION_VARIABLE
}
@Analytics: {
dataCategory: #DIMENSION,
dataExtraction.enabled: false,
internalName: #LOCAL
}
@Metadata: {
ignorePropagatedAnnotations: true,
allowExtensions:true
}
/*+[hideWarning] { "IDS" : [ "CALCULATED_FIELD_CHECK" ] } */
define view I_CndnContrConditionUsage
as select from R_CndnContrConditionUsage
association [1..1] to I_ConditionContract as _ConditionContract on $projection.ConditionContract = _ConditionContract.ConditionContract
association [0..1] to I_CndnContrAccrRvslSts as _CndnContrAccrRvslSts on $projection.CndnContrAccrRvslSts = _CndnContrAccrRvslSts.CndnContrAccrRvslSts
association [0..1] to I_PricingConditionType as _PricingConditionType on $projection.ConditionApplication = _PricingConditionType.ConditionApplication
and $projection.ConditionType = _PricingConditionType.ConditionType
association [0..1] to I_Currency as _ConditionCurrency on $projection.ConditionCurrency = _ConditionCurrency.Currency
association [0..1] to I_Plant as _Plant on $projection.Plant = _Plant.Plant
association [0..1] to I_CompanyCode as _CompanyCode on $projection.CompanyCode = _CompanyCode.CompanyCode
{
key DocRelationshipUUID,
PricingDocument,
PricingProcedureStep,
PricingProcedureCounter,
@ObjectModel.foreignKey.association: '_ConditionContract'
@Consumption: {
valueHelpDefinition: [{ entity: { name: 'I_ConditionContractStdVH', element: 'ConditionContract' } }]
}
ConditionContract,
CndnContrUUID,
ConditionRecord,
@API.element:{releaseState: #DEPRECATED, successor: 'ConditionSequentialNumberShort'}
cast( '00' as kopos preserving type ) as ConditionSequentialNumber,
ConditionSequentialNumberShort,
@ObjectModel.foreignKey.association: '_CndnContrAccrRvslSts'
CndnContrAccrRvslSts,
@ObjectModel.foreignKey.association: '_ConditionApplication'
ConditionApplication,
@ObjectModel.foreignKey.association: '_PricingConditionType'
ConditionType,
@Semantics.amount.currencyCode: 'ConditionCurrency'
@DefaultAggregation: #SUM
ConditionAmount,
@ObjectModel.foreignKey.association: '_ConditionCurrency'
@Semantics.currencyCode: true
cast( AccrSrceDocCurrency as waers preserving type ) as ConditionCurrency,
@API.element:{releaseState: #DEPRECATED, successor: 'AccrSrceDocPostingDate'}
cast( AccrSrceDocPostingDate as wcb_wcocof_budat preserving type ) as AR_DocumentPostingDate,
AccrSrceDocPostingDate,
SettlmtDate,
SettlmtDateSequentialID,
RefSettlmtDate,
RefSettlmtDateSequentialID,
AccrSrceDocFiscalYear as FiscalYear,
@ObjectModel.foreignKey.association: '_Plant'
@Consumption: {
valueHelpDefinition: [{ entity: { name: 'I_PlantStdVH', element: 'Plant' } }]
}
AccrSrceDocItemPlant as Plant,
@ObjectModel.foreignKey.association: '_CompanyCode'
@Consumption: {
valueHelpDefinition: [{ entity: { name: 'I_CompanyCodeStdVH', element: 'CompanyCode' } }]
}
AccrSrceDocCompanyCode as CompanyCode,
@ObjectModel.foreignKey.association: '_CndnContrAccrSource'
CndnContrAccrSource,
/* Material Document*/
//MaterialDocumentYear,
//MaterialDocument,
//MaterialDocumentItem,
/* Settlement Management Document*/
//SettlmtMgmtDoc,
//SettlmtMgmtDocItem,
/* Billing Document*/
@ObjectModel.foreignKey.association: '_BillingDocument'
@Consumption: {
valueHelpDefinition: [{ entity: { name: 'I_BillingDocumentStdVH', element: 'BillingDocument' } }]
}
BillingDocument,
@ObjectModel.foreignKey.association: '_BillingDocumentItem'
@Consumption: {
valueHelpDefinition: [{ entity: { name: 'I_BillingDocumentItemStdVH', element: 'BillingDocumentItem' } }]
}
BillingDocumentItem,
/* Associations */
@ObjectModel.association.type: [#TO_COMPOSITION_PARENT, #TO_COMPOSITION_ROOT]
_ConditionContract,
_CndnContrAccrRvslSts,
_ConditionApplication,
_PricingConditionType,
_ConditionCurrency,
_Plant,
_CompanyCode,
_CndnContrAccrSource,
_BillingDocument,
_BillingDocumentItem
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"R_CNDNCONTRCONDITIONUSAGE"
],
"ASSOCIATED":
[
"I_BILLINGDOCUMENT",
"I_BILLINGDOCUMENTITEM",
"I_CNDNCONTRACCRRVSLSTS",
"I_CNDNCONTRACCRSOURCE",
"I_COMPANYCODE",
"I_CONDITIONAPPLICATION",
"I_CONDITIONCONTRACT",
"I_CURRENCY",
"I_PLANT",
"I_PRICINGCONDITIONTYPE"
],
"BASE":
[
"R_CNDNCONTRCONDITIONUSAGE"
],
"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