cancel
Showing results for 
Search instead for 
Did you mean: 

How to determine whether it has been connected to SAP or not via VBA

hugoh1
Member
0 Kudos

HI everybody,

This is my first post.

I've used script recording to generate a VBA code to control and getting some Information from some T-code .

When SAP is already connected , there are some problem with this code. The VBA program would be interrupted.

Is there a way using VBA to to determine whether it has been connected to SAP ? If it is connected, continue down .If it is not connected, then reconnect to SAP

Thank you in advance.

Accepted Solutions (0)

Answers (0)