on 04-06-2007 10:08 AM
Hi,
I have a SAP SCRIPT which displays materails in delivery. I have to make in such a way like for every material in Delivery it should go for a new page.Also all the new page should have a header with delivery no and delivery details.
Can any one sujjest me how I can do this
Regards
Avi
Hi Avi.
Use FM START-FORM.
Try this code..
(Eg:) In itab u r having the delivey items.
Call FM 'Open-Form'.
<Code>
loop at itab.
Call FM <b>'Start-Form'</b>
on change of itab-matnr.
Call FM <b>'Write-form'</b>.
Window = Header <----
Heading (Deleivery Header Details)
<Code>
Call FM <b>'Write-form'</b>.
Window = Main <----
Content
<Code>
endon.
Endloop.
Call FM 'Close-form'.
Now u may get all material in separate pages..
Reward all useful answers
Regards
Bala..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Avi,
You can use the Function module 'CONTROL_FORM' like the below in your print progam.
call function 'CONTROL_FORM'.
exporting
COMMAND = 'NEW-PAGE'.
Other option is you can write the statement /: NEW_PAGE in your SAPScript.
Hope this helps.
Thanks,
Srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.