Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Session timed out problem

Former Member
0 Likes
850

Hello,

I am executing a module pool program on web browser using a web dynpro code.

In module pool program, I am autorefreshing the main screen to show the timer & its working fine on R/3.

But while execution on browser, it is showing some error saying :-

400 Session timed out - please log in again

Error: -11

Version: 7200

Component: ICM

Date/Time: Tue Jan 21 08:01:03 2014

Module: icxxthr.c

Line: 2985

Server: WSAPECCIDES03_S21_00

Error Tag: {-}

Detail: Session does not exist

Please help to solve this issue.

thanks

Sandeep Bhati

6 REPLIES 6
Read only

Former Member
0 Likes
811

Hi Sandeep,

                    I wonder how you are running a module pool program in Webdynpro environment, Are you trying to say that you want to achieve the same output as in Module pool using Webdynpro?..  can you please share the scenario and explain us when you are getting this error.

Regards,

Santhosh Yadav

Read only

0 Likes
811

Hello Santosh,

i have created a button in web dynpro & in its action i have write this code to run the R/3 :-

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

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.

   lo_api_component    = wd_comp_controller->wd_get_api( ).

   lo_window_manager = lo_api_component->get_window_manager( ).

   lo_window               =

   lo_window_manager->create_external_window(

  url = 'http://<domain_name>:<Port_number>/sap/bc/gui/sap/its/webgui/!?~sap-client=800&sap-user=*******&sap-password=*********&~transaction=my_transactio_name'

   use_post      = abap_true

   ).

   lo_window->open( ).

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

It is showing this error because main screen of my application is refreshing after each second to show the timer.

Yes i need the same scenario.

do u have some solution ?

thanks

Sandeep Bhati

Read only

GirieshM
Active Contributor
0 Likes
811

Hi Sandeep,

1. Check with Basis guy is there any possibility to increse the time.

2. Check the site: http://scn.sap.com/docs/DOC-46962.

3. I think it is already raised in forum in Web Dynpro section. Please search once.

Hope it might help.

With Regards,

Giriesh M

Read only

Former Member
0 Likes
811

Hi Giriesh,

Your Solution is fine to increase the session time But for this scenario, there might be some other issue.

Do you have any other suggestion/solution ?

Thank you 

Read only

GirieshM
Active Contributor
0 Likes
811

Hi Sandeep,

If I would have any other workaround I would prefer you in the previous post itself.

You might get help if you move the thread to Web Dynpro Discussion.

Check this link, the experts have given suggestions. It might help you : http://scn.sap.com/thread/1007597

With Regards,

Giriesh M

Read only

Former Member
0 Likes
811

Hi,

Giriesh is right : if you need a timer and showing it in web dynpro then you need to do it in web dynpro. There is a timer tool in Web dynpro that you could use.

Anyway if the only reason you need a timer is to show elapsed time in a window you should use an external (java script) tool as well.