cancel
Showing results for 
Search instead for 
Did you mean: 

Reading data from table in Interactive PDF

Former Member
0 Kudos

Hi All,

I have a table in interactive PDF which i am calling in WD abap, i want to read the contents of that table.

I have searched through many post in this forum, and tried all of them but things still not working.

I have tried using the method GET_STATIC_ATTRIBUTES_TABLE, but it didnt work.

i also tried to bind the internal table and read the data that also did not work.

Can you le tme know the steps invlolved in reading data from a table in PDF?

So that i can re-work again.

All help will be appreciated.

Accepted Solutions (1)

Accepted Solutions (1)

uday_gubbala2
Active Contributor
0 Kudos

Hi Runal,

Try go through this [thread in which Mahesh|; was facing exactly the same problem. Try check if your problem can get resolved using his inputs.

Regards,

Uday

Former Member
0 Kudos

hi Uday,

have gone through that post.

I have filled the itab it with some data and bound it to the Node.

Now when i use the method GET_STATIC_ATTRIBUTES_TABLE, it get that number of rows which i have filled in BIND_TABLE method. But all the rows are empty, there is no value in them....!!!

Any idea why this is happening...????

former_member188831
Contributor
0 Kudos

Dear Runal,

the fudamental concept is by default the table will be in display mode, if you would like to input some data in table you have to open the no.of rows by using bind_table.here just we pass some dummy data like if your table is having srlno field then update with 1,2,3...etc.then bind, now the table is binded with N Rows.these rows are ready to input.

then in pdf table you fill the data then click on your save button and use the same way get_static_attributes_table now you can see the values in the itab which you have filled in your pdf table.

All the best...

Regards,

Mahesh.Gattu

Answers (2)

Answers (2)

Former Member
0 Kudos

Dear Runal,

I have the similar requirement in one of my projects..

This is the process..

1) Create an interface using SFP.

2) At the time of interface creation, please be sure that you have an internal table in either of the Import or Export parameters.

3) Save and activate the Interface.

4) Create a form using SFP.

5) At the time of creation, drag and drop the internal table in your import/export in to the Context of the Form.

6) Now switch on to the layout, and drag drop the Table on the Layout, and save it.

7) Activate the form.

😎 Go to SE80, and create a Webdynpro component.

9) Under the MAIN view ( which is considered to be the first view in the Component ), create an UI Interactive element on the view.

10) Set the Display type as 'ACTIVEX', and check the Enabled property of the UI element.

11) Under the template source give the Form name created in the 4th step.

12) Automactically, a node will be created in the view's Context.

13) Now also create another table to get the data from the adobe form.

14) When the PDF table has some data, then the same node will be there in the WDC too.

15) Bind the table with the node which is generated using Form.

16) activate the WDC,

17) Create a WD. Application,

20) Test it, you will be able to get the data in your table.

NOTE: cardinality should be 0:n or 1:n for the node.

if you are using other node to populate the view's table, then write the code in DOINIT and populate it.

I hope this process is clear, and might be useful to you.

Good day!

Regards,

Shashikanth. D

Former Member
0 Kudos

Hi,

check this out

may be it will help you out

[https://forums.sdn.sap.com/click.jspa?searchID=20243132&messageID=6579805]

[https://forums.sdn.sap.com/click.jspa?searchID=20243132&messageID=6346797]

Edited by: Neha Thukral on Dec 23, 2008 7:22 AM