P_LFART_Expense_ValueHelp

DDL: P_LFART_EXPENSE_VALUEHELP SQL: PLFARTEXPVH Type: view BASIC

P_LFART_Expense_ValueHelp is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (tmfk, twbexp) and exposes 4 fields with key fields tew_type, lfart, exp_class. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
tmfk tmfk inner
twbexp twbexp from

Associations (1)

CardinalityTargetAliasCondition
[0..*] tmfkt _DocTypeText $projection.lfart = _DocTypeText.lfart

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PLFARTEXPVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.viewType #BASIC view
VDM.private true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.sizeCategory #S view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #MANDATORY view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY tew_type twbexp tew_type TEW Type
KEY lfart twbexp lfart Settl Doc Type
KEY exp_class twbexp exp_class Expense Class
vtext

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 P_LFART_Expense_ValueHelp.
-- 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: PLFARTEXPVH

CREATE VIEW P_LFART_Expense_ValueHelp AS
SELECT
  twbexp.tew_type AS tew_type,
  twbexp.lfart AS lfart,
  twbexp.exp_class AS exp_class,
  _DocTypeText[1: spras = $session.system_language ].vtext AS vtext
FROM twbexp
INNER JOIN tmfk ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN tmfkt AS _DocTypeText ON lfart = _DocTypeText.lfart  -- association [0..*]
;