SQL Server administration and T-SQL development, Web Programming with ASP.NET, HTML5 and Javascript, Windows Phone 8 app development, SAP Smartforms and ABAP Programming, Windows 7, Visual Studio and MS Office software
Development resources, articles, tutorials, code samples, tools and downloads for SAP HANA and ABAP, HANA Database, SQLScript, SAP UI5, Screen Personas, Web Dynpro, Workflow

Display ABAP Data Dictionary Information using Function Module


ABAP programmers use SE11 SAP transaction code to display all information about an ABAP Data Dictionary object like a table field, data element or a domain. Is is possible to launch the SE11 transaction screen for a table like VBAK, VBRK or a field of a table like VBAK-VBELN etc by using ABAP function module RS_DD_DEF_SHOW to display definition of related ABAP DDIC object.


ABAP programmers can use following function module RS_DD_DEF_SHOW in their SAP custom development codes by modifying import and export parameters. In this tutorial, I preferred to use individual display of the result, but it is possible for ABAP developer to display all results in a list, too.

call function 'RS_DD_DEF_SHOW'
exporting
* FNAME = ' ' " Field name, if field display wanted
objname = pp_tab " DD object name
show_type = 'L' " L- field list display, F- individual field display
* MONITOR_ACTIVATE = 'X'
exceptions
object_not_found = 1
object_not_specified = 2
permission_failure = 3
others = 99.
Code

Here is a sample case to test ABAP function module RS_DD_DEF_SHOW by displaying DDIC properties of SAP table VBAK

display DDIC object on SE11 tcode screen using function module in ABAP

ABAP developers can see that the output of this function module is just the SE11 Data Dictionary screen when I try to display details of SAP VBAK table.

DDIC definition screen in ABAP with function module

To display Data Element details for a specific DDIC object, for example VBELN, ABAP function module could be used with following parameters

ABAP Data Dictionary object details

And the following ABAP function module output is as follows

SE11 Data Dictionary object definition screen in SAP



SAP HANA and ABAP

Install SAP Free
CRM Companies List
Web Based CRM Software


Copyright © 2004 - 2021 Eralper YILMAZ. All rights reserved.