on 12-02-2010 7:56 AM
hey ,
im running WDA in sap gui . ( via transaction ) .
when i process the transaction for the first time i get a dump with error message 500 CONNECTION TIME OUT.
after reviewing sap help and other posts in sdn i saw its possible to pass the parameters "timeout" and
keep alive dynamically.
http://help.sap.com/saphelp_nw72/helpdata/en/48/3d14a3b08c72d1e10000000a42189c/content.htm
can anyone please post sample code ?
i want to reestablish connection every time the WDA is about to exceed the paramters limits .
best regards ,
ASA.
Not sure what your WDA does that makes it so slow, but you can use COMMIT WORK as a dirty trick to reset the timer to prevent your application from timing out. If and where you want to use it, is up to you.
Hope this helps!
Cheers, Roel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can increase the ICM timeout value through Profile parameters. Steps ton increase the parameter is:
1. Tcode RZ10
2. Menu- Goto-> Profile Values-> Of a server
3. Ctrl+F-> give timeout as the search term
4. You will find the ICM timeout parameter in the list
5. Copy paste the exact paramter name.
6. Come bac to RZ 10, Select instance profile, Extended maintainence option.
7. New parameter option. Give the copied paramter value here. Next line specify the value you want to maintain. Default is 60s. You can increase to ex:600s.
8. Save and restart the system.
Hope this helps.
Rgds,
Soujanya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi ,
i want to change it dynamically only within my WDA.
according to ours system team the parameter is set for every client and its not recommended to increase the value
for all the WDA.
what is the meaning of instance profile definition - can i obtain this definition in reference to my WDA and it will
not effect other WDA ?
tnx ,
ASA.
************
p/s - thomas this problem posted again and again without solution.
can you only mention if its possible or not ?
No you can not change the ICM parameter dynmamically. It must be changed in the instance profile and the ICM restarted. Also this parameter value effects all SICF nodes (Web Dynpro, BSP, ITS, custom handlers, and web services). You can set the timeout within transaction SICF for a single node, but you are only allowed to set a lower timeout not a longer one.
Instead of running the BDC directly within the processing of the Web Dynpro, you should consider spawning it as a separate task. Either use CALL FUNCTION ... STARTING NEW TASK or submit the action as a background job. This will free the work process that is running the Web Dynpro UI and run the BDC itself in a separate work process. It might require some wrapper code around the BDC to record its status and output into a temporary table. You could then use the timedTrigger (or in 7.02 the Notification Service) to check on the running status of the BDC periodically.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hey thomas ,
i didnt mentioned it but i'm using RFC ( tried with/without starting new task ) to run the BDC and still i get the connection time out .
the RFC is called several times and each time i'm getting the time stamp before and after the call function and any way use COMMIT WORK after the BDC run .
what is the trigger to the time out ? why using "dirty tricks" and try to go around the problem ?>
i found in protal forum some post that it is possible to dynamic increment of timeout value :
/message/9766695#9766695 [original link is broken]
can you elaborate on this solution ?
many thanks ;
ASA
>the RFC is called several times and each time i'm getting the time stamp before and after the call function and any way use COMMIT WORK after the BDC run .
The commit work isn't going to help. The problem is that the dialog work process that the WDA is running within doesn't respond back to the ICM soon enough and the ICM closes the connection to the client. You need to free the WDA work process and end the phase model. Running the individual BDCs via RFC won't help if the WDA event handler is still waiting for the completion of the loopo of BDC calls. You would need to move the entire processing loop into background processing instead. The key here is to end the processing loop within the WDA event handler so that control can return to the browser.
>> You would need to move the entire processing loop into background processing instead. The key here is to end the processing loop within the WDA event handler so that control can return to the browser. <<
hey ,
if i enable the RFC ( that includes the BDC ) in background mode it dosn't works well -
my BDC suppose to go through some screens and in the end export to memory a value that depends on the BDC run .
in background mode it dosnt get to the part that i export to memory .
can you elaborate on how to process this part in background mode ?
any how ;
why i cant pass this parameters dynamicly as mentioned in the above help ?
many thanks .
ASA.
Edited by: ASA MOKED on Dec 16, 2010 6:24 PM
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.