cancel
Showing results for 
Search instead for 
Did you mean: 

User session closed after timeout error when calling a external window

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member218672
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hallo,

See this forum [|]