on 05-29-2012 5:41 PM
Hello Experts,
How Do I When "Call Transaction", the opened in new SAP GUI Transaction set it to be opened in MAXIMIZED window
even if the SAP GUI window is not MAXIMIZED
Thanks
Dear Jamil,
please try below code in any of the event:
DATA: l_shortcut TYPE string,
lx_shortcut TYPE xstring.
CALL FUNCTION 'SWN_CREATE_SHORTCUT'
EXPORTING
i_transaction = 'SE11'
i_sysid = sy-sysid
i_client = sy-mandt
i_user = sy-uname
i_language = sy-langu
i_windowsize = 'Maximized' "#EC NOTEXT
CALL METHOD cl_http_utility=>if_http_utility~encode_utf8
EXPORTING
unencoded = l_shortcut
RECEIVING
encoded = lx_shortcut
EXCEPTIONS
OTHERS = 1
.
CALL METHOD cl_wd_runtime_services=>attach_file_to_response
EXPORTING
i_filename = 'open_ta.sap'
i_content = lx_shortcut
i_mime_type = 'application/x-sapshortcut'
i_in_new_window = abap_false.
it will call the T- code from Web dynpro.
Regards,
Manigandan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.