on 12-24-2010 7:57 AM
Dear Friends,
Kindly suggest me any way to use create_popup_to_confirm outside of WDA in a custom class method.
Thanks ,
Lalit Singh
hi~
You should:
1. Get the window manager of the WD, for example:
wd_this->GO_WINDOW_MANAGER = lo_api_comp->get_window_manager( ).
2. Then pass the parameter to your class method which has one parameter typed "IF_WD_WINDOW_MANAGER", for example: Parameter Name is "IO_WINDOW_MGR"
3. Then you can use this reference object to open pop_up window.
Best wishes~
Good luck.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Friends,
I have to enhance Travel Management System by putting popup on SaveDraft button.
When i put popup logic in PRE_EXIT, popup appears after execution all phase model (WD Framework) , thus running SAVE_AS_DRAFT method also.
I tried POPUP_TO_CONFIRM, but it throws dump.
then i tried to create a class method using CREATE_POPUP_TO_CONFIRM, but it again has some restriction like we cant use WD_GET_API outside of WD Framework.
So i seek an alternate way to use CREATE_POPUP_TO_CONFIRM in a class method so that i could trigger it from outside WD framework without giving dump.
Thanks
Edited by: Lalit Singh on Dec 24, 2010 12:32 PM
>
> Hi Friends,
>
> I have to enhance Travel Management System by putting popup on SaveDraft button.
> When i put popup logic in PRE_EXIT, popup appears after execution all phase model (WD Framework) , thus running SAVE_AS_DRAFT method also.
>
> I tried POPUP_TO_CONFIRM, but it throws dump.
>
> then i tried to create a class method using CREATE_POPUP_TO_CONFIRM, but it again has some restriction like we cant use WD_GET_API outside of WD Framework.
>
> So i seek an alternate way to use CREATE_POPUP_TO_CONFIRM in a class method so that i could trigger it from outside WD framework without giving dump.
>
>
> Thanks
>
> Edited by: Lalit Singh on Dec 24, 2010 12:32 PM
Hi,
few days ago Thomas Jung answered to similar question.
As the event phase model is not completed, your pop up is not appearing in between. Pre and post exits. Let me search for Thomas Jung reply if he has suggested any work around.
This was thread [|] and unfortunately you were the person asked that question.
Since this is an FPM application you can try the following . i am not sure if it would work though
1. Some how you need to find a way to defer the FPM event from your pre_exit method.
2. Display your own custom dialog popup (webdynpro window).
3.Based on the yes or no answer you can resume or fail the event which you defer in step-1.
See the FPM developer's manual regarding this approach (POPUP dialog).
Edited by: Baskaran Senthivel on Dec 24, 2010 1:33 PM
Edited by: Baskaran Senthivel on Dec 24, 2010 1:39 PM
>
> Dear Friends,
>
> Kindly suggest me any way to use create_popup_to_confirm outside of WDA in a custom class method.
>
> Thanks ,
> Lalit Singh
Hallo Lalit,
do i understand you correctly that you want to call create_popup_to_confirm interface method of if_wd_window_manager from class method.
Can you please explain why do you want to do that ?
i would say , implement this interface if_wd_window_manager.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
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.