P_Productsalestextwd

DDL: P_PRODUCTSALESTEXTWD SQL: PPRDSALESTEXTWD Type: view COMPOSITE

P_Productsalestextwd is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_Productsalestext) and exposes 11 fields with key fields DraftUUID, Product, Language, LongTextID.

Data Sources (1)

SourceAliasJoin Type
I_Productsalestext ActiveDocument from

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PPRDSALESTEXTWD view
VDM.viewType #COMPOSITE view
VDM.private true view
ClientDependent true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY DraftUUID
KEY Product
KEY Language I_Productsalestext Language Report Text Language
KEY LongTextID I_Productsalestext LongTextID Text ID
ParentDraftUUID
ProductForEdit I_Productsalestext Product Product Sold
LanguageForEdit I_Productsalestext Language Report Text Language
LongTextIDForEdit I_Productsalestext LongTextID Text ID
LongText I_Productsalestext LongText Text Name
IsActiveEntity
HasActiveEntity

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_Productsalestextwd.
-- 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: PPRDSALESTEXTWD

CREATE VIEW P_Productsalestextwd AS
SELECT
  cast ( hextobin('00000000000000000000000000000000') as sysuuid_x ) AS DraftUUID,
  cast (ActiveDocument.Product as productnumber) AS Product,
  ActiveDocument.Language AS Language,
  ActiveDocument.LongTextID AS LongTextID,
  cast ( hextobin('00000000000000000000000000000000') as sysuuid_x ) AS ParentDraftUUID,
  ActiveDocument.Product AS ProductForEdit,
  ActiveDocument.Language AS LanguageForEdit,
  ActiveDocument.LongTextID AS LongTextIDForEdit,
  ActiveDocument.LongText AS LongText,
  cast( 'X' as boole_d ) AS IsActiveEntity,
  cast( ' ' as boole_d ) AS HasActiveEntity
FROM I_Productsalestext AS ActiveDocument
;