10-01-2008 2:44 PM
Hi Team,
I am calling RFC fron ECC 6.0 to SAP 4.6c.
Destination is maitained in SM59.
Problem:
When i am calling RFC through my report program.
Sy-subrc is 1.
When running FM at orginal destination it is working fine.
Any helpful pointers...
10-01-2008 3:51 PM
Are you having authorizations to connect to the other system?
plz check for the authorization.
Thanks,
Sree.
10-01-2008 2:48 PM
Sy-subrc represents the value of the exception.
For example
CALL ZFUNC DESTINATION ZZ.
EXPORTING
IMPORTNG
EXCEPTIONS
data not found = 1. "Check this description for your case, This is your error
communication error = 2.
Whatever is defined for one is your problem
10-01-2008 2:52 PM
Hello,
Try to test the connection at transaction SM59 , if everything is working fine, in the destination server go to transaction SM58 and look for some error message.
Regards.
10-01-2008 3:30 PM
Hi Team,
But while in debug mode my RFC , when press F5 is not going to the FM and returning the exception as 1.
Could any idea why my RFC is not going to destination.
10-01-2008 3:32 PM
Did you tested the destinations in SM59. are you able to test it successfully. check it once.
what is the exception 1 in your funtion module..?
Edited by: Vijay Babu Dudla on Oct 1, 2008 10:43 AM
10-01-2008 3:38 PM
10-01-2008 3:51 PM
Are you having authorizations to connect to the other system?
plz check for the authorization.
Thanks,
Sree.
10-01-2008 4:44 PM