cancel
Showing results for 
Search instead for 
Did you mean: 

How to set the language for a RFC call ?

Former Member
0 Kudos

Hi,

when calling from BSP (WAS620) to our R3 using RFC the results (units, ...) are always in DE. How do the call to get the results in EN?

Language in RFC Destination/Logon&Security does not have an effect.

thx for your support.

Accepted Solutions (1)

Accepted Solutions (1)

guillaume-hrc
Active Contributor
0 Kudos

Hi,

With which user do you connect to R/3 ?

Did you check his language ?

Best regards,

Guillaume

Former Member
0 Kudos

The logon-language from the rfc-user is DE. I changed this to EN -> does not have an effect.

Regards, martin

guillaume-hrc
Active Contributor
0 Kudos

Martin,

Well, the logon language shuold follow the rules below

http://help.sap.com/saphelp_nw2004s/helpdata/en/85/81033c42663b34e10000000a11402f/content.htm

Best regards,

Guillaume

Former Member
0 Kudos

Hi,

the language in the BSP is not my problem. I use the SICF usersetting to set EN as language. All OTR's, images, etc are in EN. Only the results of the RFC calls are allways in DE (ST[Stueck] instead of PC[Pieces]).

Regards, martin

guillaume-hrc
Active Contributor
0 Kudos

Martin,

I am not sure whether this is a logon problem.

If you run the function module in transaction SE37 then you will get PC because there are some exits associated to it.

When you call it from "outside", then the internal value is returned to the caller.

The same happens when using BAPI from languages like Java or .Net

The material field - in particular - is well-known for this behaviour.

Hope someone else could testify because I haven't crossed the problem myself.

Check this thread for instance:

If you have a doubt, then set an external breakpoint in the remote system for the RFC user. Then, check the content of the <i>sy-langu</i> field.

Best regards,

Guillaume

Message was edited by:

Guillaume GARCIA

Former Member
0 Kudos

Guillaume,

you were right. the sy-langu field was filled correctly all the time.

i found the FM <i>CONVERSION_EXIT_CUNIT_OUTPUT</i> which converts the unit into the correct form (dependent from sy-langu). so my problem is solved!

thx for your support Guillaume!

Answers (0)