2014 Jun 06 11:25 AM
HI
I am trying to raise an event in a scheduled job and user executing the program has appropriate authorisation. The auth obj S_BTCH_ADM for user SCHEDULE has value Y in auth. field BTCADMIN
.
Still I get error BT 705 - You are not authorized to trigger events
Is there some other setting I am missing ?
Thanks in advance for any pointers.
Dinesh
2014 Jun 11 2:51 PM
Hi,
please check class CL_BATCH_EVENT, method CHECK_AUTHORITY - from line 78 there are some additional things checked (I pasted only comments from this part of the code, check it in details via SE80 yourself):
* Raise of some events is forbidden:
* Event event_sap_end_of_job can only be raised from Batch Scheduler:
* Event event_evthist_crit_activated can only be raised only from Criteria Manager:
Good luck
Tomek