cancel
Showing results for 
Search instead for 
Did you mean: 

Tables in Interactive form

Former Member
0 Kudos

<b>Hi

Can any one tell me how to populate the Table Values from the webdynpro application to the table in the pdf form.

I had created table and values in the webdynpro application.

Now How to copy those values to the Table in the Interactive form..

regards

Chandran</b>

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Chandran,

Use get/set method to copy the values from table to pdf. if your using same node for both table and pdf do context binding through controller. so pdf will have the data from table through controller. i hope this will solve your problem

Regards

Ravi

Former Member
0 Kudos

<b>Hi Ravi

Can you plz elaborate more in detail..........

Regards

Chandran S</b>

Former Member
0 Kudos

hi Chandran

The way to display a table of information in a PDF is to use the Subform UI element in the interactive form. Place a subform within subform. Keep the properties of the first subform as :

type: flowcontent

flow direction: Table

second subform as:

type: flowcontent

flow direction: Table Row

Uncheck the checkbox min count.

Tick the check box "repeat subform for each data item."

remember to attach the pdfsource to a 1...n node and have a sub node in which the table data is present. Drag the value node which has table data to the subform 2 and it will form the UI. At runtime the data will appear there,.

For more detailed information use this document:

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00c4041d-188d-2910-6ea2-b4d5155f56e0">How to display table data in an Interactive form</a>

Hope this helps.

regards

LNV

Former Member
0 Kudos

<b>Hi vln

Thanks for your reply

I had placed the Subform in the form when i clicked the subform and i opened the coresponidng Object Tab in that i am not getting the Type instead there is Content and it contains two options positioned and Followed.If positioned is selected flow direction was disabled if followed was selected The form display was made to single line. We are using Web Application Server 7, plz tell me whether its version problem , give an solution for my problem

Regards

Chandran S</b>

Former Member
0 Kudos

Chandran

I am not sure which version is as you describe. I am using WAS 7.0 sp9.

Intuition tells me select followed, yes the form will be made into a thin single line. Add another subform into this.

Theres a view called Heirarchy view which will show you a list of UI elements in the form. Use that add the subform 2 to existing subform 1.

In the menu go to "palettes" and choose heirarchy. Then follow as in the document.

regards

LNV

Former Member
0 Kudos

Hi Chandran,

I have one node called "DataSource", which is bound to the table in a view. I have another node called "DataSource" in controller too. These two nodes have context binding. so i can use the "DataSource" in view on table in pdf. here i use

...

wdContext.CurrentDataSourceElement().getName(wdContext.CurrentDataSourceElement().setName) in pdf.

the above set/get method copy the data from one node to another. then you will have a copy.

i hope it will work for u

regards

Ravi

Answers (2)

Answers (2)

former_member751941
Active Contributor
0 Kudos

Hi Chandran,

Check this article.

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b41fd790-0201-0010-f9ad-b4c9582a83e9">How to Handle Table Input and Output</a>

Regards,

Mithu

Former Member
0 Kudos

chk it