I_PurchasingLongText

DDL: I_PURCHASINGLONGTEXT SQL: IPURLONGTXT Type: view BASIC

Purchasing Long Text

I_PurchasingLongText is a Basic CDS View that provides data about "Purchasing Long Text" in SAP S/4HANA. It reads from 1 data source (stxh) and exposes 8 fields with key fields TextObjectCategory, TextObjectKey, TextObjectType, Language. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
stxh stxh from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_TextObjectPlainLongText _LongText $projection.TextObjectCategory = _LongText.TextObjectCategory and $projection.TextObjectKey = _LongText.TextObjectKey and $projection.TextObjectType = _LongText.TextObjectType and $projection.Language = _LongText.Language

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IPURLONGTXT view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Purchasing Long Text view
VDM.viewType #BASIC view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #A view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY TextObjectCategory tdobject Text object
KEY TextObjectKey tdname Text Name
KEY TextObjectType tdid Text ID Header
KEY Language tdspras Language
PlainLongText _LongText PlainLongText Long Text
FixedIndicator
DisplayModeOfTextTypeInPurg
TextIsAdoptedFromReference

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_PurchasingLongText.
-- 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: IPURLONGTXT

CREATE VIEW I_PurchasingLongText AS
SELECT
  tdobject AS TextObjectCategory,
  tdname AS TextObjectKey,
  tdid AS TextObjectType,
  tdspras AS Language,
  _LongText.PlainLongText AS PlainLongText,
  cast('' as fixie) AS FixedIndicator,
  cast('' as mmpur_text_displaymode) AS DisplayModeOfTextTypeInPurg,
  cast('' as mmpur_t_text_isadopted) AS TextIsAdoptedFromReference
FROM stxh
LEFT OUTER JOIN I_TextObjectPlainLongText AS _LongText ON TextObjectCategory = _LongText.TextObjectCategory AND TextObjectKey = _LongText.TextObjectKey AND TextObjectType = _LongText.TextObjectType AND Language = _LongText.Language  -- association [1..1]
;