cancel
Showing results for 
Search instead for 
Did you mean: 

Timeout in VBA

Former Member
0 Kudos

Hi Experts!

I call BAPIs from Excel via VBA. I just wonder if it is possible to set a connection timeout - maybe in connection object or anywhere else. Or does anyone know another workaround?

Thanks for any help!

sap123!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

The BAPI calls from Excel use RFCs (Remote Function Calls) towards the SAP system.

To prevent timeouts you have to ask the basis administrators of your SAP system to set time out parameters for RFC on the SAP server and also the maximum runtime for the SAP workprocesses.

The basis SAP guys should know these parameters.

It can not be done in the connection object at the client side, it has to be done on the server SAP side.

Success.

Wim

Former Member
0 Kudos

Hi Wim!

Thanks a lot for the answer.

Very sad - i just wonder if there is a workaraound (maybe via Timer or Threading or something else...).

Frank

Former Member
0 Kudos

Hi again!

Could you tell me which parameter to set? I have access to an IDES system so i can try on my own...

Frank