on 01-15-2009 9:07 PM
Hi,
I have an ASP page using Server.CreateObject("SAP.Functions") to connect to SAP ecc 6.0. Does anyone know whether the wdtfuncs.ocx supports unicode? The result i got back from SAP shows English contents correctly but not Cyrillic character. Source code is something like this
Set oSAP = Server.CreateObject("SAP.Functions")
Set oConn = oSAP.Connection
oConn.User = sUID
oConn.Password = sPWD
oConn.Language = "EN"
oConn.Destination = sServer
oConn.Client = iClient
oConn.GroupName = sServer
oConn.MessageServer = sMessageServer
oConn.codepage = "4110"
oConn.Logon 0, True
Set oRFC = oSAP.Add(SAPFunctionModueName)
Set oParam = oRFC.Exports(ParameterName)
oParam.Value = ParameterValue
Set oOut = oRFC.Tables(SAPoutputTableName)
oRFC.Call
The SAP .net connector works well, but in this case i have to use the .ocx file trying to avoid rewriting existing application with .net.
Sorry - it's an old thread - didn't notice date.
Edited by: William Lawlor on Apr 1, 2010 3:53 PM
Edited by: William Lawlor on Apr 1, 2010 3:54 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sara,
I would import wdtfuncU.ocx into your .net project as a reference in order to get the unicode version. This should be in the same directory as the wdtfunc.ocx as you are using.
Also even thou you are using code page 4110 in your project you are logging in as english. I would also set your login language to RU or whatever characterset you wish to retrieve.
Regards
Matt
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, the SAP version is 710
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
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.