C_Trrmanaccruals

DDL: C_TRRMANACCRUALS SQL: CTRRMANACCRUALS Type: view CONSUMPTION

Revn.Recn.Mon Manual Accruals

C_Trrmanaccruals is a Consumption CDS View that provides data about "Revn.Recn.Mon Manual Accruals" in SAP S/4HANA. It reads from 1 data source (I_Trrmanaccruals) and exposes 22 fields with key fields WBSElementInternalID, CompanyCode, Ledger, AssignmentRule, ChartOfAccounts. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_Trrmanaccruals I_Trrmanaccruals from

Associations (3)

CardinalityTargetAliasCondition
[0..*] I_GLAccountText _GLAccountTextAcc $projection.ChartOfAccounts = _GLAccountTextAcc.ChartOfAccounts and $projection.AccruedValuesAccount = _GLAccountTextAcc.GLAccount
[0..*] I_GLAccountText _GLAccountTextRec $projection.ChartOfAccounts = _GLAccountTextRec.ChartOfAccounts and $projection.RecognizedValuesAccount = _GLAccountTextRec.GLAccount
[0..*] I_AssignmentSourceText _AssignmentSourceText $projection.AssignmentSource = _AssignmentSourceText.AssignmentSource

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CTRRMANACCRUALS view
AbapCatalog.compiler.compareFilter true view
ObjectModel.compositionRoot false view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Revn.Recn.Mon Manual Accruals view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (22)

KeyFieldSource TableSource FieldDescription
KEY WBSElementInternalID WBSElementInternalID WBS Internal ID
KEY CompanyCode CompanyCode Receiver Company Code
KEY Ledger Ledger Ledger
KEY AssignmentRule AssignmentRule
KEY ChartOfAccounts ChartOfAccounts Node Class
KEY ValueUsage ValueUsage
KEY AssignmentSource AssignmentSource
KEY AccruedValuesAccount AccruedValuesAccount
KEY RecognizedValuesAccount RecognizedValuesAccount
WBSElement WBSElement WBS Internal ID
ResultAnalysisInternalID ResultAnalysisInternalID Results Analysis Key
AssignmentSourceText
AccruedValuesText
RecognizedValuesText
CompanyCodeCurrency CompanyCodeCurrency Local Currency
AccrualAmtInCCCrcy AccrualAmtInCCCrcy
FiscalPeriod FiscalPeriod Tax period
FiscalYear FiscalYear G/L Fiscal Year
JournalEntryItemText
_GLAccountTextAcc _GLAccountTextAcc
_GLAccountTextRec _GLAccountTextRec
_AssignmentSourceText _AssignmentSourceText

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 C_Trrmanaccruals.
-- 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: CTRRMANACCRUALS

CREATE VIEW C_Trrmanaccruals AS
SELECT
  WBSElementInternalID,
  CompanyCode,
  Ledger,
  AssignmentRule,
  ChartOfAccounts,
  ValueUsage,
  AssignmentSource,
  AccruedValuesAccount,
  RecognizedValuesAccount,
  WBSElement,
  ResultAnalysisInternalID,
  _AssignmentSourceText[1: Language = $session.system_language].AssignmentSourceText AS AssignmentSourceText,
  _GLAccountTextAcc[1: Language = $session.system_language].GLAccountLongName AS AccruedValuesText,
  _GLAccountTextRec[1: Language = $session.system_language].GLAccountLongName AS RecognizedValuesText,
  CompanyCodeCurrency,
  AccrualAmtInCCCrcy,
  FiscalPeriod,
  FiscalYear,
  cast ('' as fis_sgtxt) AS JournalEntryItemText
FROM I_Trrmanaccruals
LEFT OUTER JOIN I_GLAccountText AS _GLAccountTextAcc ON ChartOfAccounts = _GLAccountTextAcc.ChartOfAccounts AND AccruedValuesAccount = _GLAccountTextAcc.GLAccount  -- association [0..*]
LEFT OUTER JOIN I_GLAccountText AS _GLAccountTextRec ON ChartOfAccounts = _GLAccountTextRec.ChartOfAccounts AND RecognizedValuesAccount = _GLAccountTextRec.GLAccount  -- association [0..*]
LEFT OUTER JOIN I_AssignmentSourceText AS _AssignmentSourceText ON AssignmentSource = _AssignmentSourceText.AssignmentSource  -- association [0..*]
;