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

Webservice logon language

Hi,

I have a problem with webservice generated from RFC enabled function module. The function module returns data depending on logon language (technically, it's comparation of short texts). Therefore I need to be able to influence the language used when consuming a webservice.

When I look at logon data in SICF, there is EN as a language and it can't be changed (message You cannot use transaction SICF to modify this service). I guess this is because of the generation by SOAMANAGER. But in SOAMANAGER I'm unable to find where to change logon language for the service call. Also, when I tested the webservice with soapUI, I tried to provide sap-language=CS parameter and the WSDL URL, but also without success. When debugging the RFC call, I see the sy-langu field is still EN.

Any help is appreciated.

Regards,

Tomas

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 23, 2011 at 07:29 AM

    Solved the issue in a different way. I made the service use user/password authentication. It seems the language is then read from user master record, where I set the default language to CS.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 04, 2015 at 03:15 PM

    Hi,

    You can use ABAP Instruction : SET LANGUAGE to define the language.

    See SAP Documentation : ABAP Keyword Documentation

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 13, 2011 at 04:44 AM
    -1

    Hi,

    By prefixing "?sap-language=DE" in url you can manipulate language (in this case German) used by webservice. In comsumer proxy you cal try to alter RFC destination which is used by Logical Port to use language of your choice.

    Sy-Langu field is EN because you are logged with language EN.

    Regards,

    Gourav

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      as I wrote in my initial post, I already tried to use the sap-language parameter with correct language that is present in the system (I tried CS and DE as well, both do exist in the system). But it doesn't work, when I try external debugging, the language is always set to EN regardless what I pass to WSDL URL in sap-language parameter.

      Regards,

      Tomas

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.