- Alois Schindecker
- PowerBuilder
- Friday, 16 February 2024 10:40 AM UTC
Hi!
I've some problems with SAP functions call in 64 Bit SAP Gui. I must make a 32 Bit Application, because we have other interfaces in this application and they are only available in 32 Bit.
Now the problem is our company has rollout the 64 bit SAP and have a SAP functions call. How can I call this with a 64 Bit SAP GUI client?
/* my code */
private oleobject sapconnection;
oleobject sapobject;
ole_sap = CREATE OLEObject
ole_sap.ConnectToNewObject("sap.functions");
sapobject = ole_sap;
sapconnection = sapobject.connection;
sapconnection.Client = this.is_sapclient;
sapconnection.User = ls_sapuser;
sapconnection.password = "xxxxxxx
sapconnection.Language = this.is_sapsprache;
sapconnection.ApplicationServer = "xxxx
sapconnection.SystemNumber = xx
sapconnection.System = "Q10";
sapconnection.logon(0,True);
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.