on 03-29-2015 5:44 PM
Dear TM Experts,
I had done the config steps for Dialog Box and I am getting a popup with my Z field on Dialog Box.
I am calling method OPEN_DIALOG_BOX during my Action, but OK and CANCEL options are not working with this Dialog window.
I am getting error as No valid target content area found.
Please help me what might be the issue.
Thanks in advance.
Regards.
Md.Rafi
Hi,
These issues mostly come, when you raise a fpm standard event in Component controller. Are you doing something like this.
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Rohit,
Yes, I had configured the Dialog Box ZSZ_REASON_CODE and written below code.
But how to avoid this error and allow us to use function of OK and cancel and capture input value of popup back into my cod.
Please help me on this.
DATA lo_fpm TYPE REF TO if_fpm.
DATA ls_dialog_prop TYPE fpm_s_dialog_box_properties.
DATA: lv_window_id TYPE fpm_dialog_window_id.
DATA: lo_event TYPE REF TO cl_fpm_event,
lo_event_params TYPE REF TO if_fpm_parameter.
lv_window_id = 'ZSZ_REASON_CODE'.
lo_fpm = cl_fpm_factory=>get_instance( ).
CREATE OBJECT lo_event_params TYPE cl_fpm_parameter.
lo_event_params->set_value( EXPORTING
iv_key = if_fpm_constants=>gc_dialog_box-id
iv_value = lv_window_id ).
CREATE OBJECT lo_event
EXPORTING
iv_event_id = cl_fpm_event=>gc_event_open_dialog_box
io_event_data = lo_event_params.
lo_fpm = cl_fpm_factory=>get_instance( ).
lo_fpm->raise_event( lo_event ).
Thanks in advance.
Regards,
Md.Rafi
Hi Rafi,
Can you raise the question in FPM area.
http://scn.sap.com/community/web-dynpro-abap/floorplan-manager
Best regards,
Rohit
Discussion successfully moved from SAP Transportation Management (SAP TM) to Floorplan Manager for Web Dynpro ABAP as suggested.
Regards, Mike (Moderator)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.