on 12-17-2007 1:16 PM
Hi,
I habe a problem with a popup window.
I'm creating a popup in a new window, with a new view. In this popup I use a InteractiveForm to present a spool document in PDF. The window open and I see the PDF document. When I try to close the window and click on the close button, the window show me "please wait" and nothing happend. After a second click on the close button, the window close.
Why doesn't close the window at the first step.
Here ist the code:
I convert a ABAP Spool to PDF and convert it to xstring.
After this, I export the xstring to a context attribute:
node_pdf = wd_context->get_child_node( name = 'PDF' ).
elem_pdf = node_pdf->get_element( ).
node_pdf->set_attribute(
EXPORTING
name = `DOCUMENT`
value = r_file ).
Now, I call the popup window
l_api_main = wd_this->wd_get_api( ).
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
wd_comp_controller->popup = lo_window_manager->create_window(
window_name = 'SECOND_WINDOW'
close_button = abap_true
button_kind = if_wd_window=>CO_BUTTONS_CLOSE
).
wd_comp_controller->popup->open( ).
Could somebody help me, I dont' now how I close the window on the first click.
Thank you for your help.
Best regards
Daniel
Edited by: Daniel Tockhorn on Dec 17, 2007 2:18 PM
Hi Daniel,
I think this link will help you........
/people/mohammed.anzys/blog/2007/06/10/webdynpro-abap-controlling-external-windows
Thanks ,
Kishor.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Rainer,
thank you for your answer.
Is there another chance to display a abap spool document in pdf-fomat in webdynpro for abap?
Thank you for your help.
Best regards
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Daniel,
this issue is well known and the result of a limitation in the usage of Adobe in Web Dynpro ABAP. Generally spoken the usage of Interactive Forms in Web Dynpro ABAP popups is not supported. Please read note 1098009 about this topic.
Regards,
Rainer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
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.