fac_ad_cds_t033G

DDL: FAC_AD_CDS_T033G SQL: FACADV_T033G Type: view

CDS View for T033G

fac_ad_cds_t033G is a CDS View that provides data about "CDS View for T033G" in SAP S/4HANA. It reads from 1 data source (t033g) and exposes 11 fields with key fields mandt, anwnd, ktopl, ktosy, komo1. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
t033g t033g from

Associations (5)

CardinalityTargetAliasCondition
[0..1] skat account_text $projection.ktopl = account_text.ktopl and $projection.konto = account_text.saknr and account_text.spras = $session.system_language
[0..1] t033b application_text $projection.anwnd = application_text.anwnd and application_text.spras = $session.system_language
[0..1] t033j symbol_text $projection.anwnd = symbol_text.anwnd and $projection.ktosy = symbol_text.ktosy and symbol_text.spras = $session.system_language
[0..1] t004t ktopl_text $projection.ktopl = ktopl_text.ktopl and ktopl_text.spras = $session.system_language
[0..1] tcurt curr_text $projection.komo1 = curr_text.waers and curr_text.spras = $session.system_language

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName FACADV_T033G view
ClientHandling.type #CLIENT_DEPENDENT view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label CDS View for T033G view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY mandt t033g mandt Editing Client
KEY anwnd t033g anwnd Application
KEY ktopl t033g ktopl G/L Chart of Accounts
KEY ktosy t033g ktosy Account Symbol
KEY komo1 t033g komo1 Modification
KEY komo2 t033g komo2 Modification
konto t033g konto G/L Account
symbol_text symbol_text ltext Text exists
ktopl_text ktopl_text ktplt Description
account_text account_text txt20 Text 20
curr_text curr_text ltext Text exists

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 fac_ad_cds_t033G.
-- 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: FACADV_T033G

CREATE VIEW fac_ad_cds_t033G AS
SELECT
  t033g.mandt AS mandt,
  t033g.anwnd AS anwnd,
  t033g.ktopl AS ktopl,
  t033g.ktosy AS ktosy,
  t033g.komo1 AS komo1,
  t033g.komo2 AS komo2,
  t033g.konto AS konto,
  symbol_text.ltext AS symbol_text,
  ktopl_text.ktplt AS ktopl_text,
  account_text.txt20 AS account_text,
  curr_text.ltext AS curr_text
FROM t033g
LEFT OUTER JOIN skat AS account_text ON ktopl = account_text.ktopl AND konto = account_text.saknr AND account_text.spras = $session.system_language  -- association [0..1]
LEFT OUTER JOIN t033b AS application_text ON anwnd = application_text.anwnd AND application_text.spras = $session.system_language  -- association [0..1]
LEFT OUTER JOIN t033j AS symbol_text ON anwnd = symbol_text.anwnd AND ktosy = symbol_text.ktosy AND symbol_text.spras = $session.system_language  -- association [0..1]
LEFT OUTER JOIN t004t AS ktopl_text ON ktopl = ktopl_text.ktopl AND ktopl_text.spras = $session.system_language  -- association [0..1]
LEFT OUTER JOIN tcurt AS curr_text ON komo1 = curr_text.waers AND curr_text.spras = $session.system_language  -- association [0..1]
;