on 09-06-2016 2:11 PM
I had the same problem, follow my solution.
DATA: lo_fpm TYPE REF TO if_fpm.
DATA: lo_fpm_ref TYPE REF TO cl_fpm.
* Get FPM instance
lo_fpm = cl_fpm_factory=>get_instance( ).
lo_fpm_ref ?= lo_fpm.
DATA(ucomm) = lo_fpm_ref->mo_current_event->mv_event_id.
IF ucomm EQ 'PLN_PLAN_SELECTED'.
ENDIF.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Santosh,
can you show me the code, where you getting the reference of lo_fpm and screen shot of call stack.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Looks like, from the green icon, that the attribute is public as is the MO_CURRENT_EVENT. So to read MV_EVENT_ID you would need to do:
lo_fpm->mo_current_event->mv_event_id.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.