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: 

How to verify RFC user?

0 Kudos

I have maintained RFC desctination in SM59.

In my application I make RFC calls using these RFC destinations. Before I use this application, I need to make sure that the logon information(user and password) for the RFC destination is correct.

Is there a way to do it programmatically in ABAP?

5 REPLIES 5

former_member223537
Active Contributor
0 Kudos

Hi Shakir,

I think, your RFC would be called from other system. So you need logon info. of your SAP system.

THis logon info. would be used in the 3rd party system, which is going to call your RFC.

So to test SAP User ID & pwd, simply logon with the details & verify.

Please let me knw, if this is not the requirement.

Best regards,

Prashant

0 Kudos

I need to check it programmatically in ABAP.

former_member223537
Active Contributor
0 Kudos

Why do you want to check that in ABAP ?

0 Kudos

The RFC call is from one R/3 system to another. I need to verify the user info in my ABAP code before making the RFC call. I don't want the RFC logon screen to come up if the user/password is incorrect.

Former Member
0 Kudos

ya

sure u can

i.e. you should know the logon permission to u to remote client other wise

u should know about the API''S making in the distriubuted systems

that should opend for global repository systems......