on 02-10-2009 5:07 PM
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
Hi,
Search for the codepage name and number for chinese in scp and provide a value for
FConnection.Codepage := )
eg:
FConnection.Codepage := 1614; //Türkçe (for use of turkey characters)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rick,
I went through some pdf about this font settings and found out that many settings needs to be changed to display non western characters , mainly when configuring with I18N .
[font settings|http://72.14.235.132/search?q=cache:MhwkaO9RPFMJ:https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/405a83e3-0132-2a10-d3ad-a94a604a0469saplogonwithchinesecharacters&hl=en&ct=clnk&cd=1&gl=in]
Look through page 8 to 14 .
Regards ,
Rbk
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.