cancel
Showing results for 
Search instead for 
Did you mean: 

User Language

Former Member
0 Kudos

Hello,

I've a question about localization, I would like to show in the user's language also bapi return message but i don't know how to get this value ( User language ) from an irpt file ( to pass it as an input value of the transaction ) or get it directly from the transaction.

The Bapi return message is returned by ECC with the language of the user xmii connect to ( the same for all xmii users ).

Thanks in advance,

Roberto

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Roberto,

you can retrieve the language defined in the user profile of the NW UME. The parameter is called "Language" or "locale". Try the following URL to see the property list:

"http://<server>:<port>/XMII/PropertyAccessServlet?Mode=List"

If you have marked the parameter "Autobind" in the XacuteConnector Data Server, you can simply define the Property name in the transaction that is called by a Xacute Query.

To get the SAP error message in the language you want, I guess you have to write a SAP query or custom Bapi.

I just found the BAPI_MESSAGE_GETDETAIL. You have to enter

- ID (message class)

- NUMBER (message number)

- LANGUAGE

- TEXTFORMAT (ASC or HTM or RTF)

The field MESSAGE then contains the text in the defined language.

Michael

Edited by: Michael Otto on Sep 25, 2009 4:06 PM

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

thanks a lot for your answer.. finally I've managed the issue..

Roberto