on 08-10-2011 6:03 AM
Hi Experts,
I have created 2 WDC and WDC1 and WDC2... In WDC1 i am using WDC2 as popup window. Its creating the popup window its not processing the metods of WDC2. I kept the break points in WDC2 methods but its not triggering.. So please let me know how can I process those methods.
Thanks in advance....
Thanks,
Hari
Sorry.. Its mistakenly marked as Answered....this thread is not closed.
Edited by: harikrishna chittumalla on Aug 10, 2011 5:03 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please try to place the breakpoint in WDDOINIT method. Since you are saying that the pop up is appearing, WDDOINIT method has to get called.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your information is not clear and incomplete as well.
What and when you expect the wdc-2 method to be called ? What have you done so far to do that?. You may expect something which is not programmed to do so.
Please explain the scenario and your logic and expectation, then we may be able to assist you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bhaskaran,
My WDC1 have 3 buttons save... exit.. and Publish...
When I press Publish button the WDC2 should open a in window...
WDC2 ( Cascading of Goals-- PMS module HAP_CASC_GOAL I copied and created a Z component to use this as popup and I have created a component usage and given create window. ) have one List box with three different values and based on the dropdown selection it will display the employee list...
When I am pressing on Publish button The popup is coming with Drop down but when I am selecting the employee list is not coming... And try to debug the code its going into init() method after that its coming out of the component.
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( ).
lo_window = lo_window_manager->create_window_for_cmp_usage(
interface_view_name = 'WDW_MAIN'
component_usage_name = 'ZCASC_GOAL'
title = 'pubish'
close_in_any_case = abap_true
message_display_mode = if_wd_window=>co_msg_display_mode_selected
).
lo_window->open( ).
hi Hari,
The requirement is not clear. My understanding from your post is
1. WDC2 (PopUp window) is called from WDC1 (Parent Window).
2. You have written some method on the load of WDC2, which is not called when the popup window is called from WDC1.
Is my understanding right?
Regards,
Ganesh N
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Harikrishna,
You ahve to use create_window_for_cmp_usage method.
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( ).
lo_window = lo_window_manager->create_window_for_cmp_usage(
interface_view_name = 'VIEW'
component_usage_name = 'CMP'
title = 'Comp Usage'
* close_in_any_case = abap_true
message_display_mode = if_wd_window=>co_msg_display_mode_selected
).
lo_window->open( ).
Please check this...
Cheers,
Kris.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello HariKrishna,
In which method did you set breakpoint? Ideally it will process the methods of wdc2. could you ensure that you dont have more than 5 SAP gui sessions open. Because for debugging it will try to open one SAP gui session. If you have already opened 6 sessions then it wont open the debudding session.
BR, Saravanan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Harikrishna,
this is really strange... could you ensure the following
1. you have set the breakpoint for the same user with which you are launching the application. Ideally if you set a breakpoint, you will get a message saying 'external point set for so an so user. this username should be same as the one with which you are launching your application
2. check whether you have TCODE SRDEBUG. if so then in the SRDEBUG activate the debugging for the user and check it.
this is another way of activating the external debugging.
By the way, is something is not working for you while launching the popup or you just want to check in the debugging mode.
BR, Saravanan
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.