cancel
Showing results for 
Search instead for 
Did you mean: 

display all sales order's smartform output in one spool request

Madhurivs23
Participant
0 Kudos

Hi,

If suppose user has given sales order number from 01 to 14 then the output of all sales order should come in one print priview of spool request. How to do it?

Please help.

Thanks in advance,

Rgds,

Madhuri

Accepted Solutions (1)

Accepted Solutions (1)

former_member205763
Active Contributor
0 Kudos

See this

[Printing Several Forms in One Print Request |http://help.sap.com/saphelp_nw04/helpdata/en/64/bf2f12ed1711d4b655006094192fe3/frameset.htm]

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Madhuri,

Call open form write form and close form in loop so that till sales order remains in the loop the form will continue to print. In this way all sales order in internal table will print in the same spool.

Hope this will help you.

Regards,

Vijay

former_member205763
Active Contributor
0 Kudos

In the control parameters that u pass to smartforms pass this parameter NO_CLOSE as X

It will not close spool and keep on appending it, after each loop pass.

Former Member
0 Kudos

Hi,

Loop the sales order table (contains 0001 to 0014), call FORM inside the loop.

Hope its clear!!

Regards,

Pavan

Madhurivs23
Participant
0 Kudos

Hi,

This I had thought previously. But I need all the prints in one spool. If I put loop, then I need to see each printout one by one and not in mass

Former Member
0 Kudos

Hi,

by doing like in my earlier thread, if you run for mass sales orders it will print all in one spool only.

Regards,

Pavan

Former Member
0 Kudos

you can pass TDNEWID = space single spool number all documents

TDNEWID = X means its generates mulitple pages.