Application Development and Automation 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: 
Read only

Remote Logon: logon screen appears?!

Former Member
0 Likes
1,796

Hello,

From System A I call a remote function module in system B. I always get a logon screen when calling the remote function module in system B.

From System A I call the function module for many systems besides system B in a loop. So if there could appear a logon screen (calling the remote function tool in the system) I would skip it and go to the next system.

I need something like... "If a logon screen appears during remote logon -> Skip calling that function module in that system."

Does anybody know how to solve it?

thx,

holger

Hello,

From System A I call a remote function module in system B. I always get a logon screen when calling the remote function module in system B.

From System A I call the function module for many systems besides system B in a loop. So if there could appear a logon screen (calling the remote function tool in the system) I would skip it and go to the next system.

I need something like... "If a logon screen appears during remote logon -> Skip calling that function module in that system."

Does anybody know how to solve it?

thx,

holger

4 REPLIES 4
Read only

Former Member
0 Likes
1,158

use RFC_LOGIN.

you can solve it in another way..

in think you are calling same RFC from diffrent system A,B,C,D,E...

now th number of system are fixed, but you are only making the call dynamically..

in SM59, create destination for each of these system

ZDEST_A

ZDET_B..etc, with invidual login /password .

now at runtime..

if sys-id A.

call rfc destination ZDEST_A.

if sys-id B.

call rfc destination ZDEST_B.

if sys-id C.

call rfc destination ZDEST_C.

in this way you can solve this poblem

Read only

0 Likes
1,158

You mean the function module.

sorry but i use 4.6C. RFC_LOGIN ist not remote enabled!!!

I can not use it!

What I mean is. The remote function module is on System B, C, D, E, F,...

I call this function module from system A only!

If I call the function module in system B, from system A, a logon screen appears.

I would not like to make any changes in system B,C,D,E,F...concerning SM59...

What happens, If the logon screen in system B appears. Could I catch that message in my report in system A (calling the remote function module in system B)?

So if i execute the report, I need to know whether a logon screen appears...my report has to.

If the logon screen appears, I would skip calling the function module in that system...same for system C,D,E,F,....

thanks a lot,

holger

Message was edited by: Holger Schmidt

Read only

Former Member
0 Likes
1,158

Hi Holger,

Please check whether you entered Client,User name &

passowrd correctly when you are creating RFC destination in SM59.

some times if the user name and passowrd is wrong also it will show you the logon screen.

Just give a try .........

Thanks&Regards,

Siri.

Read only

Former Member
0 Likes
1,158

Hi Holger,

The logon screen will appear if the remote user for the rfc destination is not configured properly. Otherwise the transition is seamless.

So, if the configuration for remote user in other systems is properly done, you will not get a login screen.

Ensure remote user is configured properly in all your systems B,C,D etc...

Regards,

Raj