‎2007 Jul 12 9:12 AM
Hi all,
User has a requirement that he needs to print an Layout number of times for each time when they give the print with different headings.
Can anybody tell me the way how to do it.
thanks & regards
magesh
‎2007 Jul 12 9:15 AM
Hi shaik,
In scripts you have the current copy stored in Nast structure field is anzal. Use this field and you can programatically handle the situation.
if you look at the table NAST there is a field ANZAL, look at the field, this field will contain the Number of copies of the Script, based on this write the header ...
Write the select based on the Output type, then
IF &NAST-ANZAL& = 1.
First header.
ELSEif &NAST-ANZAL& = 2.
Second header.
ELSEif &NAST-ANZAL& = 3.
Third header.
Endif.
Regards,
Line
‎2007 Jul 12 9:14 AM
Is there any specific condition that if i execute this time i have to show this heading?
‎2007 Jul 12 9:14 AM
Hi,
In scripts you have nast structure there on field by name anzal contains the copy number use this and handle your requirement programatically.
Hope this answers your curiosity,
Award points if useful else getbk,
Aleem.
‎2007 Jul 12 9:15 AM
Hi shaik,
In scripts you have the current copy stored in Nast structure field is anzal. Use this field and you can programatically handle the situation.
if you look at the table NAST there is a field ANZAL, look at the field, this field will contain the Number of copies of the Script, based on this write the header ...
Write the select based on the Output type, then
IF &NAST-ANZAL& = 1.
First header.
ELSEif &NAST-ANZAL& = 2.
Second header.
ELSEif &NAST-ANZAL& = 3.
Third header.
Endif.
Regards,
Line