I_PRADocCreationStatusText

DDL: I_PRADOCCREATIONSTATUSTEXT Type: view_entity BASIC

Document Creation Status - Text

I_PRADocCreationStatusText is a Basic CDS View that provides data about "Document Creation Status - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 6 fields with key fields PRADocCreationStatus, Language. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language
[1..1] I_PRADocCreationStatus _Status $projection.PRADocCreationStatus = _Status.PRADocCreationStatus

Annotations (12)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Document Creation Status - Text view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #TEXT view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
ObjectModel.representativeKey PRADocCreationStatus view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.sizeCategory #S view
Search.searchable true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY PRADocCreationStatus
KEY Language ddlanguage Lang.
StatusDescription Short text
DomainValue dd07t domvalue_l Lower Value
_Status _Status
_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 I_PRADocCreationStatusText.
-- 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.

CREATE VIEW I_PRADocCreationStatusText AS
SELECT
  cast ( substring( domvalue_l, 1, 1 ) as /pra/dxgp_doc_creation_status ) AS PRADocCreationStatus,
  ddlanguage AS Language,
  cast(ddtext as /pra/dxgp_doc_creation_sts_txt) AS StatusDescription,
  dd07t.domvalue_l AS DomainValue
FROM dd07t
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
LEFT OUTER JOIN I_PRADocCreationStatus AS _Status ON PRADocCreationStatus = _Status.PRADocCreationStatus  -- association [1..1]
;