Quantcast
Channel: SCN : Blog List - ABAP Development
Viewing all articles
Browse latest Browse all 943

Core Data Services - Standard Utilities / Reports

$
0
0

Introduction:

 

CDS Views can be created and viewed only from ABAP Development Tools (ADT) .The objective of this blog is to list down some standard utilities related to CDS Views which would allow us to gain information on these views from SAP GUI.

 

These reports will be useful for users who are not having access to ADT tools or not able to access the system from ADT due to missing authorization.

 

ReportUsage
RUTDDLSANALYZEAnalysis of DDL Sources
RUTDDLSSHOWSearch for DDL sources with name and/or template
RUTDDLSSHOW2CDS Source Display
RUTDDLSDELDelete the DDL Source and the generated view
RUTDDLSACTActivates Set of DDL Sources

 

RUTDDLSANALYZE

 

This report can be used to get the list of DDL Sources in the system , the corresponding DDL SQL view name , package and other information.

 

Executing the report to check all DDL Sources starting with I_SALES:

 

0.png

 

Report Output:

 

The report output shows 62 DDL Sources exist with name starting with I_SALES. Highlighted button "DDL Source Text Display" can be used to view the DDL Source definition.

 

1.png

 

RUTDDLSSHOW

 

This utility can be used to search to DDL sources with name or template. It can be used to see the source code of multiple views at a time. The report also provides information about the created database view , referenced DDL sources and referenced tables or non- CDS views.

 

 

Executing the report to get information about all DDL sources starting from I_SALES:

2.png

 

Report Output:

 

DDL source definition along with other details is displayed for all views.

 

3.png

 

RUTDDLSSHOW2

 

The report can be used to view the DDL source code of a single CDS View.

 

Executing the report to view the DDL source for CDS view I_SALESCONTRACT.

 

4.png

 

Report Output:

 

DDL Source code is displayed.

 

5.png

 

 

RUTDDLSDEL

 

This utility can be used to delete the DDL Source and the corresponding database view. It should be used cautiously as the utility doesn't asks for confirmation.

 

Executing report to delete the DDL Source ZTEST_AUTH.

 

6.png

 

Report Output:

 

The report log shows the information about the deleted source.

7.png

 

 

RUTDDLSACT

 

This program can be used for mass activation of views.

 

Executing report to activate DDL Source ZPO_DATA.

 

8.png

 

Report Output:

 

9.png


Viewing all articles
Browse latest Browse all 943

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>