cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to set timeout for each level in MII?

Former Member
0 Likes
1,577

Dears,

I Created a html link in MII Navigation. The html includes applet which with QueryTemplate (XacuteQuery) and DisplayTemplate (iGrid).

The XacuteQuery with a transaction which with SqlQuery action and also calling another transaction in Repeater.

The level is as:

html -> XacuteQuery (iGrid) -> Transaction -> Repeater -> SqlQuery

But since the transaction needs to execute long time. The timeout may happen in each level.

Is there any timeout setting in each level such as MII Workbench, Transaction, XacuteQuery, SqlQuery etc?

I want to extend the default timeout setting to avoid error happen.

I may happen in MII Workbench that "NO_RESULT \[org.xml.sax.SAXParseException: Open quote is expected for attribute "" associated with an element type "width".\]"

Let me know if any idea.

Thanks!

Edited by: Ivan_liu_tw on May 31, 2011 2:18 PM

Edited by: Ivan_liu_tw on May 31, 2011 2:20 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Hi Ivan,

You can set timeout in transcation or you can delay execution time in transcation using transcation prperties.

Thanks,

Ramesh

Former Member
0 Likes

HI Ramesh,

Thanks for your information.

Can you describe more detail step? I don't know how to set timeout in transcation or delay execution time in transcation using transcation prperties.

I did not see this kind of property in Transaction. and how about the other level?

Thanks!

Former Member
0 Likes

Hi,

You can use Pause Action block. It stops(delays the execution of transaction) the transaction for the specified number of miliseconds again it resumes after completeting the speccified delay time.

-Suresh Hiremath

Former Member
0 Likes

Hi,

You misunderstand my purpose.

The transaction seems executing timeout happen if it take long time to execute.

Since my case may take long time executing, I would like to extend each level's time out setting to avoid timeout error occur.

Thanks.

Former Member
0 Likes

Hi,

You have timeout setting in SQL_query action block when you configure it

Have you tried setting async= 1 in link editor of the transaction call action block? If you set this flag, then the called transaction will be run as a separate thread.

Thanks,

Musarrat

Former Member
0 Likes

Hi,

I don't think I should set calling another transaction asynchronous, since I need to get another transaction's output in order to continue to execute the current transaction.

Thanks!

Former Member
0 Likes

Hi Ivan,

Sorry i was bit busy.

I m not sure about your transcation logic.Can you set time out property in both transcations so it may resolve your problem or can you handle it from javascript to send some aditional parameters.

Thanks,

Ramesh

Former Member

HI,

Can you describe more about how to set Transaction time out property? I did not see this kind of transaction property.

I only see below 2 time out setting in MII Workbench menu->Help->Settings

Connection Timeout

Read Timeout

But I'm not sure what it for.

Thanks!

Former Member
0 Likes

Hi Ivan,

I think Pause action will slove your problem.it will delay your execution time for specified amount of time then it will execute your transaction.

http://help.sap.com/saphelp_mii122/helpdata/en/44/685b0e8157311fe10000000a155369/content.htm

Thanks,

Ramesh

Former Member
0 Likes

Hi Ramesh,

Thank you for your information.

But I don't understand why use Pause action can solve my problem.

Maybe you misunderstand my problem or please describe your opinion more detail.

My problem is for example,

I execute a XacuteQuery XQ1 in MII, XQ1 will use Transaction T1. But because T1 takes long time to complete the execution.(more than 10 minutes)

After around 10 minutes, MII return an error, but I can see the Transaction T1 is still running in MII Transaction Manager. And then I can find T1 complete the execution successfully after 25 minutes.

That why I think it's a timeout error and I'm trying to find a way to extend the MII default timeout setting.

If I use Pause action, it just make my transaction's execution time become longer.

Thank you.

Former Member
0 Likes

Hi Ivan,

I faced the same issue today.

The Connection was terminating after 10 minutes but the transaction was still running for 20 minutes.

There was just a single BAPI call in the transaction

I tried to execute the transaction from url and i got connection time out error

 500 Connection timed out


--------------------------------------------------------------------------------
Error: -5 
Version: 7011 
Component: ICM 
Date/Time: Mon Jun 13 15:10:22 2011  
Module: icxxthr_mt.c 
Line: 4184 
Server: tremiidev_DMI_00 
Error Tag: {-} 
Detail: Connection to partner timed out after 600s 

 
 © 2001-2009, SAP AG  

I guess we have to change connection time out in netweaver.

Former Member
0 Likes

Hi,

Thank you for your information.

Did you find the way to resolve it?

How to set Netweaver timeout setting?

Thanks!

Former Member
0 Likes

Chech the following [Link|http://wiki.sdn.sap.com/wiki/display/JSTSG/%28JSTSG%29%28Web%29Problems-P102]

Former Member

Hi Anshul,

After I added the it to profile as below, the timeout didn't happen.

icm/server_port_0 = PROT=HTTP, PORT=5$(SAPSYSTEM)00, TIMEOUT=3600

Thank you very much!

Answers (0)