R_AccrEngineAccrSubobjItemTP
Accrual Subobject Item
R_AccrEngineAccrSubobjItemTP is a Transactional CDS View that provides data about "Accrual Subobject Item" in SAP S/4HANA. It reads from 1 data source (I_AccrEngineAccrSubobjItem) and exposes 98 fields with key fields AccrualEngineAccrualObjectType, AccrualObjectLogicalSystem, CompanyCode, AccrualObject, AccrualSubobject. It has 6 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_AccrEngineAccrSubobjItem | I_AccrEngineAccrSubobjItem | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_AccrEngineAccrItemType | _AccrItemTypeForEdit | $projection.AccrualEngineAccrualObjectType = _AccrItemTypeForEdit.AccrualEngineAccrualObjectType and $projection.AccrualItemTypeForEdit = _AccrItemTypeForEdit.AccrualItemType |
| [0..1] | I_AccrItemTypeForLedgerGroup | _AccrLedgerGroup | $projection.AccrualEngineAccrualObjectType = _AccrLedgerGroup.AccrualEngineApplication and $projection.CompanyCode = _AccrLedgerGroup.CompanyCode and $projection.AccrualItemType = _AccrLedgerGroup.AccrualItemType and $projection.Ledger = _AccrLedgerGroup.Ledger |
| [0..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [0..1] | I_Currency | _TransactionCurrency | $projection.TransactionCurrency = _TransactionCurrency.Currency |
| [1..1] | I_Currency | _CompanyCodeCurrency | $projection.CompanyCodeCurrency = _CompanyCodeCurrency.Currency |
| [0..1] | I_Currency | _GlobalCurrency | $projection.GlobalCurrency = _GlobalCurrency.Currency |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Accrual Subobject Item | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view |
Fields (98)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AccrualEngineAccrualObjectType | AccrualEngineAccrualObjectType | Component | |
| KEY | AccrualObjectLogicalSystem | AccrualObjectLogicalSystem | Logical System | |
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | AccrualObject | AccrualObject | External Reference of Accrual Object | |
| KEY | AccrualSubobject | AccrualSubobject | External Reference of Accrual Subobject | |
| KEY | AccrualItemType | AccrualItemType | Accrual Item Type | |
| KEY | Ledger | Ledger | Ledger | |
| KEY | AccrSubobjectItmValdtyEndDte | AccrSubobjectItmValdtyEndDte | To | |
| AccrualItemTypeForEdit | AccrualItemType | Accrual Item Type | ||
| LedgerGroup | _AccrLedgerGroup | LedgerGroup | Ledger Group | |
| AccrPerdcPostingFrequency | _AccrLedgerGroup | AccrPerdcPostingFrequency | Posting Freqncy | |
| AccrPerdcPostingFrequencyName | ||||
| AccrSubobjectItmValdtyStrtDte | AccrSubobjectItmValdtyStrtDte | From | ||
| AccrualMethod | AccrualMethod | Accr/Defrl Method | ||
| AccrSubobjHdrStartOfLifeDate | AccrSubobjHdrStartOfLifeDate | Start of Life | ||
| AccrSubobjHdrEndOfLifeDate | AccrSubobjHdrEndOfLifeDate | End of Life | ||
| AccrualItemIsObsolete | AccrualItemIsObsolete | Obsolete | ||
| PlanAccrualItemType | PlanAccrualItemType | Plnd Costs Itm Type | ||
| PlanAccrualMethod | PlanAccrualMethod | Plnd Accr. Method | ||
| ActualAccrualItemType | ActualAccrualItemType | Actl Costs Item Type | ||
| ActualAccrualMethod | ActualAccrualMethod | Actl Accr. Method | ||
| DeferralItemType | DeferralItemType | Deferral Item Type | ||
| DeferralMethod | DeferralMethod | Deferral Method | ||
| TotalAccrualQuantity | TotalAccrualQuantity | Total Qty to Accrue | ||
| TotalAccrualQuantityUnit | TotalAccrualQuantityUnit | Unit of Measure | ||
| TotalAccrAmountInTransCrcy | TotalAccrAmountInTransCrcy | Total A/D Amt (TC) | ||
| TotalAccrAmtInCompanyCodeCrcy | TotalAccrAmtInCompanyCodeCrcy | Total A/D Amt (CC) | ||
| TotalAccrAmountInGlobalCrcy | TotalAccrAmountInGlobalCrcy | Total A/D Amt (GC) | ||
| TotalAccrAmountInFreeDfndCrcy1 | TotalAccrAmountInFreeDfndCrcy1 | Total A/D Amt (FC1) | ||
| TotalAccrAmountInFreeDfndCrcy2 | TotalAccrAmountInFreeDfndCrcy2 | Total A/D Amt (FC2) | ||
| TotalAccrAmountInFreeDfndCrcy3 | TotalAccrAmountInFreeDfndCrcy3 | Total A/D Amt (FC3) | ||
| TotalAccrAmountInFreeDfndCrcy4 | TotalAccrAmountInFreeDfndCrcy4 | Total A/D Amt (FC4) | ||
| TotalAccrAmountInFreeDfndCrcy5 | TotalAccrAmountInFreeDfndCrcy5 | Total A/D Amt (FC5) | ||
| TotalAccrAmountInFreeDfndCrcy6 | TotalAccrAmountInFreeDfndCrcy6 | Total A/D Amt (FC6) | ||
| TotalAccrAmountInFreeDfndCrcy7 | TotalAccrAmountInFreeDfndCrcy7 | Total A/D Amt (FC7) | ||
| TotalAccrAmountInFreeDfndCrcy8 | TotalAccrAmountInFreeDfndCrcy8 | Total A/D Amt (FC8) | ||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| CompanyCodeCurrency | ||||
| GlobalCurrency | ||||
| FreeDefinedCurrency1 | FreeDefinedCurrency1 | Freely Defined Currency 1 | ||
| FreeDefinedCurrency2 | FreeDefinedCurrency2 | Freely Defined Currency 2 | ||
| FreeDefinedCurrency3 | FreeDefinedCurrency3 | Freely Defined Currency 3 | ||
| FreeDefinedCurrency4 | FreeDefinedCurrency4 | Freely Defined Currency 4 | ||
| FreeDefinedCurrency5 | FreeDefinedCurrency5 | Freely Defined Currency 5 | ||
| FreeDefinedCurrency6 | FreeDefinedCurrency6 | Freely Defined Currency 6 | ||
| FreeDefinedCurrency7 | FreeDefinedCurrency7 | Freely Defined Currency 7 | ||
| FreeDefinedCurrency8 | FreeDefinedCurrency8 | Freely Defined Currency 8 | ||
| AccrOpngPostgDocumentType | AccrOpngPostgDocumentType | Document Type | ||
| AccrPerdcPostgDocumentType | AccrPerdcPostgDocumentType | Document Type | ||
| AccrClsgPostgDocumentType | AccrClsgPostgDocumentType | Document Type | ||
| AccrOpngPostgAccrAccount | AccrOpngPostgAccrAccount | Accr./Dfrl Acct | ||
| AccrOpngPostgOffstgAccount | AccrOpngPostgOffstgAccount | Offsetting Account | ||
| AccrPerdcPostgAccrAccount | AccrPerdcPostgAccrAccount | Accr./Dfrl. Account | ||
| AccrPerdcPostgOffstgAcct | AccrPerdcPostgOffstgAcct | Offsetting Account | ||
| AccrClsgPostgAccrAccount | AccrClsgPostgAccrAccount | Accr./Dfrl Acct | ||
| AccrClsgPostgOffstgAccount | AccrClsgPostgOffstgAccount | Offsetting Account | ||
| AccrualItemLastChangeDateTime | AccrualItemLastChangeDateTime | Time Stamp | ||
| _AccrualSubobject | _AccrualSubobject | |||
| _AccrCompanyCode | _AccrCompanyCode | |||
| _AccrItemType | _AccrItemType | |||
| _AccrItemTypeForEdit | _AccrItemTypeForEdit | |||
| _PerdcPostgFrqcy | _AccrLedgerGroup | _PerdcPostgFrqcy | ||
| _AccrLogicalSystem | _AccrLogicalSystem | |||
| _AccrMethod | _AccrMethod | |||
| _AccrObj | _AccrObj | |||
| _AccrObjectType | _AccrObjectType | |||
| _AccrSubobj | _AccrSubobj | |||
| _ActualAccrItemType | _ActualAccrItemType | |||
| _ActualAccrMethod | _ActualAccrMethod | |||
| _ActualItem | _ActualItem | |||
| _BaseUnit | _BaseUnit | |||
| _ClsgPostgAccrAccount | _ClsgPostgAccrAccount | |||
| _ClsgPostgDocumentType | _ClsgPostgDocumentType | |||
| _ClsgPostgOffstgAccount | _ClsgPostgOffstgAccount | |||
| _CompanyCodeCurrency | _CompanyCodeCurrency | |||
| _DeferralItem | _DeferralItem | |||
| _DeferralItemType | _DeferralItemType | |||
| _DeferralMethod | _DeferralMethod | |||
| _FreeDefinedCurrency1 | _FreeDefinedCurrency1 | |||
| _FreeDefinedCurrency2 | _FreeDefinedCurrency2 | |||
| _FreeDefinedCurrency3 | _FreeDefinedCurrency3 | |||
| _FreeDefinedCurrency4 | _FreeDefinedCurrency4 | |||
| _FreeDefinedCurrency5 | _FreeDefinedCurrency5 | |||
| _FreeDefinedCurrency6 | _FreeDefinedCurrency6 | |||
| _FreeDefinedCurrency7 | _FreeDefinedCurrency7 | |||
| _FreeDefinedCurrency8 | _FreeDefinedCurrency8 | |||
| _GlobalCurrency | _GlobalCurrency | |||
| _Ledger | _Ledger | |||
| _OpngPostgAccrAccount | _OpngPostgAccrAccount | |||
| _OpngPostgDocumentType | _OpngPostgDocumentType | |||
| _OpngPostgOffstgAccount | _OpngPostgOffstgAccount | |||
| _PerdcPostgAccrAccount | _PerdcPostgAccrAccount | |||
| _PerdcPostgDocumentType | _PerdcPostgDocumentType | |||
| _PerdcPostgOffstgAccount | _PerdcPostgOffstgAccount | |||
| _PlanAccrItemType | _PlanAccrItemType | |||
| _PlanAccrMethod | _PlanAccrMethod | |||
| _PlanItem | _PlanItem | |||
| _TransactionCurrency | _TransactionCurrency |
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 R_AccrEngineAccrSubobjItemTP.
-- 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.
CREATE VIEW R_AccrEngineAccrSubobjItemTP AS
SELECT
AccrualEngineAccrualObjectType,
AccrualObjectLogicalSystem,
CompanyCode,
AccrualObject,
AccrualSubobject,
AccrualItemType,
Ledger,
AccrSubobjectItmValdtyEndDte,
AccrualItemType AS AccrualItemTypeForEdit,
_AccrLedgerGroup.LedgerGroup AS LedgerGroup,
_AccrLedgerGroup.AccrPerdcPostingFrequency AS AccrPerdcPostingFrequency,
_AccrLedgerGroup._PerdcPostgFrqcy._Text[1:Language=$session.system_language].AccrPerdcPostingFrequencyName AS AccrPerdcPostingFrequencyName,
AccrSubobjectItmValdtyStrtDte,
AccrualMethod,
AccrSubobjHdrStartOfLifeDate,
AccrSubobjHdrEndOfLifeDate,
AccrualItemIsObsolete,
PlanAccrualItemType,
PlanAccrualMethod,
ActualAccrualItemType,
ActualAccrualMethod,
DeferralItemType,
DeferralMethod,
TotalAccrualQuantity,
TotalAccrualQuantityUnit,
TotalAccrAmountInTransCrcy,
TotalAccrAmtInCompanyCodeCrcy,
TotalAccrAmountInGlobalCrcy,
TotalAccrAmountInFreeDfndCrcy1,
TotalAccrAmountInFreeDfndCrcy2,
TotalAccrAmountInFreeDfndCrcy3,
TotalAccrAmountInFreeDfndCrcy4,
TotalAccrAmountInFreeDfndCrcy5,
TotalAccrAmountInFreeDfndCrcy6,
TotalAccrAmountInFreeDfndCrcy7,
TotalAccrAmountInFreeDfndCrcy8,
TransactionCurrency,
cast( _CompanyCode.Currency as fins_currh preserving type ) AS CompanyCodeCurrency,
cast( _CompanyCode._ControllingArea.ControllingAreaCurrency as fins_currk preserving type ) AS GlobalCurrency,
FreeDefinedCurrency1,
FreeDefinedCurrency2,
FreeDefinedCurrency3,
FreeDefinedCurrency4,
FreeDefinedCurrency5,
FreeDefinedCurrency6,
FreeDefinedCurrency7,
FreeDefinedCurrency8,
AccrOpngPostgDocumentType,
AccrPerdcPostgDocumentType,
AccrClsgPostgDocumentType,
AccrOpngPostgAccrAccount,
AccrOpngPostgOffstgAccount,
AccrPerdcPostgAccrAccount,
AccrPerdcPostgOffstgAcct,
AccrClsgPostgAccrAccount,
AccrClsgPostgOffstgAccount,
AccrualItemLastChangeDateTime,
_AccrLedgerGroup._PerdcPostgFrqcy AS _PerdcPostgFrqcy
FROM I_AccrEngineAccrSubobjItem
LEFT OUTER JOIN I_AccrEngineAccrItemType AS _AccrItemTypeForEdit ON AccrualEngineAccrualObjectType = _AccrItemTypeForEdit.AccrualEngineAccrualObjectType AND AccrualItemTypeForEdit = _AccrItemTypeForEdit.AccrualItemType -- association [0..1]
LEFT OUTER JOIN I_AccrItemTypeForLedgerGroup AS _AccrLedgerGroup ON AccrualEngineAccrualObjectType = _AccrLedgerGroup.AccrualEngineApplication AND CompanyCode = _AccrLedgerGroup.CompanyCode AND AccrualItemType = _AccrLedgerGroup.AccrualItemType AND Ledger = _AccrLedgerGroup.Ledger -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_Currency AS _TransactionCurrency ON TransactionCurrency = _TransactionCurrency.Currency -- association [0..1]
LEFT OUTER JOIN I_Currency AS _CompanyCodeCurrency ON CompanyCodeCurrency = _CompanyCodeCurrency.Currency -- association [1..1]
LEFT OUTER JOIN I_Currency AS _GlobalCurrency ON GlobalCurrency = _GlobalCurrency.Currency -- 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