Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Default Web Service Logon Language

himanshu_mittal
Explorer
0 Likes
1,828

Hello Everyone,

I made a webservice in SAP which is used to Create Customer in SAP.

However, due to some missing parameters, it is returning errors.

Errors are in German and I want that errors should be returned in English.

Language depends on the logon language and Web Service is taking default language as German.

I, however passed 'sap-language=EN' as a parameter too in the Web Service, but still the system is returning errors in German.

Can you please me what am I doing wrong or is there any alternate method which can help us achieve the error return in ENGLISH.

Hello Everyone,

I made a webservice in SAP which is used to Create Customer in SAP.

However, due to some missing parameters, it is returning errors.

Errors are in German and I want that errors should be returned in English.

Language depends on the logon language and Web Service is taking default language as German.

I, however passed 'sap-language=EN' as a parameter too in the Web Service, but still the system is returning errors in German.

Can you please me what am I doing wrong or is there any alternate method which can help us achieve the error return in ENGLISH.

6 REPLIES 6
Read only

Former Member
0 Likes
1,344

Are you using a specific user to log-in to SAP when you call the service?

Read only

0 Likes
1,344

Yes, I am using a specific SAP user to log-in

Read only

0 Likes
1,344

Can you check in transaction SU01 what default language is assigned to the user?

Also, I'd suggest you debug the service call in SAP to see just what is happening, as that will also help you figure out the error messages.

Cheers

G.

Read only

0 Likes
1,344

EN is assigned

I can translate the messages using Google Translate and proceed further, but we want it should directly be in English

Read only

0 Likes
1,344

Can you debug the web service call inside your SAP system, to see what user is being used and the language assigned?

Also, is the web service passing custom or standard messages back out?

Read only

0 Likes
1,344

When I debugged the web service through SAP system, I had logged in with language = 'EN', so the errors were coming in english

However, when the web service is hit directly, the errors come up in German Language.

So, by default the web service is taking the Login Language as 'De'