on 08-08-2012 12:35 PM
Hi, this is my first try in creating a GAF FPM application. I followed the steps in the eLearning Tutorials - Floorplan Manager for Web Dynpro ABAP (FPM_Tutorial_GAF_T2.zip) and when I get to the wirting of the method "on_user_details_show" (minute 1 in tutorial) I get this error when i check the code :
"
Field "CL_FPM_EVENT" is unknown. It is neither in one of the specified |
tables nor defined by a "DATA" statement. "DATA" statement. | " |
this is what i wrote:
Hi,
CREATE_BY_ID is a static method and hence you shall call it like this.
LR_EVENT = CL_FPM_EVENT=>CREATE_BY_ID( ... parameters .. ).
Replace -> with =>. Your error will get resolved.
Thanks,
Khushboo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This error would be because you would not have declared and initialized the GAF FPM instance.
Follow the steps.
1. Go to Attributes tab of the view.
2. Declare an attribute 'FPM' of type ref to IF_FPM ( Remember to mark the TYPE REF TO check box )
3. Write the following code in WDDOINIT method of the view
wd_this->fpm = cl_fpm_factory=>get_instance( ).
Cheers.
Hi Andu,
I haven`t watched tutorial yet and I am not 100% sure. I guess, you need to handle events in method "PROCESS_EVENT" in Component controller - it contains already a reference for events.
Cheers
Dieter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.