cancel
Showing results for 
Search instead for 
Did you mean: 

SAPScript: How to print mutiful forms in one program?

Former Member
0 Kudos

Dears,

I want to print invoice in my program, And one invoice number should print one form.

My question is : if there is a internal table contains 10 different invoice number, and I want to print 10

forms. Is that means, I should use FM 'OPEN_FORM' 10 times?

If do, I would have to fill the popup dialogue window 10 times.

Anybody who have good ideas about this problem? Thank a lot.

Sincerely yours,

Julie

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I suppose you want to print several sapscripts in one spool

In that case you need to use START_FORM END_FORM

It would be something like this


OPEN_FORM

Loop at invoices.
START_FORM

ENDFORM
endloop.

CLOSE_FORM

Answers (1)

Answers (1)

sachin_mathapati
Contributor
0 Kudos

Hi Julie,

Call open_Form and Close_form only once in your report .

Loop at invoice numbers and call strat_form end_form to print each invoice.

Regards,

Sachin M M

Edited by: Sachin Mathapati on Jun 11, 2009 9:37 PM