cancel
Showing results for 
Search instead for 
Did you mean: 

Making a feature globally available (across transactions) on SAP GUI

former_member182889
Active Participant
0 Kudos

Dear fellows,

I'd like have a feature to grab the current user's context and post this information to other colleagues.

You can imagine it like the System -> help -> create support message with the difference that - well - no support message should be created but some information about the user's application context (SYST and some more) should be generically captured.

I believe that with Screen Personas this was achievable as well as with a sidepanel in the NWBC.

However, most of our users are still on the good old SAPGUI. Is there any BAdI to extend the global menu bar or the ability to react on a global shortcut?

Thanks for your support!

Oliver

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

If I understood you correctly, you can try "hacking" the Create support message by implementing BAdI SBCOS001.

former_member182889
Active Participant
0 Kudos

Dear Shai,

you understood correctly! The BAdI is indeed nicer than having an implicit enhancement at the beginning of HELP_START Thanks!

However, the BAdI's signature does not allow me to stop further processing of the support message request.

In addition to that, I'd have no other option than opening a browser in order to navigate externally. Any option to inline a browser (except an own scrren with a HTML-control)?

Cheers,

Oliver

Checked signature and usage of BAdI - no option to abort

Former Member
0 Kudos

You may use cl_abap_browser=>show_url.

former_member182889
Active Participant
0 Kudos

cl_abap_browser seems to open a quite limited inlined Internet Explorer (with respect to Javascript).

I am now following the approach described in and provided a custom SAPGUI security configuration so that the Chrome-browser-execution is not being questioned by the popup.

With respect to the trigger for the browser, I'm now using an implicit enhancement at \FU:BCOS_CREATE_MSG\SE:BEGIN\EI

That works as expected now.

Answers (0)