cancel
Showing results for 
Search instead for 
Did you mean: 

powl poppup besed on action

Former Member
0 Kudos

Hi all ,  i ahve 2 popup

METHOD if_powl_feeder_ext~get_ui_peripherals.

     DATA ls_ui_comp TYPE powl_namevalue_sty.

*

     ls_ui_comp-value = 'ZAIN_SUBSTITUTE_MAINT'.

     ls_ui_comp-key = 'POPUP_COMP'  .

     APPEND  ls_ui_comp TO e_ui_comp.

     ls_ui_comp-value = 'ZAIN_WDC_TASK'.

     ls_ui_comp-key = 'POPUP_COMP'  .

     APPEND  ls_ui_comp TO e_ui_comp.

   ENDMETHOD.



but in action 



     IF i_actionid = 'ANNOUNCEMENT'.

*   important: this triggers the event

       e_portal_actions-fire_wdevent = abap_true.

       e_portal_actions-launch_editor = abap_true.

ls_ui_comp-value = 'ZAIN_WDC_TASK'.

     ls_ui_comp-key = 'POPUP_COMP'  .

but i am getting only one 'ZAIN_SUBSTITUTE_MAINT'.   even if i have given 

'ZAIN_WDC_TASK'.

     ls_ui_comp-key = 'POPUP_COMP'  .

i wnat difrent difrennt popup besd on action

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ravi kumar,

To Display the POPUP based on the particular action you can use the method IF_POWL_FEEDER~GET_ACTION_CONF

Where you need to pass the parameter

E_CONF_MESSAGETYPE STRING_TABLEconfirmation message lines

  IF i_actionid = 'CONFIRM'.  "Action identifier

      APPEND 'Do you really want to Confirm ?'  TO  e_conf_message.

ENDIF.


Hope these is useful

Thanks & Regards

@Surendra@