A_LeadText

DDL: A_LEADTEXT Type: view COMPOSITE

Lead Text

A_LeadText is a Composite CDS View that provides data about "Lead Text" in SAP S/4HANA. It reads from 1 data source (P_PresalesText) and exposes 5 fields with key fields Lead, TextObjectType, Language. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
P_PresalesText P_PresalesText from

Associations (1)

CardinalityTargetAliasCondition
[1] A_Lead _Lead $projection.Lead = _Lead.Lead

Annotations (15)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Lead Text view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AbapCatalog.sqlViewName ALEADTEXT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
Metadata.ignorePropagatedAnnotations true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY Lead PresalesDocument
KEY TextObjectType _Text TextObjectType Text ID
KEY Language _Text Language Report Text Language
PlainLongText _Text PlainLongText Long Text
_Lead _Lead

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 A_LeadText.
-- 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 A_LeadText AS
SELECT
  PresalesDocument AS Lead,
  _Text.TextObjectType AS TextObjectType,
  _Text.Language AS Language,
  _Text.PlainLongText AS PlainLongText
FROM P_PresalesText
LEFT OUTER JOIN A_Lead AS _Lead ON Lead = _Lead.Lead  -- association [1]
;