When using the Logon ActiveX of the SAP GUI I am able to logon as [described here|http://help.sap.com/saphelp_46c/helpdata/en/59/ae4537488f11d189490000e829fbbd/frameset.htm]. An actual Delphi example is below (I have written the same test in C# and run it with the same results).
SAPLogonControl1.ApplicationServer := 'saperp';
SAPLogonControl1.SystemNumber := 0;
SAPLogonControl1.System_ := 'System1';
SAPLogonControl1.Client := '700';
SAPLogonControl1.User := 'rick';
SAPLogonControl1.Password := 'welkom';
//SAPLogonControl1.Password := 'wu03B5lkom';
FConnection := SAPLogonControl1.NewConnection as Connection;
if not FConnection.Logon(0, False) then
FConnection.LastError;
When I use western characters, I can logon. When I use non-western characters like Chinese, I cannot logon. Both the silent logon and the logon with the logon screen provided by the ActiveX control fail.
When I logon manually with the SAP GUI logon just works, unicode characters or not.
How can I logon with all possible Unicode characters using the ActiveX control?
Do I need to change settings using SM59?
Edited by: Rick Beerendonk on Feb 12, 2009 1:41 PM