Skip to main content
Glama

CreateCdsUnitTest

Generate unit test classes for CDS views in SAP ABAP systems, including validation, templates, and test source code to ensure data model reliability.

Instructions

Create a CDS unit test class with CDS validation, class template, and local test class source.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
class_nameYesGlobal test class name (e.g., ZCL_CDS_TEST).
package_nameYesPackage name (e.g., ZOK_TEST_PKG_01, $TMP).
cds_view_nameYesCDS view name to validate for unit test doubles.
class_templateYesABAP class template used for CDS unit tests.
test_class_sourceYesLocal test class ABAP source code.
descriptionNoOptional description for the global test class.
transport_requestNoTransport request number (required for transportable packages).
Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/fr0ster/mcp-abap-adt'

If you have feedback or need assistance with the MCP directory API, please join our Discord server