To find CDS (Core Data Services) views in SAP, you can use several methods depending on whether you're searching in SAP GUI or SAP S/4HANA's Eclipse-based ABAP Development Tools (ADT).
1. Using SAP GUI (SE11, SE16, SE80, ST05, or RSRT)
Method 1: Using SE11 (Data Dictionary)
- Open SE11 (ABAP Dictionary).
- Select View and enter the name of a known CDS view (e.g.,
I_BillingDocument). - If you don't know the name, enter
E*orI*and use F4 Help to get a list of available views.
Method 2: Using SE16 (Table Browser)
- Open SE16 or SE16N.
- Enter Table Name:
DDLSOURCE. - Execute (
F8). - Apply filters like
DPC*,I_*,C_*, orZ*for custom CDS views.
Method 3: Using SE80 (Object Navigator)
- Open SE80.
- Select Repository Browser → Dictionary Objects.
- Search for objects starting with
DDLorCDS.
Method 4: Using ST05 (SQL Trace)
- Start ST05.
- Activate SQL Trace and execute an SAP Fiori app or query.
- Check the trace for CDS view names used in queries.
Method 5: Using RSRT (BW Query Analyzer)
If using embedded analytics:
- Open RSRT.
- Use
F4Help to find BW Queries built on top of CDS views.
2. Using ADT (Eclipse) in SAP S/4HANA
Method 6: Searching in ADT
- Open Eclipse with ADT.
- Navigate to ABAP Development Tools.
- Use Ctrl + H → Select ABAP Repository Search.
- Enter a pattern like
I_*,C_*, orZ*(for custom views). - Press Search.
Method 7: Using ADT Project Explorer
- Open ADT.
- Expand your Package (e.g.,
Z*,S4CORE). - Navigate to Dictionary → Data Definitions.
- View CDS definitions directly.
3. Using Tables for CDS Metadata
Method 8: Query Metadata Tables
You can check CDS views stored in SAP tables:
DDLSOURCE→ Stores all CDS views.DDLDEPENDENCY→ Shows dependent objects of CDS views.TADIR→ CDS views can be filtered withR3TR DDLS.
Example SQL Query (SE16, SE11, or ST05):
4. Using Fiori Apps (SAP S/4HANA)
Method 9: Using "View Browser" App
If using Fiori:
- Open Fiori Launchpad.
- Search for "View Browser".
- Use filters to find CDS views by application component.
5. Using Custom ABAP Report
If you want to list CDS views programmatically, you can write a simple ABAP report:
Summary
| Method | Tool |
|---|---|
| SE11 | Check Data Dictionary |
| SE16 | Query DDLSOURCE table |
| SE80 | Browse Repository |
| ST05 | SQL Trace for CDS usage |
| RSRT | Find embedded analytics views |
| Eclipse ADT | Search for CDS definitions |
| TADIR, DDLSOURCE | Query Metadata Tables |
| Fiori "View Browser" | Find standard & custom views |
| Custom ABAP | List CDS views via SQL |
Would you like help identifying specific CDS views for your use ca
No comments:
Post a Comment