cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Screen Persona WebRFC Failed when called in Russian Logon works ok in EN

Former Member
0 Kudos

Hi,

I have used webrfc to get description of G/L Account & Cost center for ME54N Transaction code.

My flavor when executed in English EN Logon work ok , However when executed in Russian Logon webRFC fails.

Below is Debug Log for RU Logon when it fails and show issue..

/10/2014 16:51:57,718 DEBUG Sap.Imagineering.Personas.Common.Utils.HttpWebRequestExtension->GetResponse - Synchronized GetResponse called for url http://XZY:8000/sap/bc/webrfc?_FUNCTION=ZFM_GETGL_CC&_GL=712002&_CC=5010103009 VM994:1

21/10/2014 16:52:01,962 DEBUG Sap.Imagineering.Personas.Common.Utils.HttpWebRequestExtension->GetResponseAsString - GetResponseAsString called. VM995:1

  1. 21/10/2014 16:52:01,967 ERROR Sap.Imagineering.Personas.Base.Controller.<>c__DisplayClass1d-><Execute>b__1a - Calling the given WebRFC failed. Sap.Imagineering.Personas.Base.Controller.Script.Exceptions.ExecuteScriptException: Calling the given WebRFC failed. at Sap.Imagineering.Personas.Base.Controller.Script.Expressions.Actions.CallWebRfcAction.Evaluate(ScriptContext context) at Sap.Imagineering.Personas.Base.Controller.Script.Expressions.BlockExpression.Evaluate(ScriptContext context) at Sap.Imagineering.Personas.Base.Controller.Script.ScriptEngine.Execute() at Sap.Imagineering.Personas.Base.Controller.UISession.<>c__DisplayClass1d.<Execute>b__1a() VM996:1
    1. (anonymous function)VM996:1

21/10/2014 16:52:02,007 DEBUG Sap.Imagineering.Personas.ItsConnector.Connector->PostXmlBatch -


JSON Response is as listed below.


{"results": [ {"key": "GLD", "value": "Затраты на шины"},{"key": "CCD", "value": "JG M2 СЕРВИС"} ]}


Anything wrong with JSON in RU Logon to Parse ? it works ok in EN Logon without any message.


Regards,

Rakesh Mourya.


Accepted Solutions (0)

Answers (3)

Answers (3)

tamas_hoznek
Product and Topic Expert
Product and Topic Expert
0 Kudos

Please refer to this discussion thread about correct handling of special characters in webRFC,

Carifaine
Active Participant
0 Kudos

For SAP Screen Personas 2.0 there was a restriction -> It only supports DE and EN as languages. I assume it's because of the code page with different languages, though i don't know the exact reason. Maybe this restriction still exists for 3.0? Couldn't find any proof in my quick search.

Former Member
0 Kudos

You can always use JSONLint - The JSON Validator. to validate your json