cancel
Showing results for 
Search instead for 
Did you mean: 

Icon in popup blank

0 Kudos

I create a popup messages with an icon for error.

I do some input test on the screen and give a popup if any errors are found. (This happens when the user click the SUBMIT button)

When the user log on the first time the popup window is correct. The icon display and the every thing is correct.

I f the user close the popup (CLOSE button

) and click submit again without correcting the errors the same popup appear. But this time the look of the window is not correct. No ICON apear only an "red cross". It looks like a web site where no images can be displayed.

I do I correct this.

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

Hi Sarath ,

I don''t know how to change the icon, because it can be the same error.

If I REFRESH the screen in the portal the images is correct.

Any coding to always refresh the screen before it open.

It seems I just have to live with it.

0 Kudos

Sorry, this does not solve my problem.

I should add that this is only a problem in the portal.

If I test via SE80 this is not a problem.

I have two popup's.

1. A new window and view. I tried your solution here.

2. In the same view. The coding is like this.

********************************************

DATA: l_window_manager TYPE REF TO if_wd_window_manager,

l_cmp_api TYPE REF TO if_wd_component,

l_window TYPE REF TO if_wd_window.

INSERT `Records successfully updated` INTO TABLE l_text.

l_cmp_api = wd_comp_controller->wd_get_api( ).

l_window_manager = l_cmp_api->get_window_manager( ).

l_api = wd_this->wd_get_api( ).

l_popup = l_window_manager->create_popup_to_confirm(

text = l_text

button_kind = if_wd_window=>co_buttons_yesno

message_type = if_wd_window=>co_msg_type_question

window_title = 'INFORMATION'

window_position = if_wd_window=>co_center ).

l_popup->subscribe_to_button_event(

button = if_wd_window=>co_button_yes

button_text = 'SELECT NEW EMPLOYEE'

action_name = 'YES'

action_view = l_api

is_default_button = abap_false ).

l_popup->subscribe_to_button_event(

button = if_wd_window=>co_button_no

button_text = 'CLOSE'

action_name = 'NO'

action_view = l_api

is_default_button = abap_true ).

l_popup->set_close_button( abap_false ).

l_popup->open( ).

Former Member
0 Kudos

Hi Frances van Almelo ,

Then thats the problem qccuring during the rendering of sap icons to portal. try changing the icons.. this problem is occuring frequently

Former Member
0 Kudos

Hi Frances van Almelo ,

you have created the popup window as another view rt?.. then make the life time of your popup window view as when visible, at the properties tab.

i think your problem can be solved by this.

Regards

Sarath