on 09-04-2007 6:45 AM
Hi ,
I have a typical problem with SAP SCRIPT
where in i have to generate the form in 2 pages
first page consist of Goods Issue material documnet number
Second page should consist of serial number s for that document number
where i am print the first page but unable to print the second
i have taken all mandt action like
PAGES
first-> second
second->second
then i have given /: NEW PAGE <page> in main window
then the footer shifts to the next becoz the footer window is after the main window
then i have given the same in footer window but the new page is not triggering
i tried with conditions like IF &NEXTPAGE& EQ 0. and all other but unable to find the solutions
hi,
use CONTROL_FORM 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.
ENDLOOP.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.