A_CommsnContrTargetAgreement
Target Agreement
A_CommsnContrTargetAgreement is a Consumption CDS View that provides data about "Target Agreement" in SAP S/4HANA. It reads from 1 data source (I_CommsnContrTargetAgrmtByTime) and exposes 16 fields with key fields CommissionApplication, CommissionContract, CommsnContrEffctvFrmDateTime, CommsnContrEffctvToDateTime, CommissionStandardAgreement.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CommsnContrTargetAgrmtByTime | TargetAgrmt | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Target Agreement | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.sapObjectNodeType.name | CommsnContractTargetAgreement | view | |
| OData.entityType.name | CommsnContractTargetAgreement_Type | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CommissionApplication | I_CommsnContrTargetAgrmtByTime | CommissionApplication | |
| KEY | CommissionContract | I_CommsnContrTargetAgrmtByTime | CommissionContract | |
| KEY | CommsnContrEffctvFrmDateTime | I_CommsnContrTargetAgrmtByTime | CommsnContrEffctvFrmDateTime | |
| KEY | CommsnContrEffctvToDateTime | I_CommsnContrTargetAgrmtByTime | CommsnContrEffctvToDateTime | |
| KEY | CommissionStandardAgreement | I_CommsnContrTargetAgrmtByTime | CommissionStandardAgreement | |
| KEY | CommissionContractAgreement | I_CommsnContrTargetAgrmtByTime | CommissionContractAgreement | |
| CommsnAgrmtEffctvFrmDteTme | I_CommsnContrTargetAgrmtByTime | CommsnAgrmtEffctvFrmDteTme | ||
| CommsnAgrmtEffctvToDteTme | I_CommsnContrTargetAgrmtByTime | CommsnAgrmtEffctvToDteTme | ||
| CommissionContractVersion | I_CommsnContrTargetAgrmtByTime | CommissionContractVersion | ||
| CommsnContrAgreementRule | I_CommsnContrTargetAgrmtByTime | CommsnContrAgreementRule | ||
| CommsnContractAgreementVersion | I_CommsnContrTargetAgrmtByTime | CommsnContractAgreementVersion | ||
| CommissionContractCurrency | I_CommsnContrTargetAgrmtByTime | CommissionContractCurrency | ||
| CommsnContrAgreementIsLocked | I_CommsnContrTargetAgrmtByTime | CommsnContrAgreementIsLocked | ||
| CommissionVersionIsInvalid | I_CommsnContrTargetAgrmtByTime | CommissionVersionIsInvalid | ||
| CommsnContrChangeReason | I_CommsnContrTargetAgrmtByTime | CommsnContrChangeReason | ||
| _CommissionContract | _CommissionContract |
@EndUserText.label: 'Target Agreement'
@AccessControl.authorizationCheck: #MANDATORY
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XL
@VDM.viewType: #CONSUMPTION
@ObjectModel.sapObjectNodeType.name: 'CommsnContractTargetAgreement'
@OData.entityType.name: 'CommsnContractTargetAgreement_Type'
@VDM.lifecycle.contract.type:#PUBLIC_REMOTE_API
//@VDM.usage.type: [#TRANSACTIONAL_PROCESSING_SERVICE]
@Metadata.ignorePropagatedAnnotations: true
/*+[hideWarning] { "IDS" : [ "KEY_CHECK" ] } */
define view entity A_CommsnContrTargetAgreement
as select from I_CommsnContrTargetAgrmtByTime as TargetAgrmt
association to parent A_CommissionContract as _CommissionContract on $projection.CommissionApplication = _CommissionContract.CommissionApplication
and $projection.CommissionContract = _CommissionContract.CommissionContract
and $projection.CommsnContrEffctvFrmDateTime = _CommissionContract.CommsnContrEffctvFrmDateTime
and $projection.CommsnContrEffctvToDateTime = _CommissionContract.CommsnContrEffctvToDateTime
{
key TargetAgrmt.CommissionApplication as CommissionApplication,
key TargetAgrmt.CommissionContract as CommissionContract,
key TargetAgrmt.CommsnContrEffctvFrmDateTime as CommsnContrEffctvFrmDateTime,
key TargetAgrmt.CommsnContrEffctvToDateTime as CommsnContrEffctvToDateTime,
key TargetAgrmt.CommissionStandardAgreement as CommissionStandardAgreement,
key TargetAgrmt.CommissionContractAgreement as CommissionContractAgreement,
TargetAgrmt.CommsnAgrmtEffctvFrmDteTme as CommsnAgrmtEffctvFrmDteTme,
TargetAgrmt.CommsnAgrmtEffctvToDteTme as CommsnAgrmtEffctvToDteTme,
TargetAgrmt.CommissionContractVersion as CommissionContractVersion,
TargetAgrmt.CommsnContrAgreementRule as CommsnContrAgreementRule,
TargetAgrmt.CommsnContractAgreementVersion as CommsnContractAgreementVersion,
TargetAgrmt.CommissionContractCurrency as CommissionContractCurrency,
TargetAgrmt.CommsnContrAgreementIsLocked as CommsnContrAgreementIsLocked,
TargetAgrmt.CommissionVersionIsInvalid as CommissionVersionIsInvalid,
TargetAgrmt.CommsnContrChangeReason as CommsnContrChangeReason,
@ObjectModel.sort.enabled: false
@ObjectModel.filter.enabled: false
_CommissionContract
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_COMMSNCONTRTARGETAGRMTBYTIME"
],
"ASSOCIATED":
[
"A_COMMISSIONCONTRACT"
],
"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