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 SAP ABAP Programming and HANA Database Tutorials
Development resources, articles, tutorials, code samples and tools and downloads for ASP.Net, SQL Server, R Script, Windows, Windows Phone, AWS, SAP HANA and ABAP, like SAP UI5, Screen Personas, etc.




Install SAP Free


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.

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 Tutorials

SAP Tutorial

SAP Forums

SAP Tools

SAP Transaction Codes Table


Meetup Sunumu 1 meetup






Copyright © 2004 - 2019 Eralper YILMAZ. All rights reserved.
Community Server by Telligent Systems