Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Remove icon from popup window or alternative solution

0 Kudos
393

Hello Team,

I want to remove this icon from pop window some other function module same functionality or please suggest some different way out with proper code.

6 REPLIES 6

matt
Active Contributor
306

So you're trying to add 2 factor authorisation. You can't do it that way Here are some suggestions from 9 years ago. I'm sure things have moved on a bit since then, but it should get you started.

https://answers.sap.com/questions/10673313/two-factor-authentication-for-sap-gui.html

0 Kudos
306

Nope not useful I need some other alternative as we have already implemented this

Sandra_Rossi
Active Contributor
0 Kudos
306

I looked at all kinds of SAP GUI dialogs, I don't think you can remove it.

Now, as it's specific to a window displayed right after the login page, I have these thoughts:

  • Better ask SAP Support or SAP Consulting.
  • Another workaround is maybe to change the standard when the new mode opens, if your custom "2FA" dialog is still open somewhere, run SYST_LOGOFF.
  • Otherwise call a home-made synchronous Windows dialog via cl_gui_frontend_services=>execute ... synchronous = 'X'.
  • Setting temporarily the maximum number of external sessions to 1 is of course not a valid workaround.
  • You must also forbid the equivalent SAP GUI Shortcuts like /O and so on, otherwise the use would drag and drop it on the dialog.
  • Think about /H. I guess that maybe debug-authorized people on production systems may be considered as trustworthy.

NB: as Matthew suggested, I thought it was something clear to everyone that companies should trust only well-established software security companies, not develop custom solutions. Of course, I understand that your code is located behind user and password, but again be very careful to not permit anybody to break security or access private/confidential information, and not negotiable you should ask a security company to check what you have developed.

0 Kudos
306

Hello Sandra,

Thanks for help..!!

I have completed this task by doing enhancement in standard code by using implict and custom code and its working

matt
Active Contributor
306

You have managed it? I'm very surprised. Can you share what you did?

I second what Sandra said - get a security company to check that your solution is secure. You need to be very very sure that you've not left any exploitable holes.

0 Kudos
306

Future visitors and I would be interested to know too. Thanks!