Calling an RFC function module from one system to another
..Previous
However establishing a connection
will not ensure logging on to the target system. For that we have to test REMOTE
LOGON.
Press the REMOTE LOGON button
If we can see this
And this
Then our connection was successful.
However if we see the screen as
shown below then there is an authentication failure (user-id or password is
wrong).
The new connection will become
visible in the SM59 list like this.
After establishing the connection,
let us create a program, which would trigger the RFC in D05 system.
Go to SE38 and create a program
ZGB_RFC
Write the following code
Activate (Ctrl+F3) and Execute (F8)
Type any two numbers.
Press (F8) Again. We have the
desired output.
|