Quantcast
Channel: SCN : Discussion List - SAP Interactive Forms by Adobe
Viewing all articles
Browse latest Browse all 1237

Conditional Page Break not Working

$
0
0

Dear Experts,

 

I am having an internal table having data:

 

 

CARRIDCONNIDFLDATEPRICECURRENCY

DL

1111Mar 18, 2013 611.01USD
DL1111Mar 19, 2013 611.01USD
DL2222Mar 18, 2013 556USD
DL2222Mar 19, 2013556USD
DL3333Mar 18, 2013 578USD
DL3333Mar 19, 2013 876USD

.

 

My requirement is at every change in CONNID, the CONNID details should print in next new page.ie separate three pages with details of CONNID.

 

Page 1

CARRIDCONNIDFLDATEPRICECURRENCY

DL

1111Mar 18, 2013 611.01USD
DL1111Mar 19, 2013 611.01USD

 

Page 2

CARRIDCONNIDFLDATEPRICECURRENCY

DL

2222Mar 18, 2013 578USD
DL2222Mar 19, 2013 876USD

 

Page 3

CARRIDCONNIDFLDATEPRICECURRENCY

DL

3333Mar 18, 2013 611.01USD
DL3333Mar 19, 2013 611.01USD

 

For achieving this I have done:

Select the data section of Data view for the table.
Goto object and under that select pagination. There we will have conditional break and edit button against it. Click on the EDIT button, we will get a
script editor, In that click plus button and then click Insert Sample Expression button and then select CONNID. A statement will automatically come,
which will say something like Data[-1].connid ne data.connid . Then select Before radio button for BREAK and for TO select Top of Next Page. Then say OK.
Activate and execute the form.

 

But page breaking at condition is not happening. Complete internal table data is getting printed without conditional page break.

Please let me know anything else I need to do apart from steps mentioned above.

 

Thanks in Advance,

Arun.


Viewing all articles
Browse latest Browse all 1237

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>