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: 

RFC Authorization Issue

Former Member
0 Kudos

Hi experts,

We have a portal application which calls few BAPIs in the R3 system.

When I try to access BAPI_ALM_CONF_CREATE, it returns an error message saying " You do not have access to this transaction ".

I saw that the authorization object C_AFRU_AWK controls the authorization. I added that object also.

I gave the following values to the authorization object.

Activity : 01

Order Type : *

Plant : XXXX

Still, I am getting the same message.

Can anyone help me ?

Thanks alot

Shobin

8 REPLIES 8

uwe_schieferstein
Active Contributor
0 Kudos

Hello Shobin

The problem might be that the RFC-user does not have RFC authorizations.

Try to add the following authorization object to the role(s) of the RFC user:

- S_RFC

Set the following authorizations:

- RFC_TYPE = FUGR (function group)

- RFC_NAME = <name of the function group containing the BAPI>

- ACTVT = 16 (execute)

Regards

Uwe

0 Kudos

Hi,

Thanks alot for your reply.

Yes, I have already added the S_RFC authorization object and gave access to all function groups required.

I checked the log files also. I couldnt see any authorization failure in log files.

Still the error continues.

Please help me

Thanks alot

Shobin

Former Member
0 Kudos

Hello Shobin,

please check the following authorization object:

AUTHORITY-CHECK OBJECT 'C_AFKO_ATY'

ID 'ACTVT' FIELD TMP_ACTVT

ID 'AUTYP' FIELD ACT_AUTYP.

I think "C_AFKO_ATY" is causing the problems. This check will be done in fm CO_RU_CONFIRMATION_PREPARE, called in fm CO_RI_TIMETICKETCONF_CREATE, that is called to create the timeticket confirmation in BAPI_ALM_CONF_CREATE.

Have you checked, if C_AFKO_ATY is assigned to the user?

Best regards

Stephan

Edited by: Stephan Theis on Feb 26, 2008 2:14 PM

Former Member
0 Kudos

Hi Shobhan ,

Contact with your basis guy and confirm whether the user ia having the authrizaion or not .

If not ask him to add roles to him by exicution SU21 .

Thanks

Jagadeesh.G

0 Kudos

Hi,

Yes, the user is having authorization and has given roles which has S_RFC authorization object attached.

I checked in SU21. I saw that BAPI_ALM_CONF_CREATE has no authorization objects attached to it.

But, in the documentation, it says C_AFRU_AWK authorizaiton object is required for this.

How can I check which all authorization objects are attached to this BAPI?

Thanks alot

Shobin

0 Kudos

Hi,

I face the same problem. Is this issue resolved now?

If yes, please let me know how you resolved the issue.

Thanks,

Jeena

0 Kudos

Hi,

I am also getting this problem. Can some one provide me solution on this.

umashankar_sahu
Active Participant
0 Kudos

Dear Jaganatha,

As per error it seems to be you are able to trigger the RFC through the intrface using between your portal and SAP.

Might be the case user ID using for interface is not having a authorization to perform the transaction, means I think user id is not having a authorization for Tcodes which are hitting through the BAPI like IW42.