cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Multiple pages with dynamic header text using table line item

0 Likes
1,439

Hi All,

In my case i have to populate Master page (header) - dynamic header text which is available in line item level (Body page)(WORKC_DESC1) based on my line item details of my internal table.

i have conditional page break based on flag in that table. Based on that flag, page break happening, after page break i am not able to get the line item field value.

Note: i have not used table property for table display, instead i am using subform as table for display item like below:

whatever the script i am writing within many events (Javascript & Formcalc) to get the current page item details also not working...

i have tried many blogs, but not working....Please help to achieve the solution....

Accepted Solutions (0)

Answers (1)

Answers (1)

pmcfarling
Participant
0 Likes

For future reference. I was able to solve this using this blog.

https://blogs.sap.com/2016/05/12/adobe-form-using-javascirpt/

basically I was able to use javascript on the field to dig into the table in the context using the page number

i.e. this.rawValue = xfa.resolveNode("$record.GT_CLIN_ALL.DATA[" + xfa.layout.sheet(this) + "].DSNCLIN").value;