on 04-09-2013 10:32 AM
Hi gurus,
I have a standard FPM event, under certain conditions I'd like to add a parameter to it. This event does not have parameters itself, I just would like to add an information that will be carried by the event itself till the point in which I need it (a BADi... I guess it will be possible to retrieve that).
Please provide any suggestion or link to documentation as I searched but found nothing so far.
Thanks
Got it!!!
Given that lr_event (CL_FPM_EVENT) is my event and lv_pub_id is the event_id:
fpm_params ?= lr_event->MO_EVENT_DATA.
DATA: lv_pub_id TYPE FPM_EVENT_ID.
lv_pub_id = <event_id_name>.
CLEAR: lr_event.
CALL METHOD CL_FPM_EVENT=>CREATE_BY_ID
EXPORTING
IV_EVENT_ID = lv_pub_id
IO_EVENT_DATA = fpm_params
* IV_ACTION_TYPE = IF_FPM_CONSTANTS=>GC_ACTION_TYPE-STANDARD
RECEIVING
RO_EVENT = lr_event
.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.