FAC_AD_CDS_ACC_DET_KEY

DDL: FAC_AD_CDS_ACC_DET_KEY SQL: FACADV_ACCDETKEY Type: view

Value Help View: Account Key

FAC_AD_CDS_ACC_DET_KEY is a CDS View that provides data about "Value Help View: Account Key" in SAP S/4HANA. It reads from 1 data source (t8g30a) and exposes 6 fields with key fields linetype, accdetkey. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
t8g30a t8g30a from

Associations (2)

CardinalityTargetAliasCondition
[0..*] tbslt pk_text_d $projection.pokey_d = pk_text_d.bschl and pk_text_d.umskz = ''
[0..*] tbslt pk_text_c $projection.pokey_c = pk_text_c.bschl and pk_text_c.umskz = ''

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName FACADV_ACCDETKEY view
ClientHandling.type #CLIENT_DEPENDENT view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Value Help View: Account Key view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.dataCategory #VALUE_HELP view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY linetype linetype Type of line
KEY accdetkey accdetkey AcctDeterm.Val.
pokey_d pokey_d Posting Key
pokey_c pokey_c Posting Key
pokey_d_text
pokey_c_text

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_ACC_DET_KEY.
-- 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_ACCDETKEY

CREATE VIEW FAC_AD_CDS_ACC_DET_KEY AS
SELECT
  linetype,
  accdetkey,
  pokey_d,
  pokey_c,
  pk_text_d[1:spras = $session.system_language].ltext AS pokey_d_text,
  pk_text_c[1:spras = $session.system_language].ltext AS pokey_c_text
FROM t8g30a
LEFT OUTER JOIN tbslt AS pk_text_d ON pokey_d = pk_text_d.bschl AND pk_text_d.umskz = ''  -- association [0..*]
LEFT OUTER JOIN tbslt AS pk_text_c ON pokey_c = pk_text_c.bschl AND pk_text_c.umskz = ''  -- association [0..*]
;