2015 Aug 19 10:27 AM
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.
2015 Aug 19 11:07 AM
Are you using a specific user to log-in to SAP when you call the service?
2015 Aug 19 12:00 PM
2015 Aug 19 1:06 PM
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.
2015 Aug 19 1:25 PM
EN is assigned
I can translate the messages using Google Translate and proceed further, but we want it should directly be in English
2015 Aug 19 3:43 PM
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?
2015 Aug 20 11:39 AM
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'
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |