cancel
Showing results for 
Search instead for 
Did you mean: 

SMARTFORM: how to create 3 copy (each copy can print more than one page)

Former Member
0 Kudos

SMARTFORM: how to create 3 copy (each copy can print more than one page)

Hello everyone.

my user want to have form that print 3 copy.

such as 1 copy description = master, 2 copy description = copy 1 ,3 copy description = copy 2.

so i create 3 page . I copy from page 1.

and in each page there is main window which can have data more than 1 page.(such as have a lot of sale data ,it's take 2 page for show output .so it's take 2 page in each copy)

please help me.

how to set page and window in each page for print 3 copy and each page can have main window that print more than 1 page

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

ok

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

Hello Vinit,

thank you for your reply

my requirement is print 3 copy. (it's can 1 spool or 3 spool)

each copy have own description.(such as copy 1 = "master" , copy2 ="copy")

and each copy maybe more than 1 page (if have a lot of data).

for your recommend

what is 'nast_anzal'. and put '3' . is it parameter when call smart form ?

Former Member
0 Kudos

Hi,

If you provide full info, it will be lot more helpful in solving your issue.

I asked you whether you are using driver program?????? for which transaction you are doing the smartform?

If you are using driver program to get triggered from transaction code, you can find in your driver program, before the function module is called, somewhere it is written as follows:

Do nast_anzal times.

change nast_anzal to no. of copies you want to print. Also make use of a counter in the do loop. or displaying as master / copy, put your condition as counter ne 1 than print copy. else print 'master'.

<request removed by moderator>

Regards,

Vinit

Edited by: Thomas Zloch on Mar 12, 2011 10:29 PM

Former Member
0 Kudos

Thanks Vinit

i got clue from you.

i think i found solution

Former Member
0 Kudos

Hi,

Thanks for appreciating...

Can you please close the thread if your issue is solved.

It makes confusion otherwise.

Regards,

Vinit

Former Member
0 Kudos

Hello Vinit.

thank you very much for your help.

could you help me more please.

in below code

DO NAST_ANZAL TIMES.

l_counter = l_counter + 1. " << pass this to FM and use for the TEXT to print

CALL FUNCTION LF_FM_NAME

EXPORTING

COUNTER = l_COUNTER " USE this to derive the text into PRINTOUT

........

enddo.

Now i out of office .so i cannot test.

where do i set NAST_ANZAL for 3 ?

can i input ?

NAST_ANZAL = 3.

DO NAST_ANZAL TIMES.

l_counter = l_counter + 1. " << pass this to FM and use for the TEXT to print

CALL FUNCTION LF_FM_NAME

EXPORTING

COUNTER = l_COUNTER " USE this to derive the text into PRINTOUT

........

enddo.

Edited by: dittaporn nanasilp on Mar 12, 2011 3:33 PM

Former Member
0 Kudos

Yes, Go ahead with your approach, i.e. manually fill the value of nast_anzal = 3.

BR,

Vinit

Former Member
0 Kudos

Hi,

Can you please explain your requirement properly?

If you are trying to print the same smartform (3 copy / times), in a single spool, Than follow this steps.

If you are suing a print program to trigger your smartform from some transaction, than find out in your print program 'nast_anzal'. and put '3' over there. By doing this your form will get printed 3 times out of which 2 will be copies.

Hope this will help you in resolving the issue.

<request removed by moderator>

Regards,

Vinit

Edited by: Thomas Zloch on Mar 12, 2011 10:29 PM