cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any way I can find out the System / SYSTEM ID in UDF ?

Former Member
0 Kudos

Hi ,

I have a Scenario . In which I have Used Extended Receiver Determiantion.

So In Message Mapping for Extended Receiver Determiantion, i have assigned Buisness System to Receivers.

Now My Problem is

for Developement , Those receivers are

SYS_Receiver1_D

SYS_Receiver2_D

Which is Ok ..

for Quality , Those receivers should be

SYS_Receiver1_Q

SYS_Receiver2_Q

So my Question is :---- Is there any way I can find out the System / SYSTEM ID( Like which system is it D/Q/P ) in mapping UDF ..so I will be able to change the Business System name on runtime based on SID ??

Regards

Prabhat Sharma

Accepted Solutions (1)

Accepted Solutions (1)

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

You can use System.getProperty("SAPSYSTEMNAME"); in your UDF as specified in this thread.

Hope this helps,

Mark

Edited by: Mark Dihiansan on Apr 27, 2011 7:51 AM

Answers (1)

Answers (1)

Former Member
0 Kudos

Thanks