on 2023 Mar 14 10:39 AM
Hi experts,
We implemented an event. In the event handler class, the sy-uname is a system account. At the runtime, we want to know the exact business user account who triggers the event, is there any approach? Thanks.
According to my debug, in the handler class, we can get the event creator by getting the parameter value of '_EVT_CREATOR'. But the return value is not the real business user. It's like a combination of 'US'(or some other value' + 'business user'. For example, it may returns 'USXXXX'. But I have no idea what 'US' means, and what could be the value. For example, it could be more than 2 characters.
event_container->get(
EXPORTING
name = '_EVT_CREATOR'
IMPORTING
value = lv_event_creator
* unit = data(lv_unit)
* returncode =
).
Request clarification before answering.
User | Count |
---|---|
10 | |
5 | |
4 | |
4 | |
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.