Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2806

Re: Suspend FPM_SAVE to display cofirmation message

$
0
0

Dear Vivek,

 

Implement IF_FPM_GUIBB_FORM_EXT interface in your form feeder class. Write below code in NEEDS_CONFIRMATION method.

 

data :   lo_confobj      type ref to cl_fpm_confirmation_request,

         lt_conf_text    type        string_table,

         lv_conf_txt     type        string,

         lv_window_title type        string.

 

 

CASE  io_event->mv_event_id.

 

  WHEN 'FPM_SAVE'.

     

         lv_conf_txt = text-001.

         lv_window_title = 'Your required titile'.

          append lv_conf_txt to lt_conf_text.

 

          create object lo_confobj

            exporting

              it_confirmation_text = lt_conf_text

              iv_window_title      = lv_window_title.

          if lo_confobj is not initial.

            eo_confirmation_request = lo_confobj.

          endif

.ENDCASE.

 

Create a text element for 001. Which contains the confirmation message in the popup.

 

Note: For this requirement no need to create a dialog box.:)

 

Hope this will helps you.

 

 

Regards,

Naga


Viewing all articles
Browse latest Browse all 2806

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>