Age: 160 Joined: 04 Oct 2007 Posts: 1218 Location: Санкт-Петербург
Posted: Sat Nov 29, 2008 4:03 pm Post subject: Display of the report documentation on any screen
Coding example: often, the report documentation not only on the selection screen. Within a ALVs example, is in default only the documentation of the ALVs displayed. So show the report documentation on any screen.
Code:
* The UI gets its own / modified GUI status'0100 '
* This ethalt a function key 'HLP':
* Function code HLP
* Function_type application function
* Use Text Application Help
* Name icon ICON_INFORMATION
* Text icon
* Info text Help
* Direct dialing
*&---------------------------------------------------------------------*
*& Module USER_COMMAND_0100 INPUT
*&---------------------------------------------------------------------*
MODULE user_command_0100 INPUT.
g_ok_code = sy-ucomm.
CASE g_ok_code.
when 'HLP'.
* Programmdokumentation anzeigen
perform doku_anzeigen.
WHEN OTHERS.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
Code:
*&---------------------------------------------------------------------*
*& Form doku_anzeigen
*&---------------------------------------------------------------------*
FORM doku_anzeigen.
* Ad Program documentation
* The course can be even without programming effort from the menu
* About "system" -> "Application Help" display, but so
* One has the same print button in the status bar like in a
* Report normal.
DATA:
l_help_infos TYPE help_info,
lt_dynpselect TYPE TABLE OF dselc WITH HEADER LINE,
lt_dynpvaluetab TYPE TABLE OF dval WITH HEADER LINE.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG. SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG. Every effort is made to ensure content integrity. Use information on this site at your own risk.