CDS_VIEW_ENTY_OSQL_PRDUCT_INFO

DDL: CDS_VIEW_ENTY_OSQL_PRDUCT_INFO Type: view_entity

EPM : CDS V2 for product information

CDS_VIEW_ENTY_OSQL_PRDUCT_INFO is a CDS View that provides data about "EPM : CDS V2 for product information" in SAP S/4HANA. It reads from 4 data sources (OsqlFrwk_Invoice_Count, SEPM_I_Product, SEPM_I_ShortText, SEPM_I_ShortText) and exposes 3 fields.

Data Sources (4)

SourceAliasJoin Type
OsqlFrwk_Invoice_Count OsqlFrwk_Invoice_Count from
SEPM_I_Product product inner
SEPM_I_ShortText product_name_default left_outer
SEPM_I_ShortText product_name_sylangu left_outer

Parameters (2)

NameTypeDefault
langu abap.lang
fallback_langu abap.lang

Annotations (1)

NameValueLevelField
EndUserText.label EPM : CDS V2 for product information view

Fields (3)

KeyFieldSource TableSource FieldDescription
customer_id OsqlFrwk_Invoice_Count customer_id Recipient Cust. ID
product_cnt OsqlFrwk_Invoice_Count prod_cnt
ShortTextasproduct_name

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 CDS_VIEW_ENTY_OSQL_PRDUCT_INFO.
-- 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.
-- Parameters: langu : abap.lang, fallback_langu : abap.lang

CREATE VIEW CDS_VIEW_ENTY_OSQL_PRDUCT_INFO AS
SELECT
  OsqlFrwk_Invoice_Count.customer_id AS customer_id,
  OsqlFrwk_Invoice_Count.prod_cnt AS product_cnt,
  coalesce( product_name_sylangu.ShortText, product_name_default.ShortText ) as product_name AS ShortTextasproduct_name
FROM OsqlFrwk_Invoice_Count
INNER JOIN SEPM_I_Product AS product ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN SEPM_I_ShortText AS product_name_sylangu ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN SEPM_I_ShortText AS product_name_default ON /* join condition not captured in parsed metadata */
;