I_GLAccountTextRawData

DDL: I_GLACCOUNTTEXTRAWDATA SQL: IFIGLACCTTRD Type: view BASIC

General Ledger Account - Text

I_GLAccountTextRawData (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Accounting and Financial Close

I_GLAccountTextRawData is a Basic CDS View that provides data about "General Ledger Account - Text" in SAP S/4HANA. It reads from 1 data source (skat) and exposes 9 fields with key fields ChartOfAccounts, GLAccount, Language. It has 3 associations to related views.

SAP API Hub

StateC1
Line of BusinessAccounting and Financial Close
Application ComponentFI-GL-GL-N
CapabilitiesData Source for Defining CDS Entities, Language-Dependent Text, Data Source for Data Extraction
PackageAccounting and Financial Close for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
skat skat from

Associations (3)

CardinalityTargetAliasCondition
[0..*] I_ChartOfAccountsText _ChartOfAccountsText $projection.ChartOfAccounts = _ChartOfAccountsText.ChartOfAccounts
[0..1] I_Language _Language $projection.Language = _Language.Language
[0..1] I_ChartOfAccounts _ChartOfAccounts $projection.ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts

Annotations (19)

NameValueLevelField
EndUserText.label General Ledger Account - Text view
AbapCatalog.compiler.compareFilter true view
Analytics.dataExtraction.enabled true view
Analytics.dataExtraction.delta.changeDataCapture.automatic true view
ObjectModel.dataCategory #TEXT view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IFIGLACCTTRD view
ObjectModel.entityChangeStateId LastChangeDateTime view
ObjectModel.representativeKey GLAccount view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #FULL view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
AbapCatalog.buffering.numberOfKeyFields 1 view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.preserveKey true view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY ChartOfAccounts ktopl G/L Chart of Accounts
KEY GLAccount saknr G/L Account Number
KEY Language spras Off. Language
GLAccountName G/L Account Name
GLAccountLongName G/L Account Long Name
LastChangeDateTime last_changed_ts UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
_Language _Language
_ChartOfAccounts _ChartOfAccounts
_ChartOfAccountsText _ChartOfAccountsText

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_GLAccountTextRawData.
-- 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: IFIGLACCTTRD

CREATE VIEW I_GLAccountTextRawData AS
SELECT
  ktopl AS ChartOfAccounts,
  saknr AS GLAccount,
  spras AS Language,
  cast( txt20 as fis_txt20_skat_20 preserving type ) AS GLAccountName,
  cast( txt50 as fis_txt50_skat preserving type ) AS GLAccountLongName,
  last_changed_ts AS LastChangeDateTime
FROM skat
LEFT OUTER JOIN I_ChartOfAccountsText AS _ChartOfAccountsText ON ChartOfAccounts = _ChartOfAccountsText.ChartOfAccounts  -- association [0..*]
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
LEFT OUTER JOIN I_ChartOfAccounts AS _ChartOfAccounts ON ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts  -- association [0..1]
;