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 SAP Documentation using bmenu_show_documentation ABAP Function Module


ABAP bmenu_show_documentation can be used for retrieving help documentation and showing SAP documentation for an SAP transaction code.
ABAP developers can use bmenu_show_documentation function module in order to retrieve SAP documentation for help on SAP transaction codes given as an argument to the ABAP function module.

There is a list of SAP function modules that can be used for similar purposes.

Here is a short list of help documentation classes and function modules for ABAP developers and SAP users :
BMENU_SHOW_DOCUMENTATION
RSPC_SHOW_DOCUMENTATION
SRTU1_GET_REPORT_DOCUMENTATION
SWF_DOCUMENTATION_DISPLAY
Function group SDOC with DOCU_READ and DOCU_GET





The below sample ABAP code using BMENU_SHOW_DOCUMENTATION function module starts the browser, displays SAP Library in the SAP Help browser.
The user is directed to the SAP Help documentation related with the TCODE (transaction code) given as input argument to the bmenu_show_documentation ABAP function module.

REPORT zshowdocumentation.

DATA l_tcode TYPE tcode.
l_tcode = 'VA01'.

CALL FUNCTION 'BMENU_SHOW_DOCUMENTATION'
  EXPORTING
    tcode = l_tcode
  EXCEPTIONS
    no_documentation_found = 1
    others = 2.
Code

In the above ABAP code sample, the current transaction is given as VA01 - Create Sales Order.
And the Creating Sales Orders help documentation is displayed on the SAP documentation after the execution of the above ABAP program.



SAP HANA and ABAP

Install SAP Free
CRM Companies List
Web Based CRM Software


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