Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Internal table data disappearing in Adobe forms

former_member806437
Participant
0 Kudos

Hi experts,

I have created an internal table in SFP interface. To read the data to the Internal table I've used field symbol. While debugging it is showing the in the table. But when the loop processing is finished and go to the next statement the data in internal table is getting cleared. So in the form the table data is empty.

Could you help me in solving the issue.

Thanks.

5 REPLIES 5

venkateswaran_k
Active Contributor
0 Kudos

Please share your code on the processing routine where you loop the internal table.

also share the screenshot of place where you see the data is empty

former_member806437
Participant
0 Kudos

Hi,

Thanks for your reply. Below is the code

"Table data
ASSIGN bil_prt_com-item_detail TO <fs_vlist_tab>.
LOOP AT <fs_vlist_tab> INTO wa_vlist.
"Item number
x_tab_data-item_no = wa_vlist-vbdpr-posnr_vauf.
"Invoice Details
CASE bil_prt_com-head_detail-vbdkr-vbtyp.
WHEN 'M'.
DATA(v_bill_inv_name) = 'Invoice'.
WHEN 'O'.
v_bill_inv_name = 'Credit Memo'.
WHEN 'P'.
v_bill_inv_name = 'Debit Memo'.
WHEN '5'.
v_bill_inv_name = 'Intercompany Billing'.
* WHEN OTHERS.
ENDCASE.
x_tab_data-invoice = v_bill_inv_name.
APPEND x_tab_data TO it_tab_data.
CLEAR : x_tab_data .

ENDLOOP.

When I try to print the form, table is getting displayed without data in it.

venkateswaran_k
Active Contributor

Check the Binding of data to this internal table - which you drag and drop in SFP.

Effectively it should be bound to the new appended table it_tab_data.

former_member806437
Participant
0 Kudos

Yes it is binded. Everything is getting displayed in the form except this internal table data.

former_member806437
Participant
0 Kudos

Hi,

I have declared internal table in both global data and code initialisation. After removing the table declaration in code initialization part the data is not getting cleared.

But in adobe form even after binding the data is not populated in the table.