R_AccrEngineAccrSubobjItemTP

DDL: R_ACCRENGINEACCRSUBOBJITEMTP Type: view_entity TRANSACTIONAL

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)

SourceAliasJoin Type
I_AccrEngineAccrSubobjItem I_AccrEngineAccrSubobjItem from

Associations (6)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;