cancel
Showing results for 
Search instead for 
Did you mean: 

retrieving the system ID

Former Member
0 Kudos

HI,

Please let me know if it is possible to retrieve the System id either using a UDF or int he adapter module.

Regards,

Meenakshi

Accepted Solutions (1)

Accepted Solutions (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi,

No need of Adapter module,simple UDF enough,simple one line of code enough.

search in sdn,youy will get the codeif unable to find let me know.

Regards,

Raj

Former Member
0 Kudos

HI raj ,

i did get the code to retrieve the system ID .

The code is as follows:

String systemID=System.getProperty("SAPSYSTEMNAME");

Is this the correct way to retrieve the system ID . If there is any other code that can be used to retrieve the ID, please let me know.

Regards,

Meenakshi

rajasekhar_reddy14
Active Contributor
0 Kudos

Yes , that code what you got is correct,use that code in UDF,it will work,if any issues let me know.

Regards,

Raj

Former Member
0 Kudos

Hi Raj,

Thank you very much for the quick response. Ill use it in the UDF.

Regards,

Meenakshi

Former Member
0 Kudos

HI Raj,

thank for your input for getting the System ID in UDF. Is the same possible in Module too ? can u give me pointers for that?

Regards,

Meenakshi

Answers (2)

Answers (2)

Former Member
0 Kudos

This has been answered in the below thread...

/message/686478#686478 [original link is broken]

Regards,

Swetha.

former_member181962
Active Contributor
0 Kudos

Check this thread:

Regards,

Ravi