cancel
Showing results for 
Search instead for 
Did you mean: 

Unicode ActiveX logon impossible? (SM59 needed?)

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

rejish_balakrishnan
Contributor
0 Kudos

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)

Former Member
0 Kudos

Thank you for your reply.

Problem is that I don't know the codepage that the user needs. I just use the UTF-16 Little Endian SAP code page 4103. Is there a reason that this one doesn't work?

rejish_balakrishnan
Contributor
0 Kudos

hi ,

Try with codepage 4105 .

Former Member
0 Kudos

Unfortunately setting the codepage to 4105, 8300 or 8400 doesn't enable my Chinese user to logon.

Maybe I must change some settings inside SAP?

rejish_balakrishnan
Contributor
0 Kudos

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