on 05-08-2008 7:33 AM
Hi,
I have a program to trigger RFC call from ABAP.
Can someone help me how to handle or show error message when RFC destination(Connection) is not ON.
Currently it is going for Short dump when Connection is not ON or Connection is not establised.
Current code:
CALL FUNCTION 'RFC_PING'
DESTINATION 'JCOSAMPLE'.
CALL FUNCTION 'ZSAMPLE_JAVA_FM'
DESTINATION 'JCOSAMPLE'
EXPORTING
hostname = sy-sysid
username = uname
password = pword.
Any help will be greatly appreciated!!
Thanks,
Use the following function moudle if sy-subrc <> 0.
Then rise the error.
CALL FUNCTION 'BBP_REMOTE_CLNT_CHECK' DESTINATION RFC_DEST
IMPORTING
CLIENT = client
RELEASE = REL.
REgards,
Madan.
Edited by: madan mohan reddy on May 8, 2008 12:19 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
any inputs please
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.