on 10-02-2009 9:25 AM
Hi everyone
I 've a problem showing dynamic pdf form in a view.
First time it shows the first pdf ;
second time if I try to show another existing pdf,it shows the first pdf;
data: lo_nd_pdf_form = wd_context->get_child_node( name = wd_this->wdctx_pdf_form ).
DATA l_pdf_xstring1 TYPE xstring.
DATA wa_pdf_form TYPE wd_this->element_pdf_form.
DATA tb_pdf_form LIKE TABLE OF wa_pdf_form.
DATA lo_nd_pdf_form TYPE REF TO if_wd_context_node.
DATA lo_el_pdf_form TYPE REF TO if_wd_context_element.
MOVE l_pdf_xstring1 TO wa_pdf_form-form.
MOVE 02 TO wa_pdf_form-visible.
APPEND wa_pdf_form to tb_pdf_form.
lo_nd_pdf_form->bind_table(
EXPORTING
new_items = tb_pdf_form
set_initial_elements = abap_true ).
Thanks a lot.
Hi,
Try this.... set the set_initial_element as abap_false.
lo_nd_pdf_form->bind_table(
EXPORTING
new_items = tb_pdf_form
set_initial_elements = abap_false ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you try clearing the context and trying again
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.