I_CAInvcgChrgAndDiscKey
Zu- und Abschlagsschlüssel
I_CAInvcgChrgAndDiscKey is a Basic CDS View (Dimension) that provides data about "Zu- und Abschlagsschlüssel" in SAP S/4HANA. It reads from 2 data sources (tfk2617, I_CAApplicationArea) and exposes 4 fields with key fields CAApplicationArea, CAInvcgChargeAndDiscountKey. It has 2 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| tfk2617 | _tfk2617 | from |
| I_CAApplicationArea | ApplArea | inner |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CAApplicationArea | _ApplArea | $projection.CAApplicationArea = _ApplArea.CAApplicationArea |
| [1..*] | I_CAInvcgChrgAndDiscKeyText | _CAInvcgChrgAndDiscKeyText | $projection.CAInvcgChargeAndDiscountKey = _CAInvcgChrgAndDiscKeyText.CAInvcgChargeAndDiscountKey and $projection.CAApplicationArea = _CAInvcgChrgAndDiscKeyText.CAApplicationArea |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Analytics.internalName | #LOCAL | view | |
| EndUserText.label | Zu- und Abschlagsschlüssel | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| ObjectModel.representativeKey | CAInvcgChargeAndDiscountKey | view | |
| ObjectModel.sapObjectNodeType.name | ContrAcctgInvcgChrgAndDiscKey | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| VDM.viewType | #BASIC | view |
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Analytics: {
dataCategory: #DIMENSION,
dataExtraction.enabled: true,
internalName:#LOCAL
}
@EndUserText.label: 'Zu- und Abschlagsschlüssel'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel: {
modelingPattern: #ANALYTICAL_DIMENSION,
representativeKey: 'CAInvcgChargeAndDiscountKey',
sapObjectNodeType.name: 'ContrAcctgInvcgChrgAndDiscKey',
compositionRoot: true,
supportedCapabilities: [
#ANALYTICAL_DIMENSION,
#CDS_MODELING_ASSOCIATION_TARGET,
#CDS_MODELING_DATA_SOURCE,
#EXTRACTION_DATA_SOURCE,
#SQL_DATA_SOURCE
],
usageType: {
dataClass: #CUSTOMIZING,
serviceQuality: #A,
sizeCategory: #S
}
}
@VDM.viewType: #BASIC
define view entity I_CAInvcgChrgAndDiscKey
as select from tfk2617 as _tfk2617
inner join I_CAApplicationArea as ApplArea on _tfk2617.applk = ApplArea.CAApplicationArea
association [1..1] to I_CAApplicationArea as _ApplArea on $projection.CAApplicationArea = _ApplArea.CAApplicationArea
association [1..*] to I_CAInvcgChrgAndDiscKeyText as _CAInvcgChrgAndDiscKeyText on $projection.CAInvcgChargeAndDiscountKey = _CAInvcgChrgAndDiscKeyText.CAInvcgChargeAndDiscountKey
and $projection.CAApplicationArea = _CAInvcgChrgAndDiscKeyText.CAApplicationArea
{
@ObjectModel.foreignKey.association: '_ApplArea'
key _tfk2617.applk as CAApplicationArea,
@ObjectModel.text.association: '_CAInvcgChrgAndDiscKeyText'
key _tfk2617.chgkey as CAInvcgChargeAndDiscountKey,
_ApplArea,
@ObjectModel.association.type: [#TO_COMPOSITION_CHILD] //compositional relationship to text view
_CAInvcgChrgAndDiscKeyText
}
where
ApplArea.CAApplicationAreaIsActive = 'X'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CAAPPLICATIONAREA",
"TFK2617"
],
"ASSOCIATED":
[
"I_CAAPPLICATIONAREA",
"I_CAINVCGCHRGANDDISCKEYTEXT"
],
"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