P_PersonWorkAgrmtStatusText

DDL: P_PERSONWORKAGRMTSTATUSTEXT SQL: PPERWKAGRSTTXTB Type: view BASIC

P_PersonWorkAgrmtStatusText is a Basic CDS View in SAP S/4HANA. It reads from 4 data sources (dd07t, dd07t, wfd_d_new_pers, wfd_d_new_pers) and exposes 7 fields with key fields Language, WorkAgreementStatus, WorkAgreementStatus. It has 1 association to related views.

Data Sources (4)

SourceAliasJoin Type
dd07t dd07t from
dd07t dd07t inner
wfd_d_new_pers switch left_outer
wfd_d_new_pers switch union_all

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_Language _Language dd07t.ddlanguage = _Language.Language

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName PPERWKAGRSTTXTB view
VDM.viewType #BASIC view
VDM.private true view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
ObjectModel.representativeKey WorkAgreementStatus view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
Metadata.ignorePropagatedAnnotations true view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY Language ddlanguage Lang.
KEY WorkAgreementStatus Lower Value
WorkAgreementStatusName ddtext Short text
LanguagekeyddlanguageasLanguage
KEY WorkAgreementStatus Lower Value
WorkAgreementStatusName ddtext Short text
_Language _Language

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_PersonWorkAgrmtStatusText.
-- 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: PPERWKAGRSTTXTB

CREATE VIEW P_PersonWorkAgrmtStatusText AS
SELECT
  ddlanguage AS Language,
  cast (domvalue_l as /shcm/employment_status ) AS WorkAgreementStatus,
  ddtext AS WorkAgreementStatusName
FROM dd07t
LEFT OUTER JOIN wfd_d_new_pers AS switch ON /* join condition not captured in parsed metadata */
INNER JOIN dd07t ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Language AS _Language ON dd07t.ddlanguage = _Language.Language  -- association [0..1]
-- UNION ALL with additional select branch(es): wfd_d_new_pers
;