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.