on 09-08-2011 6:55 AM
hi friends,
i am developing an application for sending an email
with the guidence of saptechnical
i am creating a button TO with an action
in that button i am using the following code
data lo_componentcontroller type ref to ig_componentcontroller.
lo_componentcontroller = wd_this->get_componentcontroller_ctr( ).
lo_componentcontroller->showaddressbookpopup( ).
and in show addressbookpopup method in component controller i write the following code
DATA lo_window_manager TYPE REF TO if_wd_window_manager.
DATA lo_api_component TYPE REF TO if_wd_component.
DATA lo_window TYPE REF TO if_wd_window.
lo_api_component = wd_this->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
wd_this->gr_window =
lo_window_manager->create_window(
window_name = 'Addressbookwindow'
title = 'Model Dialoug Box'
message_display_mode = if_wd_window=>co_msg_display_mode_selected
message_type = if_wd_window=>co_msg_type_none
).
wd_this->gr_window->open( ).
but whene ever i click on the to button i got the error as
Addressbookwindow does not exist within component
can any on help me....!
thanks in advance,
karunakar
Hello Karunakar,
the window name has to be in uppercase... change Addressbookwindow to ADDRESSBOOKWINDOW. And also make sure you have a window by name ADDRESSBOOKWINDOW.
BR, Saravanan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.