I_EntSrchCustCDSModel
Custom Search Models
I_EntSrchCustCDSModel is a Transactional CDS View that provides data about "Custom Search Models" in SAP S/4HANA. It reads from 2 data sources (ddldependency, esh_cds_mdl) and exposes 7 fields with key field EntSrchModelName. It has 1 association to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| ddldependency | _cdsmapping | inner |
| esh_cds_mdl | _eshsrchcdsmdl | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_CDSEntityHeaderAnnotation | _cdsheaderanno | $projection.EntSrchModelName = _cdsheaderanno.CDSView and _cdsheaderanno.CDSViewAnnotationName = 'UI.HEADERINFO.TYPENAMEPLURAL' |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #TRANSACTIONAL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| EndUserText.label | Custom Search Models | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view |
Fields (7)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EntSrchModelName | esh_cds_mdl | cds_entity | CDS-Entity |
| EntSrchModelScope | esh_cds_mdl | scope_dependent | Scope Dependent | |
| EntSrchModelCreatedByUser | esh_cds_mdl | created_by | Version Created By | |
| EntSrchModelLastChangedByUser | esh_cds_mdl | changed_by | User Name | |
| EntSrchModAppID | ||||
| ABAPLanguageVersion | esh_cds_mdl | abap_language_version | Language Version | |
| EntSrchModelConnectorID | _eshconnector | sc_id | Search Connector ID |
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 I_EntSrchCustCDSModel.
-- 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 I_EntSrchCustCDSModel AS
SELECT
_eshsrchcdsmdl.cds_entity AS EntSrchModelName,
_eshsrchcdsmdl.scope_dependent AS EntSrchModelScope,
_eshsrchcdsmdl.created_by AS EntSrchModelCreatedByUser,
_eshsrchcdsmdl.changed_by AS EntSrchModelLastChangedByUser,
cast( '' as sch_de_iam_app_id ) AS EntSrchModAppID,
_eshsrchcdsmdl.abap_language_version AS ABAPLanguageVersion,
_eshconnector.sc_id AS EntSrchModelConnectorID
FROM esh_cds_mdl AS _eshsrchcdsmdl
INNER JOIN ddldependency AS _cdsmapping ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CDSEntityHeaderAnnotation AS _cdsheaderanno ON EntSrchModelName = _cdsheaderanno.CDSView AND _cdsheaderanno.CDSViewAnnotationName = 'UI.HEADERINFO.TYPENAMEPLURAL' -- association [0..*]
;
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