P_Producttextswd
Product text Union
P_Producttextswd is a Composite CDS View that provides data about "Product text Union" in SAP S/4HANA. It reads from 5 data sources (I_Producttexts, I_DraftAdministrativeData, P_Producttextsd, P_Producttextsd, P_ProductD) and exposes 24 fields with key fields DraftUUID, Product, Language, LongTextID, product. Part of development package VDM_MD_PRODUCT_OBSOLETE.
Data Sources (5)
| Source | Alias | Join Type |
|---|---|---|
| I_Producttexts | ActiveDocument | from |
| I_DraftAdministrativeData | DraftAdministrativeData | inner |
| P_Producttextsd | DraftDocument | left_outer |
| P_Producttextsd | DraftDocument | union_all |
| P_ProductD | DraftRootDocument | inner |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPRDTEXTSWD | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| ClientDependent | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view |
Fields (24)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DraftUUID | |||
| KEY | Product | |||
| KEY | Language | I_Producttexts | Language | Report Text Language |
| KEY | LongTextID | I_Producttexts | LongTextID | Text ID |
| ParentDraftUUID | NodeID | |||
| ProductForEdit | I_Producttexts | Product | Product | |
| LanguageForEdit | I_Producttexts | Language | Original Language | |
| LongTextIDForEdit | I_Producttexts | LongTextID | Text ID | |
| LongText | I_Producttexts | LongText | Text Name | |
| IsActiveEntity | ||||
| HasActiveEntity | TRUE | |||
| DraftUUID | ||||
| KEY | product | P_Producttextsd | product | Product Sold |
| KEY | language | P_Producttextsd | language | Report Text Language |
| KEY | longtextid | P_Producttextsd | longtextid | Text ID |
| ParentDraftUUID | P_Producttextsd | ParentDraftUUID | NodeID | |
| ProductForEdit | P_Producttextsd | productforedit | Product | |
| LanguageForEdit | P_Producttextsd | languageforedit | Original Language | |
| LongTextIDForEdit | P_Producttextsd | longtextidforedit | Text ID | |
| LongText | P_Producttextsd | longtext | Text Name | |
| IsActiveEntity | ||||
| HasActiveEntity | P_Producttextsd | HasActiveEntity | TRUE | |
| HasDraftEntity | ||||
| DraftAdministrativeDataUUID |
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_Producttextswd.
-- 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: PPRDTEXTSWD
CREATE VIEW P_Producttextswd 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,
cast( ' ' as boole_d ) AS HasDraftEntity,
cast(DraftDocument.ParentDraftUUID as sysuuid_x ) AS DraftAdministrativeDataUUID
FROM I_Producttexts AS ActiveDocument
LEFT OUTER JOIN P_Producttextsd AS DraftDocument ON /* join condition not captured in parsed metadata */
INNER JOIN P_ProductD AS DraftRootDocument ON /* join condition not captured in parsed metadata */
INNER JOIN I_DraftAdministrativeData AS DraftAdministrativeData ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): P_Producttextsd
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA