2009 Apr 23 7:44 PM
In future, please use a meaningful subject for your questions
Hi all,
my client needs to have two types of helps in SAP GUI. The first one is standard help functionality accessible via F1 button or via Help item in system menu. The second level help should be accessible through for example SHIFT+F1 button and after this command SAP should display context sensitive content located at some URL address. What do you think experts, is this ever possible?
If yes, can you give me some ideas or hints? I don't defend from modification of standard SAP but I don't know how standard SAP's help is implemented? So, ... ideas?
Thank you in advance.
Edited by: Matt on Apr 24, 2009 4:31 PM
In future, please use a meaningful subject for your questions
Hi all,
my client needs to have two types of helps in SAP GUI. The first one is standard help functionality accessible via F1 button or via Help item in system menu. The second level help should be accessible through for example SHIFT+F1 button and after this command SAP should display context sensitive content located at some URL address. What do you think experts, is this ever possible?
If yes, can you give me some ideas or hints? I don't defend from modification of standard SAP but I don't know how standard SAP's help is implemented? So, ... ideas?
Thank you in advance.
Edited by: Matt on Apr 24, 2009 4:31 PM
2009 Apr 23 7:58 PM
On user command you need to write a code some thing like this:
*DATA: path TYPE string.
*
*CONCATENATE 'http://www.google.com/search?source=ig&hl=en&rlz=&=&q=' 'sap+abap' '&btnG=Google+Search&aq=f&oq='
* INTO path.
*
*CALL METHOD cl_gui_frontend_services=>execute
* EXPORTING
* document = path
** application =
** parameter =
** default_directory =
** maximized =
** minimized =
** synchronous =
** operation = 'OPEN'
* EXCEPTIONS
* cntl_error = 1
* error_no_gui = 2
* bad_parameter = 3
* file_not_found = 4
* path_not_found = 5
* file_extension_unknown = 6
* error_execute_failed = 7
* synchronous_failed = 8
* not_supported_by_gui = 9
* OTHERS = 10.
*IF sy-subrc <> 0.
** MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
** WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
*ENDIF.this will open the path in IE
2009 Apr 23 8:09 PM
Yes, this is what I know ... I need something else.
I need to have active shortcut SHIFTF1 in all existing transactions, similary like F1 shortcut is active. When you press F1 standard help displays. When user press SHIFTF1 my help displays ... how to do this?
2009 Apr 23 8:51 PM
Hello
I suspect that this is not exactly what you had in mind but this is what we have done.
We use a third party tool (RWD Infopak) to develp custom help for our company.
Part of the installtion of that product includes a modification to a FM help_start which adds an option to
the SAP toolbar Help menu for our own custom help. When a user selects that option the RWD code
is called and the relevant context sensitive custom help file is displayed in a browser window.
You probably do not have to use RWD to implement a solution like this. You could make a similar mod
to FM help_start and read some kind of directory that points to the relevant help file and then calls the browser to display it.
Regards
Greg Kern.
2009 Apr 23 9:09 PM
Thank you Greg, finally sensible and useful answer yes, this could be a way to go ... This FM works fine with dynpros ... but, this FM is not called from all transactions, for example, if you start se38 and open some program and press F1 on some keyword, this FM is not used ... do you know which FM is used in this case? Does this solve your tool?
Thanks again.
2009 Apr 24 3:26 PM
Hello
I just executed se38 in our system(ECC6), opened one of my programs, entered /h and then
hit f1 on a keyword. The debugger took me directly to FM help_start.
Are you talking about something different?
Regards
Greg Kern
2009 Apr 24 3:31 PM
In future, please use a meaningful subject for your questions
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |