Skip to Content
-1

Switching to other session programmatically

Hi Experts,

I want to switch to other session programmatically.

Is there a way to achive this.

Regards,

Shadab

Add comment
10|10000 characters needed characters exceeded

  • Hi Sandra,

    I want to just get the functionality like Alt+Tab.

    Because I am not having minimize button in modal dailog screen and thaught of goinig with this alternate of navigating to active open session.

    Please correct me if I am wrong.

    Regards,

    Shadab

  • Hi,

    you can add "create new session " button on tab.

  • Hi Arpit,

    In that case if we had open maximum number of seesions(Max 6) than the system throws an error popup(Maximum sessions has been reached) and it will lead to a bad information for the end user.

    Regards,

    Shadab.

  • Get RSS Feed

2 Answers

  • Best Answer
    Jan 10 at 07:48 AM

    What I proposed in the comments (execute Call Screen within aRFC) is not a popup, but a full screen display, so Alt+Tab would work (as if you open a new session and start a transaction).

    You may open an amodal popup, but it can't contain a dynpro, only a GUI control from the Control Framework (for instance: HTML Viewer, ALV Grid) Cf demo program RSDEMO_DIALOGBOX_CONTROL.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Sandra,

      Thanks for the demo program it was helpful.

      Please send me the above solution as an answer(instead of comment) so that I can mark it correct and close the thread.

      Regards,

      Shadab

  • Jan 10 at 06:21 AM

    You can neither switch between SAP GUI windows nor minimize/maximize SAP GUI windows programmatically from ABAP.

    That there is no minimize button on pop-up windows and that those are always on display until closed is a flaw for which I don't know any workaround.

    Add comment
    10|10000 characters needed characters exceeded