cancel
Showing results for 
Search instead for 
Did you mean: 

SAPGUI 8 64-bit PL 7: Scripting not working any more

thomas_mller13
Participant
0 Kudos

Since PL 7 the scripting for SAPGUI 8, 64-bit does not work any more. Sessions are not found any more:

thomas_mller13_0-1715172222883.png

The parameters are correct:

thomas_mller13_1-1715172258150.png

With PL 6 there is no problem. Does anybody know anything?

 

thomas_mller13
Participant
0 Kudos

After restarting the client, it worked. Don't know what was the problem.

Sandra_Rossi
Active Contributor
0 Kudos
What are all these unsupported methods? (CreateInstanceROT, GetInstanceSAPGUI, GetConnections, GetSessions, GetCount, ...) Do the test with direct calls to SAP GUI Scripting API. Also check SAP notes / contact SAP support.
Sandra_Rossi
Active Contributor
0 Kudos
I didn't see your yesterday comment, you should post is as an answer and accept it as the solution.

Accepted Solutions (0)

Answers (1)

Answers (1)

thomas_mller13
Participant
0 Kudos

This is the direct call to the API:

//Create IUnknown
CLSID cl = __uuidof(SapROTWr::CSapROTWrapper);
HRESULT hr = ::CoCreateInstance(cl, NULL, CLSCTX_INPROC_SERVER, IID_IUnknown, (void**)&m_pROT);
if (hr != S_OK)
{
this->throwSAPGUIError(SAPGUI_ERROR::ERROR_ROT, _T("ROT Instanz konnte nicht erzeugt werden."));
}

And that was not the question.