Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Reg: How to get SAP Logon information?

Former Member
0 Kudos

Hi Experts,

How to get system properties for SAP Logon like SAProuter String, System number etc. to remote login to SAP from external application. I need to create Logon.properties file used by JCO to connnect to SAP system.

Thanks in Advance,

Deepak

3 REPLIES 3

GauthamV
Active Contributor
0 Kudos

Check this FM.

RS_SYSTEM_INFORMATION

Former Member
0 Kudos

Hi Gautham ,

I have to prepare logon/properties file like this:

jco.client.client=800

jco.client.user= SG0012E

jco.client.passwd= **********

jco.client.ashost= /H/192.128.32.518/S/1190/H/

jco.client.sysnr=17

For this, I need SAPRouter String (/H/192.128.32.518/S/1190/H/) ? and system number 17, I'll get using RFC: GENERAL_GET_APP_SERVER_NAME.

How can I pick SAPRouter String of system?

Thanks for your previous reply.

0 Kudos

Hi,

Use this FM BAPI_USER_GET_DETAIL.

Regards,

Surendar Reddy.