on 04-09-2007 7:30 AM
hiii
iam new in smartforms so pls help....In smartfoms iam getting 10 records as o/p depending on kunnr in 1 page ,but now i want all this 15 records in a new page i.e each record in 1 page i.e 15 record in 15 pages.... how to do that...
i think we have to use loop but don't know how to do it...
thanks.....
hi when u r looping the ITAb call the COMMAND node to Goto NEWPAGE and call the SAME page agian.
eg. u r in PAGE1 then inside the loop call the PAGE1 using the COMMAND node
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In loop use <b>'CONTROL_FORM'</b> fm
CALL FUNCTION 'CONTROL_FORM'
EXPORTING
COMMAND = 'NEW-PAGE'
EXCEPTIONS
UNOPENED = 1
UNSTARTED = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. " IF SY-SUBRC <> 0
Regards,
ananth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Hemant,
we can mention condition like LOOP UPTO 15 records.
Print all these 15 records in one window and remainng loop from 15 to 25.
mention other window.
Hope this helps you, reply for queries, Shall post you the updates.
Regards.
Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.