on 08-14-2008 12:09 PM
Hi All,
My requirement is:
Different pages with different formats means
page 1: Landscape
page2: Portrait.....etc
Tel me the steps clearly.
Regards,
Rohit
k
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Different Page formats can be done easily in case of smartform, while coming to SAP script you have to modify your driver program and make sure you create two forms with different page format, i.e. first form with PORTRAIT and second form with LANDSCAPE format.
Now, inside your driver program, build your logic, make sure to close the first form before you open the second form inside your program.
Ex: let us say we have an internal table with 20 line items
Now assume that you want to print 10 line item in first page(portrait) and remaining on second page(landscape)
OPEN_FORM <FIRST FORM>
FLAG = 'X'.
Loop <internal table>
IF SY-TABIX > 10.
IF FLAG = 'X'.
CLOSE_FORM<FIRST_FORM>
OPEN_FORM<SECOND FORM>
CLEAR FLAG.
ENDLOOP.
IF FLAG = 'X'.
CLOSE_FORM <First Form>
ELSE.
CLOSE_FORM < Second Form>
Endif.
Rgds,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
you can mannually set this by using radio button for page nodes( Landscape
or Portrait).
but make sure that you have selected the right option, since the size of the windows will be according to the page size..
pradeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rohit,
Double click on page node....
Output Options tab --> select radio button of your page format.
You can set it for each page
regards
padma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
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.