01-14-2013 2:17 PM
Hi,
I get exception AUTHORITY_NOT_AVAILABLE when I make a RFC call from external program.
I use batch user provided to make connection and call function Rfc_Call_Transaction_Using.
tcode = 'FBV1' and mode = 'N' is passed.
Authorization check for RFC access is as:
- ACTVT
16
- RFC_NAME
0012
0015
1022
2001
2075
3006
- RFC_TYPE
FUGR
How do we go about debugging this issue?
Are we missing anything here?
Thanks,
Venkat
01-14-2013 3:35 PM
Hello Venkat,
Please check does the batch user used to create connection is having proper authorization to execute
FBV1.
Regards,
Puneet Desai
01-14-2013 4:49 PM
Hi Puneet,
Thanks for your reply. The authorizations for the batch user is already provided.
TCODE: FBV1, FBV0, MIRO, FBVB and SE37 for eg. is already authorized for the user.
So I wonder where do I check for more!!
Regards,
Venkat
01-14-2013 4:58 PM
Activate the trace on tcode ST01 and check the log, there you can see what is missing.
Regards,
Felipe
01-14-2013 4:31 PM
In addition to Puneet's answer, also check with BASIS team if you have authorization to execute the RFC FM
01-14-2013 5:01 PM
Hi Aniket,
Under Authorization OBJ S_RFC I see
ACTVT - 16
RFC_NAME - (as listed above)
RFC_TYPE - FUGR
Is this not enough?
Thanks,
Venkat
01-14-2013 5:14 PM
Hi Venkat,
You might want to check the below links
http://help.sap.com/saphelp_nw04s/helpdata/en/4f/b541d812aea34695d54758cec0796f/frameset.htm
http://www.se80.co.uk/sapreports/r/rsrf/rsrfcsec.htm
maybe the user does not have authorizations for accessing the remote system
Hope this helps
01-14-2013 5:57 PM
Hi Venkat,
You can add the remote system to trusted system using transaction SMT1.
01-14-2013 5:41 PM
Your required the authorization of object S_RFC and transaction code which you want to process.
S_RFC is mandatory authorization for RFC call from external system.
01-14-2013 6:10 PM
For RFC execution your user will require more authorization than when executing the transaction under Sapgui, Try to call AUTHORITY_CHECK_RFC before Rfc_Call_Transaction_Using. Also user must be allowed to the function group containing the FM you use to call RFC (Authorization object S_RFC)
Regards,
Raymond