cancel
Showing results for 
Search instead for 
Did you mean: 

XI Receiver Channel - Dynamic Logon Language

Former Member
0 Kudos

Hello,

Is there any way to define dynamically the logon language in XI Receiver Channel?

Our cenario is an ECC -> PI -> ECC integration using XI sender and receiver channel. Depending on a specific element in message payload we want to define the corresponding logon language in receiver system. The goal is to return messages to sender system (synchronous scenario) in a language that each user can understand..

Do you have any ideas about how can we achieve such requirement?

Thanks in advance,

Pedro Leal

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You can do logon in standard language (eg. EN) and than get data into a specific language that you pass to ECC by an input parameter.

Is possible to solve by this way?

Former Member
0 Kudos

Hi,

Our priority is to solve the problem in PI context and try to avoid doing any kind of changes in ECC system.

Principal Propagation is not really an option because users in sender system don't exist in receiver system.

Does anyone has a solution for this issue?

Thanks in advance,

Pedro Leal

Edited by: Pedro Leal on May 12, 2011 3:05 PM

Former Member
0 Kudos

RFC lookup to BAPI_USER_GET_DETAIL in the receiver/sender (this is a standard BAPI provided by SAP) to get user's logon data so you can grab its logon language ?

Former Member
0 Kudos

Hello,

The problem is not related with grabbing the logon language of user in sender system. The problem is to set dynamically, in XI receiver channel, the logon language.

Imagine that the logon language of user in sender system is ES (spanish), we want to execute an inbound proxy, which then calls a standard BAPI, and return BAPI messages in spanish to caller system.

Regards,

Pedro Leal

baskar_gopalakrishnan2
Active Contributor
0 Kudos

You cannot dynamically set logon language. You might want to try using Unicode option in the RFC channel. This might help you.

http://help.sap.com/saphelp_nw04/helpdata/en/22/5a981cfbaa06428abdfa32b81423d2/content.htm

Former Member
0 Kudos

OK, right ... As XI adapter does not (seem to) offer ASMA for dynamic logon data management and I don't think you could extend its functionalities with your own custom module neither

And you can't change anything at all in the target system ? Tough mission then ... If you don"t have many languages to handled, you could try to use multiple adapters, one created for each language, and depending on your conditions, route the messages using the appropriate RFC channel ? But I think it's quite a poor design

Chris

Edited by: Christophe PFERTZEL on May 12, 2011 4:43 PM

Former Member
0 Kudos

Gopal, setting the unicode option won't tell the target system which language to use when creating response messages ?

Former Member
0 Kudos

You can login in EN language in receiver side, and pass a input parameter with language (ES), than read text message in spain in ECC receiver.

Is it good for you?

Former Member
0 Kudos

Hi,

We are trying to avoid doing any kind of changes at ECC side. The communication channel that we are using is XI Receiver Channel.

Is there any solution to achieve this scenario in SAP PI side?

Thanks,

Pedro Leal

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Pedro,

Maybe using Principal Propagation could do the trick ? Userid would be propagated along the way and response system would use this userid's SY-LANG to create the msg content accordingly ?

Otherwise, some kind of lookup would also be feasible, depending on your scenario

Rgds

Chris