I_CtrlgObjectSettlementRule
Settlement rules for controlling objects
I_CtrlgObjectSettlementRule is a Basic CDS View that provides data about "Settlement rules for controlling objects" in SAP S/4HANA. It reads from 1 data source (cobra) and exposes 32 fields with key field ControllingObject. It has 10 associations to related views. Part of development package KABR.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| cobra | cobra | from |
Associations (10)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_CtrlgObjSettlmtDistrRule | _CtrlgObjSettlmtDistrRule | $projection.ControllingObject = _CtrlgObjSettlmtDistrRule.ControllingObject |
| [0..1] | I_ControllingObject | _ControllingObject | $projection.ControllingObject = _ControllingObject.ControllingObject |
| [0..1] | I_AllocationStructure | _AllocationStructure | $projection.AllocationStructure = _AllocationStructure.AllocationStructure |
| [0..1] | I_UserContactCard | _CreatedByUser | $projection.CreatedByUser = _CreatedByUser.ContactCardID |
| [0..1] | I_UserContactCard | _LastChangedByUser | $projection.LastChangedByUser = _LastChangedByUser.ContactCardID |
| [0..1] | I_ControllingSettlementProfile | _ControllingSettlementProfile | $projection.ControllingSettlementProfile = _ControllingSettlementProfile.ControllingSettlementProfile |
| [0..1] | I_SettlmtAutomGnrtnStrgySqnc | _SettlmtAutomGnrtnStrgySqnc | $projection.SettlmtRuleAutoGnrtnStrgySqnc = _SettlmtAutomGnrtnStrgySqnc.SettlmtRuleAutoGnrtnStrgySqnc |
| [0..1] | I_PrftbltyAcctgTransfStructure | _PrftbltyAcctgTransfStructure | $projection.ProfitabilityAcctgTransfStruc = _PrftbltyAcctgTransfStructure.ProfitabilityAcctgTransfStruc |
| [0..1] | I_ControllingStructure | _SourceStructure | _SourceStructure.ControllingStructureType = 'U' and $projection.SettlementSourceStructure = _SourceStructure.ControllingStructure |
| [0..1] | I_SettlmtWithFreeDfndCurrency | _SettlmtWithFreeDfndCurrency | $projection.SettlmtWithFreeDefinedCurrency = _SettlmtWithFreeDfndCurrency.SettlmtWithFreeDefinedCurrency |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICTRLGOBJSETRULE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | Settlement rules for controlling objects | view | |
| ClientHandling.type | #CLIENT_DEPENDENT | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (32)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ControllingObject | objnr | ||
| CreatedByUser | ||||
| CreationDate | erdat | |||
| LastChangedByUser | aenam | |||
| LastChangeDate | aedat | |||
| CtrlgObjectSettlementRuleName | ktext | |||
| AllocationStructure | ||||
| SettlementGLAccount | kstar | |||
| SettlementSourceStructure | ||||
| SettlementIsProportional | analg | |||
| SettlementRuleHasUpdateError | ersav | |||
| ControllingSettlementProfile | ||||
| SettlementSequentialNumber | abrnr | |||
| AssetValueDate | ||||
| ProfitabilityAcctgTransfStruc | ||||
| SettlmtRuleLastUsgeFsclPeriod | letpe | |||
| SettlmtRuleLastUsageFiscalYear | letja | |||
| SettlmtRuleProcessingSequence | ||||
| SettlementRuleCreationDateTime | ||||
| SettlmtRuleAutoGnrtnStrgySqnc | ||||
| SettlmtWithFreeDefinedCurrency | ||||
| LastChangeDateTime | last_changed_at | |||
| _CtrlgObjSettlmtDistrRule | _CtrlgObjSettlmtDistrRule | |||
| _ControllingObject | _ControllingObject | |||
| _AllocationStructure | _AllocationStructure | |||
| _CreatedByUser | _CreatedByUser | |||
| _LastChangedByUser | _LastChangedByUser | |||
| _ControllingSettlementProfile | _ControllingSettlementProfile | |||
| _SettlmtAutomGnrtnStrgySqnc | _SettlmtAutomGnrtnStrgySqnc | |||
| _PrftbltyAcctgTransfStructure | _PrftbltyAcctgTransfStructure | |||
| _SourceStructure | _SourceStructure | |||
| _SettlmtWithFreeDfndCurrency | _SettlmtWithFreeDfndCurrency |
@AbapCatalog.sqlViewName: 'ICTRLGOBJSETRULE'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #BASIC
@EndUserText.label: 'Settlement rules for controlling objects'
@ClientHandling.type: #CLIENT_DEPENDENT
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.dataClass: #MASTER
define view I_CtrlgObjectSettlementRule
as select from cobra
association [0..*] to I_CtrlgObjSettlmtDistrRule as _CtrlgObjSettlmtDistrRule on $projection.ControllingObject = _CtrlgObjSettlmtDistrRule.ControllingObject
association [0..1] to I_ControllingObject as _ControllingObject on $projection.ControllingObject = _ControllingObject.ControllingObject
association [0..1] to I_AllocationStructure as _AllocationStructure on $projection.AllocationStructure = _AllocationStructure.AllocationStructure
association [0..1] to I_UserContactCard as _CreatedByUser on $projection.CreatedByUser = _CreatedByUser.ContactCardID
association [0..1] to I_UserContactCard as _LastChangedByUser on $projection.LastChangedByUser = _LastChangedByUser.ContactCardID
association [0..1] to I_ControllingSettlementProfile as _ControllingSettlementProfile on $projection.ControllingSettlementProfile = _ControllingSettlementProfile.ControllingSettlementProfile
association [0..1] to I_SettlmtAutomGnrtnStrgySqnc as _SettlmtAutomGnrtnStrgySqnc on $projection.SettlmtRuleAutoGnrtnStrgySqnc = _SettlmtAutomGnrtnStrgySqnc.SettlmtRuleAutoGnrtnStrgySqnc
association [0..1] to I_PrftbltyAcctgTransfStructure as _PrftbltyAcctgTransfStructure on $projection.ProfitabilityAcctgTransfStruc = _PrftbltyAcctgTransfStructure.ProfitabilityAcctgTransfStruc
association [0..1] to I_ControllingStructure as _SourceStructure on _SourceStructure.ControllingStructureType = 'U'
and $projection.SettlementSourceStructure = _SourceStructure.ControllingStructure
association [0..1] to I_SettlmtWithFreeDfndCurrency as _SettlmtWithFreeDfndCurrency on $projection.SettlmtWithFreeDefinedCurrency = _SettlmtWithFreeDfndCurrency.SettlmtWithFreeDefinedCurrency
{
@ObjectModel.foreignKey.association: '_ControllingObject'
key objnr as ControllingObject,
@ObjectModel.foreignKey.association: '_CreatedByUser'
cast(ernam as fin_usnam preserving type ) as CreatedByUser,
erdat as CreationDate,
@ObjectModel.foreignKey.association: '_LastChangedByUser'
aenam as LastChangedByUser,
aedat as LastChangeDate,
ktext as CtrlgObjectSettlementRuleName,
@ObjectModel.foreignKey.association: '_AllocationStructure'
cast(absch as fco_brgabsch preserving type ) as AllocationStructure,
kstar as SettlementGLAccount,
@ObjectModel.foreignKey.association: '_SourceStructure'
cast(ursch as fco_ursch preserving type) as SettlementSourceStructure,
analg as SettlementIsProportional,
ersav as SettlementRuleHasUpdateError,
@ObjectModel.foreignKey.association: '_ControllingSettlementProfile'
cast(aprof as fco_aprof preserving type ) as ControllingSettlementProfile,
abrnr as SettlementSequentialNumber,
cast(bzdat as fco_bzdat preserving type) as AssetValueDate,
@ObjectModel.foreignKey.association: '_PrftbltyAcctgTransfStructure'
cast(ersch as fco_ersch preserving type ) as ProfitabilityAcctgTransfStruc,
letpe as SettlmtRuleLastUsgeFsclPeriod,
letja as SettlmtRuleLastUsageFiscalYear,
cast(hienr as fco_brghienr preserving type) as SettlmtRuleProcessingSequence,
cast(timestmp as tzntstmpl ) as SettlementRuleCreationDateTime,
@ObjectModel.foreignKey.association: '_SettlmtAutomGnrtnStrgySqnc'
cast(srslist as fco_sr_slist preserving type ) as SettlmtRuleAutoGnrtnStrgySqnc,
@ObjectModel.foreignKey.association: '_SettlmtWithFreeDfndCurrency'
cast(addcurr as fco_abr_addcurr preserving type ) as SettlmtWithFreeDefinedCurrency,
last_changed_at as LastChangeDateTime,
_CtrlgObjSettlmtDistrRule,
_ControllingObject,
_AllocationStructure,
_CreatedByUser,
_LastChangedByUser,
_ControllingSettlementProfile,
_SettlmtAutomGnrtnStrgySqnc,
_PrftbltyAcctgTransfStructure,
_SourceStructure,
_SettlmtWithFreeDfndCurrency
}
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