‎2006 Dec 22 8:31 AM
Hi all,
I need to get the sysnr(system number) value of the R/3 system. I execute a RFC function module and need to get the value of sysnr of the system it executes in as a return parameter. Can somebody tell me how to get this value in the function module and return it.
Thanks and Regards,
Pratik
‎2006 Dec 22 10:03 AM
Check below FM....
GET_SYSTEM_NUMBER
RFC_GET_SYSTEM_INFO
SAPTUNE_GET_SYSTEM_NUMBER
‎2006 Dec 22 8:34 AM
RFC_GET_SYSTEM_INFO
Pass the destination name and get the system id in the parameter:
RFCSI_EXPORT-RFCSYSID
Regards,
Ravi
Message was edited by:
Ravi Kanth Talagana
‎2006 Dec 22 9:15 AM
Hi Ravi,
Thanks for your answer but I want the system number(sysnr) and not the SYSID. Can you please let me know some way to get the sysnr(2 digit number of R/3 system).
Best Regards,
Pratik
‎2006 Dec 22 9:23 AM
Hello Pratik
The system number has to be defined in the RFC destination. Thus, select on your local system (where you call the RFC function module) the corresponding RFC destination from table <b>RFCDES</b>. In field RFCDES-RFCOPTIONS you will find a string like this:
H=<ip address>,S=21,R=N, ...
S=system numberRegards
Uwe
‎2006 Dec 22 9:31 AM
‎2006 Dec 22 9:55 AM
Abhijit is spot on.
You can also use: SAPTUNE_GET_SYSTEM_NUMBER
REgards,
Ravi
‎2006 Dec 22 10:03 AM
Check below FM....
GET_SYSTEM_NUMBER
RFC_GET_SYSTEM_INFO
SAPTUNE_GET_SYSTEM_NUMBER