Hello,
I want to delete a few Document templates. I use the business role 'SALESPRO', I go to 'Document Templates', choose a template, press the button 'Delete' (icon garbage bin) and a I get a pop-up window but without the buttons 'OK', 'Cancel' .
The pop-up is empty not even the title 'Confirm Deletion'.
Why's that ?
Any hints on how I could tackle this ?
I am deep in debugging but I do not seem to get anywhere, started from here:
Class CL_CRM_OI_T_TEMPLATELIST_IMPL
METHOD eh_ondeletetempl_btn.
DATA:
lv_title TYPE string,
lv_text TYPE string.
IF gr_confirm_popup IS NOT BOUND.
lv_title = 'Confirm Deletion'(001).
lv_text = 'Do you really want to delete?'(002).
CALL METHOD comp_controller->window_manager->create_popup_2_confirm
EXPORTING
iv_title = lv_title
iv_text = lv_text
iv_btncombination = if_bsp_wd_window_manager=>co_btncomb_okcancel
* IV_CUSTOMBUTTONS =
RECEIVING
rv_result = gr_confirm_popup
.
gr_confirm_popup->set_on_close_event( iv_event_name = 'CONFIRM_POPUP_CLOSED' iv_view = me )."#EC NOTEXT
ENDIF.
gr_confirm_popup->open( ).
Initially I thought that there is some oscure authorization needed but the authorization trace did not show anything.
Thank you
ENDMETHOD.