Skip to Content
avatar image
Former Member

User session closed after timeout error when calling a external window

Hi frnds,

I have created an application A where i have a button 'Print' which calls a SAP Tcode. In order to acheive this i am calling an external window.

The call of external window works when i call it for the first time. But it when i call it for the second time, an error msg is displayed as Error: User session (HTTP/SMTP/..) closed after timeout.

Kindly help me to solve the issue.

This code is written in the Action method for Print.

**************************************************************************************

DATA lo_window_manager TYPE REF TO if_wd_window_manager.

DATA lo_api_component TYPE REF TO if_wd_component.

DATA lo_window TYPE REF TO if_wd_window.

DATA lo_api_window_open TYPE REF TO if_wd_view_controller.

lo_api_window_open = wd_this->wd_get_api( ).

lo_api_component = lo_api_window_open->get_component( ).

lo_window_manager = lo_api_component->get_window_manager( ).

lo_window_manager->create_external_window(

EXPORTING

url = lv_url

RECEIVING

window = lo_window ).

lo_window->open( ).

**************************************************************************************

Thanks,

Suganya

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Dec 23, 2010 at 12:51 PM
    Add comment
    10|10000 characters needed characters exceeded

  • Dec 23, 2010 at 01:13 PM

    Hi Suganya

    check the WAS Profile with transaction rz10 / rz11

    Check parameter- icm/server_port.Try to set the TIMEOUT to f.e. 600. default is - icm/server:port0 PROT=HTTPS, PORT=443, TIMEOUT=300

    And, restart the server.

    check whether it works.

    Regards,

    Sen

    Add comment
    10|10000 characters needed characters exceeded