on 12-14-2007 12:01 AM
Hi Experts,
I am not able to get the data in the adobe form from an internal table.
I need to put the data in individual fields in the adobe form.
I'm working on Adobe Interactive form developed in WDP ABAP.( I have successfully config the ADS in my server.)
Action:
1. There are 1 table in the Adobe Interactive form((Adobeform)created by the 'sfp' t-code.
a) create a interface with a structure(A_STRU).
b) create a form with the interface.
c) In the layout of the form, drag a table to the form.
d) Binding the table to the A_STRU.
e) Binding the fields of the table to the fields of the structure.
2. Create a view -
first_view in the WDP ABAP.
3. In the first_view, there is a Interactiveform ( named "adobe_form" ) to be binding the Adobe Interactive form (Adobeform).
4. Type the code in the wddoinit of the first_view for bindding the internal table to context of the adobe interface.
......
DATA lo_nd_z_php_form_pay TYPE REF TO if_wd_context_node.
DATA lo_nd_g_context TYPE REF TO if_wd_context_node.
DATA lo_el_g_context TYPE REF TO if_wd_context_element.
DATA ls_g_context TYPE wd_this->element_g_context.
navigate from <CONTEXT> to <Z_PHP_FORM_PAY> via lead selection
lo_nd_z_php_form_pay = wd_context->get_child_node( name = wd_this->wdctx_z_php_form_pay ).
g_context is the context interface of the adobe form.
navigate from <Z_PHP_FORM_PAY> to <G_CONTAIN> via lead selection
lo_nd_g_context = lo_nd_z_php_form_pay->get_child_node( name = wd_this->wdctx_g_context ).
binding the g_context to the form context.
lo_nd_g_context->bind_table( result_payslip ).
.....
through the debug the program, I found 50 records in the result_payslip internal * * table .
5. run the wda, I find the nothing data to be displayed in the adobe form.
6. But I can transfer a string parameter from wda to adobe form. I don't know how to transfer data in the table?
I don't know how to config the table in the adobe form?
I hope to get the guide for step by step to solve the problem. Thanks a lot .
I hope to get some hints. Thanks a lot .
Pls help me out.
Thanks & Regards,
Tao
Hi, all experts,
I have solved the problem. Thanks a lot.
Best regards,
tao
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
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.