cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple smartform call in a single custom program

Former Member
0 Kudos

Hi,

I have a custom program from where i have to call A4 and A3 size smartforms. If i use SSF_OPEN and then call to smartforms and SSF_CLOSE it gives me error like previous martform request is not completed.

Can anybody provide me the code how to call first A4 size smartform and then A3 size in a single call?

also is there a need to provide something called TRAY for printing the pages?

Regards,

Cooldeep

Accepted Solutions (0)

Answers (2)

Answers (2)

raymond_giuseppi
Active Contributor
0 Kudos

Did you set the NO_OPEN field and the NO_CLOSE field of the control structure for every called form between SSF_OPEN and SSF_CLOSE. (*)

But are you sure it is possible (and advisable) to merge two form spools of different format (2 different trays) in a single print request ? (**)

Regards,

Raymond

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

(**) Also check your parameters and compare with sample report SF_EXAMPLE_03

Former Member
0 Kudos

Hi

First call the FM for A4 size and then call for the A3 size.

Make sure that both the forms should have same interfaces so that you can pass the same ITAB and etc.

Shiva