
To read a View Cluster definition programmatically, SAP KBA 3735483 identifies function module VIEWCLUSTER_GET_DEFINITION. This retrieves metadata rather than the business data maintained through the cluster.
Supply the technical cluster name
Pass the View Cluster’s technical name in import parameter VCLNAME. The outputs describe its header, structure, dependencies and events.
| Output | Type | Contents |
|---|---|---|
| VCLDIR_ENTRY | V_VCLDIR | Header |
| VCLSTRUC_TAB | V_VCLSTRUC | Object structure |
| VCLSTDEP_TAB | V_VCLSTDEP | Field dependencies |
| VCLMF_TAB | V_VCLMF | Events |
Handle incomplete or missing definitions
Handle VIEWCLUSTER_NOT_FOUND when the cluster does not exist and INCOMPLETE_VIEWCLUSTER when its definition is inconsistent or incomplete.
Verify the interface and API availability in your target release before using it in custom code. A function module’s existence does not establish availability in every ABAP language version or cloud extensibility context.



