on 04-28-2014 7:28 AM
Dear All,
I have assigned the standard role /saptrx/sap_em_user to my user in EM. When posting the event message , I am getting the error "No authority for Sender to Save Event Message". I have an understanding that the SAP standard user can post the event messages for an event handler. Please let me know the reason for error.
Thanks,
Shubh.
Hello Shubh,
check transaction /n/saptrx/tsc0authsnd:
Best regards,
Steffen
Use
In this Customizing activity you define the senders who are authorized to send event messages to SAP Event Management.
This table is not user-dependent.
Activities
Specify the sender code set and the sender code ID (for example, US for user as the code set and TEST_SMITH as the code ID):
Sender Transaction | Code Set | Code ID |
---|---|---|
Web Interface (Classic) | WCL | User Name |
Others | Any | Any |
(for example, Web Dynpro ABAP, BAPI, IDoc) |
The system checks the authorization to send an event message in the following order:
SAP Library
SAP Web Application Server -> mySAP Technology Components -> SAP Web Application Server -> Security (BC-SEC) -> Users and Roles (BC-SEC-USR)
We recommend that you use one of the following methods to define authorized event message senders:
BAdI: Changing Event Messages
WebDynpro
E
Sender Transaction | Code Set | Code ID |
---|---|---|
Web Dynpro | WebDynpro | <user name> |
WCL
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Steffen,
Thanks for your reply , but i have not got the use of maintaining this customizing for sender code set and sender code id since I have the authorization already provided via standard role based access.
Besides even if i have maintained the value still i am getting the same error message.
I have maintained * values for both the sender code set and and sender code set.
Request you to please elaborate on the functionality.
Thanks,
Shubh.
Dear Steffen,
X_EM_EVM with value 32 is not maintained for the user and hence the error message. But as i mentioned that this user has the role which is the copy of /saptrx/sap_em_user role and authorization object is maintained via standard role based access then first the sender logic will be checked and it will be by passed to check for role based access, since in my tracking header structure the sender code and sender id is coming as blank. Please correct me if i am wrong.
Thanks,
Shubh.
Just checked /saptrx/sap_em_user has only EH authorizations. Normally a user is only sending Event Messages via Web UI and this is handled via Sender Code and the customizing mentioned above. (UI has a fixed Sender Code as i remember)
Only /SAPTRX/SAP_EM_ADMIN includes it.
You need to enhance the the copied role with X_EM_EVM or enter the Sender Code in the customizing.
Best regards,
Steffen
User | Count |
---|---|
7 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.