P_TextFileInter

DDL: P_TEXTFILEINTER SQL: PTEXTFILEINTER Type: view BASIC

P_TextFileInter is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (P_TextIdType, I_Textfileheader) and exposes 7 fields with key fields TechnicalObjectType, ArchitecturalObjectNumber, DocumentText.

Data Sources (2)

SourceAliasJoin Type
P_TextIdType text left_outer
I_Textfileheader txthdr from

Annotations (7)

NameValueLevelField
VDM.private true view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName PTEXTFILEINTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY TechnicalObjectType I_Textfileheader TechnicalObjectType Text object
KEY ArchitecturalObjectNumber I_Textfileheader ArchitecturalObjectNumber Text Name
KEY DocumentText I_Textfileheader DocumentText Text ID
PurchaseRequisition
PurchaseRequisitionItem
Note P_TextIdType Note TradeRequest Comment
Language P_TextIdType Language Report Text 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_TextFileInter.
-- 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: PTEXTFILEINTER

CREATE VIEW P_TextFileInter AS
SELECT
  txthdr.TechnicalObjectType AS TechnicalObjectType,
  txthdr.ArchitecturalObjectNumber AS ArchitecturalObjectNumber,
  txthdr.DocumentText AS DocumentText,
  substring(txthdr.ArchitecturalObjectNumber,1,10) AS PurchaseRequisition,
  substring(txthdr.ArchitecturalObjectNumber,11,15) AS PurchaseRequisitionItem,
  text.Note AS Note,
  text.Language AS Language
FROM I_Textfileheader AS txthdr
LEFT OUTER JOIN P_TextIdType AS text ON /* join condition not captured in parsed metadata */
;