cuan_cpg_cust_search

DDL: CUAN_CPG_CUST_SEARCH Type: view_entity

Comm flow Search by Customer ID

cuan_cpg_cust_search is a CDS View that provides data about "Comm flow Search by Customer ID" in SAP S/4HANA. It reads from 3 data sources (cuan_d_ini_tg, cuan_d_tg_root, cuan_d_ini_root) and exposes 6 fields with key field DB_KEY.

Data Sources (3)

SourceAliasJoin Type
cuan_d_ini_tg _INI_TG inner
cuan_d_tg_root _TG_ROOT inner
cuan_d_ini_root cuan_d_ini_root from

Annotations (7)

NameValueLevelField
EndUserText.label Comm flow Search by Customer ID view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.representativeKey DB_KEY view
Analytics.technicalName CUAN_CPGCUSTSRCH view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY DB_KEY cuan_d_ini_root db_key UUID
hpa_client
id cuan_d_ini_root id WorklistID
comm_area_id cuan_d_ini_root comm_area_id
type cuan_d_ini_root type Worklist Type
kunnr

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 cuan_cpg_cust_search.
-- 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 cuan_cpg_cust_search AS
SELECT
  cuan_d_ini_root.db_key AS DB_KEY,
  $session.client AS hpa_client,
  cuan_d_ini_root.id AS id,
  cuan_d_ini_root.comm_area_id AS comm_area_id,
  cuan_d_ini_root.type AS type,
  '0000000000' AS kunnr
FROM cuan_d_ini_root
INNER JOIN cuan_d_ini_tg AS _INI_TG ON /* join condition not captured in parsed metadata */
INNER JOIN cuan_d_tg_root AS _TG_ROOT ON /* join condition not captured in parsed metadata */
;