Application Development 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: 

[solved]BAPI change of language (RFC)

Former Member
0 Kudos

Hi,

I call from a WAS (BSP) with RFC in our ERP-System. The RFC-FM contains a simple call of BAPI PARTNER_CHECKPASSWORD.

There are 2 possible languages in BSP. Problem: watever language is selected, the returnmessages from FM are always in german.

So I added a parameter "i_spras" to my RFC-FM and put some codeing in it:

* Sprache setzen
  if not i_spras is initial.
    SET LOCALE LANGUAGE i_spras.
    SET LANGUAGE i_spras.
  endif.

nothing changed: returnmessage is always in german.

Is there a chance to get the messages in english ?

Message was edited by: Martin

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hello ,

did you check the language parameter in the RFC-destination - logon data (SM59).

Regards Wolfgang

2 REPLIES 2

Former Member
0 Kudos

Hello ,

did you check the language parameter in the RFC-destination - logon data (SM59).

Regards Wolfgang

0 Kudos

Ok that was the problem. I cleared the languagefield in SM59 and now it works!

thx!