2005 Dec 30 7:53 AM
Hi All,
I have a issue regarding SAP Script multiple page display.
The actual issue is i have 3 pages in my Layout set.
They are <b>FIRST, SECOND, THIRD</b>, In their attributes for FIRST page NEXTPAGE attribute given as SECOND, For SECOND page NEXTPAGE attribute given as THIRD.
Now what i want is 3rd Page[THIRD] should be displayed as first page in the output. 1st Page[FIRST] should be displayed as second page in the output. 2nd Page[SECOND] should be displayed as third page in the output display.
This scenario i need to control from <b>Print program.</b> not from <b>Layout set</b>.
Can any body tell me how can we solve this issue from <b>Print Program</b>.
Thanks in advance.
Thanks & Regards,
Rayeez.
2005 Dec 30 8:06 AM
hi
instead create different layouts, and call them using start_form in which ever order you want.
regards
vijay
hi
instead create different layouts, and call them using start_form in which ever order you want.
regards
vijay
2005 Dec 30 8:01 AM
2005 Dec 30 8:06 AM
hi
instead create different layouts, and call them using start_form in which ever order you want.
regards
vijay
2005 Dec 30 8:16 AM
Hi Vijay,
My Case is diffrent i already have 3 page in single layout set. i should not change anything in layout set.
Without going for multiple layout set's can't i control printing pages from print program.
I hope you got my issue.
Thanks for your reply.
Thanks & Regards,
Rayeez.
2005 Dec 30 8:29 AM
i'm not sure..
i think in this case also
you can try with start form.
first open_from,
CALL FUNCTION 'START_FORM'
EXPORTING
* ARCHIVE_INDEX =
FORM = 'ZTESTFORM'
* LANGUAGE = ' '
STARTPAGE = 'THIRD'
PROGRAM = 'ZTEST'
* MAIL_APPL_OBJECT =
* IMPORTING
* LANGUAGE =
* EXCEPTIONS
* FORM = 1
* FORMAT = 2
* UNENDED = 3
* UNOPENED = 4
* UNUSED = 5
* SPOOL_ERROR = 6
* CODEPAGE = 7
* OTHERS = 8
.
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.and then use end_form.
then second page with start form,end_form, similarly first page.
try ..
vijay
2005 Dec 30 8:31 AM
that will work for you,
first pass third page ,first page, second page.
using start_form, end_form in side open and close form.
that will do..
Try ...
Start_form has option to specify the startpage,
check that..
vijay
Wish you happy new year.
2005 Dec 30 9:04 AM
hi shaik,
use 3 start_forms.
in the first start_form give
startpage = 'THIRD'
then use all ur WRITE_FORM within this.
and then END_FORM.
do the same for ur first and second page...
2005 Dec 30 9:18 AM
Hi Rayeez,
I am not fully sure but I suggest some tips,may be this will work for you.
in the 'start_form' function module ,there is a parameter to specify from which page the contents has to be printed or try in control_form function module in which u can specify the page break.
regards,
kranthi namala,
Bristlecone India Ltd.
91+98803.62839.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |