Application Development 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: 

AUTHORITY_NOT_AVAILABLE exception returned with 'RFC_CALL_TRANSACTION_USING'

Former Member
0 Kudos

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




9 REPLIES 9

former_member199637
Participant
0 Kudos

Hello Venkat,

Please check does the batch user used to create connection is having proper authorization to execute

FBV1.

Regards,

Puneet Desai

0 Kudos

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

0 Kudos

Activate the trace on tcode ST01 and check the log, there you can see what is missing.

Regards,

Felipe

former_member491621
Contributor
0 Kudos

In addition to Puneet's answer, also check with BASIS team if you have authorization to execute the RFC FM

0 Kudos

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

0 Kudos

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

0 Kudos

Hi Venkat,

You can add the remote system to trusted system using transaction SMT1.

ravi_lanjewar
Contributor
0 Kudos

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.

raymond_giuseppi
Active Contributor
0 Kudos

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