on 06-18-2009 8:55 AM
i have created a script in smart form .. regarding provident fund and loans its working alright once i select single pernr ... i want that if i select more than one pernr.. the report may print all the data on diffrent pages .. with respect to the pernr
kindly help me in this regard
Amamd
Hi,
If u want the New Page for every pennr in Scripts, Just use Function Module CONTROL_FORM and command NEW-PAGE in the loop of the internal table. also define PERNR as ur first field in ur internal table & SORT ur internal table with PERNR.
Eg:
SORT it_pa001 by pernr.
LOOP AT it_pa001.
at end of pernr.
call function 'CONTROL_FORM'
exporting
command = 'NEW-PAGE'.
endat.
endloop.
If u want New Page in Smartform, Just create a COMMAND (just right click on TEXT and select COMMAND) 'Go to New Page' and give the first page name.
Hope it helps!!
Rgds,
Pavan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.