cancel
Showing results for 
Search instead for 
Did you mean: 

extended notifications - SAP screen opens in little format

Former Member
0 Kudos

Hi all,

we're using extended notifications to warn users that they have unprocessed items in their workflow inbox, with a link in the mail to execute the workitem.

Whenever a user clicks on the link, SAP asks for the password, and it opens, but with a very little screen. Is it possible that the screen which opens is in full format ?

thnx in advance !

Accepted Solutions (1)

Accepted Solutions (1)

martin_nooteboom
Active Contributor
0 Kudos

Hi Björn,

I don't know if you can influence it in the extended notifications, but in the shortcut there is an option to set the screen size. So maybe there is an option somewhere.

Regards,

Martin

Former Member
0 Kudos

yeah, Martin, that's been a requirement from a customer, which I have solved by copying the RSWUWFML2 and set that option on the parameter for the function call that creates the shortcut (there are two of them in the coding).

BR Florin

P.S.: Still that window is somewhat opened in background (behind a current window). This <i>cannot</i> be solved.

Message was edited by:

Florin Wach

P.P.S.: Here's some excerpt from that coding



*** Data field   window_size  is defined as follow
DATA: window_size   TYPE CHAR40.
*** and filled with a drop down box using these values:
         REFRESH: vrm_values.
         vrm_value-key  = 'N'.
         vrm_value-text = 'Normal window'(901).
         APPEND vrm_value TO vrm_values.

         vrm_value-key  = 'M'.
         vrm_value-text = 'Maximized window'(902).
         APPEND vrm_value TO vrm_values.
***Which then is transposed into the following values:
window_size = 'Normal Window'.
window_size = 'Maximized'.

*** Context: FORM create_shortcut_action

*- create the shortcut as table
  CALL FUNCTION 'SWN_CREATE_SHORTCUT'
   EXPORTING
     i_transaction                 = '*RSWNWIEX'        "#EC NOTEXT
*    I_REPORT                      =
*    I_SYSTEM_COMMAND              =
     i_parameter                   = l_param
     i_saplogon_id                 = l_logon_id
     i_sysid                       = sy-sysid
*    I_GUIPARM                     =
     i_user                        = p_user
     i_language                    = p_langu
     i_windowsize                  = window_size        "#EC NOTEXT
*    I_TITLE                       =
     i_custom                      = l_scrap
   IMPORTING
     shortcut_table                = pt_attach
*    SHORTCUT_STRING               =
   EXCEPTIONS
*    INCONSISTENT_PARAMETERS       = 1
     OTHERS                        = 1.

  IF sy-subrc <> 0.
    REFRESH pt_attach.
    EXIT.
  ENDIF.

*** Same thing on form FORM create_shortcut_inbox

Message was edited by:

Florin Wach

Message was edited by:

Florin Wach

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Martin and Florin,

Due to client demand, we changed from extended notifications to the report rswuwfml2. I adapted the original code to open the shortcut in full screen...