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 31 fields with key field ControllingObject. It has 10 associations to related views.
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 (31)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ControllingObject | objnr | Val. Obj. No. | |
| CreatedByUser | User Name | |||
| CreationDate | erdat | Entered On | ||
| LastChangedByUser | aenam | User Name | ||
| LastChangeDate | aedat | Obsolete | ||
| CtrlgObjectSettlementRuleName | ktext | Text | ||
| AllocationStructure | Check Encash. Rec. | |||
| SettlementGLAccount | kstar | Settlement CE | ||
| SettlementSourceStructure | Source Struct. | |||
| SettlementIsProportional | analg | PropSettlement | ||
| SettlementRuleHasUpdateError | ersav | Error | ||
| ControllingSettlementProfile | Settlmt Profile | |||
| SettlementSequentialNumber | abrnr | Settlement No. | ||
| AssetValueDate | Reference date | |||
| ProfitabilityAcctgTransfStruc | PA Trans. Str. | |||
| SettlmtRuleLastUsgeFsclPeriod | letpe | Last Used | ||
| SettlmtRuleLastUsageFiscalYear | letja | Last Used | ||
| SettlmtRuleProcessingSequence | Hierarchy No. | |||
| SettlementRuleCreationDateTime | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | |||
| SettlmtRuleAutoGnrtnStrgySqnc | Strategy Seq. | |||
| SettlmtWithFreeDefinedCurrency | Currencies/Ldgs | |||
| _CtrlgObjSettlmtDistrRule | _CtrlgObjSettlmtDistrRule | |||
| _ControllingObject | _ControllingObject | |||
| _AllocationStructure | _AllocationStructure | |||
| _CreatedByUser | _CreatedByUser | |||
| _LastChangedByUser | _LastChangedByUser | |||
| _ControllingSettlementProfile | _ControllingSettlementProfile | |||
| _SettlmtAutomGnrtnStrgySqnc | _SettlmtAutomGnrtnStrgySqnc | |||
| _PrftbltyAcctgTransfStructure | _PrftbltyAcctgTransfStructure | |||
| _SourceStructure | _SourceStructure | |||
| _SettlmtWithFreeDfndCurrency | _SettlmtWithFreeDfndCurrency |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view I_CtrlgObjectSettlementRule.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: ICTRLGOBJSETRULE
CREATE VIEW I_CtrlgObjectSettlementRule AS
SELECT
objnr AS ControllingObject,
cast(ernam as fin_usnam preserving type ) AS CreatedByUser,
erdat AS CreationDate,
aenam AS LastChangedByUser,
aedat AS LastChangeDate,
ktext AS CtrlgObjectSettlementRuleName,
cast(absch as fco_brgabsch preserving type ) AS AllocationStructure,
kstar AS SettlementGLAccount,
cast(ursch as fco_ursch preserving type) AS SettlementSourceStructure,
analg AS SettlementIsProportional,
ersav AS SettlementRuleHasUpdateError,
cast(aprof as fco_aprof preserving type ) AS ControllingSettlementProfile,
abrnr AS SettlementSequentialNumber,
cast(bzdat as fco_bzdat preserving type) AS AssetValueDate,
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,
cast(srslist as fco_sr_slist preserving type ) AS SettlmtRuleAutoGnrtnStrgySqnc,
cast(addcurr as fco_abr_addcurr preserving type ) AS SettlmtWithFreeDefinedCurrency
FROM cobra
LEFT OUTER JOIN I_CtrlgObjSettlmtDistrRule AS _CtrlgObjSettlmtDistrRule ON ControllingObject = _CtrlgObjSettlmtDistrRule.ControllingObject -- association [0..*]
LEFT OUTER JOIN I_ControllingObject AS _ControllingObject ON ControllingObject = _ControllingObject.ControllingObject -- association [0..1]
LEFT OUTER JOIN I_AllocationStructure AS _AllocationStructure ON AllocationStructure = _AllocationStructure.AllocationStructure -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _CreatedByUser ON CreatedByUser = _CreatedByUser.ContactCardID -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _LastChangedByUser ON LastChangedByUser = _LastChangedByUser.ContactCardID -- association [0..1]
LEFT OUTER JOIN I_ControllingSettlementProfile AS _ControllingSettlementProfile ON ControllingSettlementProfile = _ControllingSettlementProfile.ControllingSettlementProfile -- association [0..1]
LEFT OUTER JOIN I_SettlmtAutomGnrtnStrgySqnc AS _SettlmtAutomGnrtnStrgySqnc ON SettlmtRuleAutoGnrtnStrgySqnc = _SettlmtAutomGnrtnStrgySqnc.SettlmtRuleAutoGnrtnStrgySqnc -- association [0..1]
LEFT OUTER JOIN I_PrftbltyAcctgTransfStructure AS _PrftbltyAcctgTransfStructure ON ProfitabilityAcctgTransfStruc = _PrftbltyAcctgTransfStructure.ProfitabilityAcctgTransfStruc -- association [0..1]
LEFT OUTER JOIN I_ControllingStructure AS _SourceStructure ON _SourceStructure.ControllingStructureType = 'U' AND SettlementSourceStructure = _SourceStructure.ControllingStructure -- association [0..1]
LEFT OUTER JOIN I_SettlmtWithFreeDfndCurrency AS _SettlmtWithFreeDfndCurrency ON SettlmtWithFreeDefinedCurrency = _SettlmtWithFreeDfndCurrency.SettlmtWithFreeDefinedCurrency -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA