04-02-2009 1:14 PM
Hi All,
Greetings !!!
We have created an application form in Abap Webdynpro using function module ZZHRIQ_SCEN_NOTIF_CREATE_RFC (Copied from HRIQ_SCM1_NOTIF_CREATE_RFC) to create ISR notifications.
This application is working fine when we have given all the roles to the user.
To restrict the authorizations we have removed SAP_ALL and given standard roles as mentioned below...
ZR_SLCM_CA_NO_NOTIF_GENERAL
ZR_SLCM_CA_NO_NOTIF_ISR
ZR_SLCM_CA_NO_NOTIFVIAWEB_EXT.
But we are not able to create notification with above three roles and is giving authorization error as below
The following error text was processed in the system AMD : No authorization for this action
The error occurred on the application server sthamdm8dv_AMD_00 and in the work process 0 .
The termination type was: ERROR_MESSAGE_STATE
The ABAP call stack was:
Method: SAVE of program SAPLQISR1
Form: SAVE_XML of program SAPLQISR1
Function: ISR_NOTIFICATION_CREATE of program SAPLQISR1
Function: ZZHRIQ_SCEN_NOTIF_CREATE_RFC of program SAPLZZHRIQ_IAP_ISR
Method: ONACTIONON_CREATE of program /1BCWDY/CZYEJG42Y595M73Z0SU8==CP
Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/CZYEJG42Y595M73Z0SU8==CP
Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP
Method: IF_WDR_ACTION~FIRE of program CL_WDR_ACTION=================CP
Method: DO_HANDLE_ACTION_EVENT of program CL_WDR_WINDOW_PHASE_MODEL=====CP
Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP
Please suggest what additional roles I should assign to user to execute the application successfully.
Thanks in advance....
04-13-2009 5:10 PM
Sudhir,
Please run a security authorization trace to see exactly what authorizations are missing from your user.
Michael
04-13-2009 5:10 PM
Sudhir,
Please run a security authorization trace to see exactly what authorizations are missing from your user.
Michael