Wouldn't it be great to add a window to your custom transactions in SAP similar to Purchase Order Create (ME21N)...
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
"Document Overview On"?
It is very easy to add this window and impress your users at the same time.
You can program it in the user command area of your transaction so that it dynamically pops up when the user clicks on a button... the user can easily close it also.
Use this window to show help for your transaction, link to html, ... the possibilites are endless!
This can also be used on transactions that use ABAP custom containers.
DATA: BEGIN OF HELP_HTML_PAGE OCCURS 0. INCLUDE STRUCTURE DOC_ID_STRUCT. DATA: END OF HELP_HTML_PAGE. DATA: f_doc_init TYPE C. MODULE USER_COMMAND_1000 INPUT. CASE FCODE. * Help screen (icon selected from scrn) WHEN 'HELP'. * If the document has not already been selected for display.... IF F_DOC_INIT is initial. * Add the link to your documentation * entered via transaction SE61 * - document class 'general text' * - document name help_html_page-key = 'TX'. help_html_page-id = 'ZSAPMZ_PARTNER_INFO'. APPEND help_html_page. * Display the document CALL FUNCTION 'DOC_DISPLAY_INITIALIZE' EXPORTING REPID = 'SAPMZ_PARTNER_INFO' DYNNR = '1000' TABLES DOC_ID_TAB = help_html_page. CALL FUNCTION 'DOC_DISPLAY_TEXT' EXPORTING DOCKEY = help_html_page-KEY. F_DOC_INIT = 'x'. * If the document has already been * displayed before, simply unhide it * for redisplay ELSE. CALL FUNCTION 'DOC_DISPLAY_UNHIDE'. ENDIF. * to make close button work WHEN OTHERS. CALL METHOD cl_gui_cfw=>dispatch.