cancel
Showing results for 
Search instead for 
Did you mean: 

Connect to EPM - SAP BPC

Former Member

Hi,

I want to know if I am connecto to EMP with VBA?

I dont want to execute part of code if I am disconnecting of EPM.

Any suggestion?

Regards

RTS

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member186338
Active Contributor

Please read help: 42.5.2.3 GetConnectionStatus

Vadim

former_member523998
Participant
0 Kudos

There's very little in the GetConnectionStatus documentation. As far as I can tell, this returns an integer of one when connected (Even if timed out), and throws a VBA error if not connected (which is of little value considering that's what all the other API's do too). Maybe I'm missing something?!?

former_member186338
Active Contributor
0 Kudos

steve.rider

Unfortunately, GetConnectionStatus is not working - wrong result on timeout!

And I was not able to find EPM API to check that timeout happened 😞