on 09-14-2010 10:03 AM
Hello Experts,
Need your help and suggestions.
Please tell me the significance of transaction LPD_CUST.
Our requirement is that: There is a button in our POWL application, now on clicking on the same we want to open a new window (Web Dynpro for ABAP application), which have a textview where users can enter some text.
I have gone through the link LINK: [;
Please tell me the significance of ROLE and INSTANCE variable used in configuration.
Thanks,
Harish
HI ,
Doing the following steps:
1) Create a Global class attribute GR_COMP_INSTANCE of type REF TO IWCI_*Component name.Suppose the powl component name is ZPOWL then the type would be IWCI_ZPOWL.
2) Update the value of the above attribute in the POWL component controller DOINIT method
GR_COMP_INSTANCE ?= WD_THIS.
3) Create a method in the POWL component contoller to open the new application using the methods
CALL METHOD cl_wd_utilities=>construct_wd_url
EXPORTING
application_name = lv_application_name
IMPORTING
out_absolute_url = lv_out_absolute_url.
l_api_window_open = wd_this->wd_get_api( ).
l_component = l_api_window_open->get_component( ).
l_window_manager = l_component->get_window_manager( ).
CALL METHOD l_window_manager->create_external_window
EXPORTING
url = lv_out_absolute_url
RECEIVING
window = l_window.
IF l_window IS NOT INITIAL.
l_window->open( ).
ENDIF.
4) using the above isntance call the new method from the HANDLE_ACTIONS of the POWL feeder class.
Regards,
Madhu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.