Skip to Content
author's profile photo Former Member
Former Member

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

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.


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 22, 2015 at 12:28 PM

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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 22, 2015 at 02:12 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 23, 2015 at 06:15 AM

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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.