on 10-13-2009 12:24 PM
Hiii Experts..In my First page i have a table...In which i have four line item...i want to issue a page break when the field posnr changes...waiting for ur reply...
data:
HEADER (table)
- DATA (repeating node)
--ITEM (table)
---DATA (repeating node)
-
vobjnr (textfield)
-
hmonth (textfield)
-
htjdat (textfield)
--objnr (textfield of table HEADER)
--pspid (textfield of table HEADER)
hierarchy:
MAIN (subform)
- HEADER (SUBFORM, binding to HEADER)
--overflowLeader (subform for captions)
--DATA (subform, repeating node, BInding to HEADER.DATA[*] --> condtional break
DATA[-1].attributes.OBJNR ne DATA.attributes.OBJNR
)
---attributes (subform, contains fields objnr, pspid)
---items_all (subform)
-
ITEM (Table)
.......DATA of ITEM and son on....
better??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
I hv a similar issue.
I have created a subform (Repeat subform for multiple line item data is Active /Checked) i need to print the data in a new page whenever there is a change in customer(kunnr)
Subform name : kunnr
field name : ship-to
Pagination :
Place : Following previous
After :Continuing filling parent
conditional break : kunnr[-1].Ship-to ne kunnr.Ship-to
break : before
To: top of next page.
no trailing and leading.
i am not getting the data in new page ,
Can u kindly help me out .
in the "OBJECT" palette of your repeating object (I will name it "items", the field for the change "posnr") you can find a pagination tab
there you find an "EDIT" Button for condtional breaks, press it
in the following popup several options exist.
in your case i would use
language: formcalc
run at: client
when:
items[-1].posnr ne items.posnr
(<-- the old posnr is not equal the following posnr)
break: before
to: Top of next page
leader and trailer specify on your own
norbert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dinesh,
It worked for me!
Ok here is the trick..
While writing formula in condition make sure you have complete node path of the field(which includes subform names too).
You can get this complete path by selecting the Field and check script editor with any event like validate etc.. copy that whole path.and now put the condition as recommended by norbert..
Let me know if you still have issues.
rgds
Vara
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.