MUNDOSAP

MUNDOSAP (foro/index.php)
-   Programación ABAP IV (foro/forumdisplay.php?f=4)
-   -   Problemas con popup de confirmacion (foro/showthread.php?t=108121)

AlexHS4 15/12/20 23:24:04

Problemas con popup de confirmacion
 
Hola a todos, estoy realizando una practica de WEB DYNPRO, y estoy utilizando un pop up de confirmación, mi problema esta que al intentar abrir por segunda vez el pop up este ya me muestra nada, sin el titulo, el mensaje y sin los botones. y no se como resolver este problema.
Este es el código que estoy utilizando.

method ONACTIONPRO_SAVE_CLIENTES .

DATA: lo_window_manager TYPE REF TO if_wd_window_manager,
lt_text TYPE string_table,
lo_popup TYPE REF TO if_wd_window.

lo_window_manager = wd_comp_controller->wd_get_api( )->get_window_manager( ).

APPEND wd_assist->if_wd_component_assistance~get_text( 'C01' ) TO lt_text.



lo_popup = lo_window_manager->create_popup_to_confirm(
text = lt_text
message_type = if_wd_window=>co_msg_type_question
button_kind = if_wd_window=>co_buttons_yesno
window_title = wd_assist->if_wd_component_assistance~get_text( 'T01' )
default_button = if_wd_window=>co_button_no ).

lo_popup->subscribe_to_button_event(
EXPORTING
button = if_wd_window=>co_button_yes
* button_text =
* tooltip =
action_name = 'YES_INSERT'
action_view = wd_this->wd_get_api( ) " Web Dynpro: View Controller
* is_default_button = ABAP_FALSE
).

lo_popup->open( ).

endmethod.

AlexHS4 15/12/20 23:24:56

Re: Problemas con popup de confirmacion
 


Husos Horarios son GMT. La hora en este momento es 12:57:56.

www.mundosap.com 2006 - Spain
software crm, crm on demand, software call center, crm act, crm solutions, crm gratis, crm web