2008 Feb 26 6:25 AM
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
2008 Feb 26 6:41 AM
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
2008 Feb 26 10:10 AM
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
2008 Feb 26 8:09 AM
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
2008 Feb 26 10:13 AM
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
2008 Feb 26 10:30 AM
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
2008 Apr 28 11:49 PM
Hi,
I face the same problem. Is this issue resolved now?
If yes, please let me know how you resolved the issue.
Thanks,
Jeena
2011 Mar 22 8:04 AM
Hi,
I am also getting this problem. Can some one provide me solution on this.
2011 Mar 22 8:51 AM
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.