on 07-30-2007 1:11 PM
Hi All,
I want to print one record per page, from the Internal Table having multiple records, using SAPScript.
Can anyone help me out in this topic?
Thanks in advance.
If you want to dispaly single record on page, you can do this in two ways..
1) if you have driver program in control, loop all your windows.
2) if you don't have driver program in control, then in main window once first record is printed use :NEW-PAGE.
Regards,
Sairam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Atul,
In the script editor, in the MAINWINDOW, specify <b>NEW-PAGE</b> after printing the values from internal table.
<b>In the script editor:</b>
/E ITEM_PRINT
/: ITAB-F1,,ITAB-F2,,ITAB-F3
<b>/: NEW-PAGE</b>
<b>In the driver program:</b>
LOOP AT ITAB.
CALL FUNCTION 'WRITE_FORM'
EXPORTING element = 'ITEM_PRINT'
EXCEPTIONS OTHERS = 1.
ENDLOOP.
Thanks,
Vinay
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 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
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.