cancel
Showing results for 
Search instead for 
Did you mean: 

2 smartforms in one program

Former Member
0 Kudos

is it possible to call 2 smartforms in one program wherein the 2nd smartform will always be printed as last page?

how do i do this in the program?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI,

End of the first smartfrom call place the call for the second smartfrom and save the both forms in same spool request which is generated in first smartform call.

You need to pass the control parameters to the smartfrom..check the below code

control_parameters-no_close = 'X'.
  control_parameters-no_open = space.
  " Calll First smart Fom
  control_parameters-no_open = 'X'.
  control_parameters-no_close = space.
  " Calll second smart Fom

Answers (3)

Answers (3)

Former Member
0 Kudos

It is possible to call two smartforms and combine their output..check the link

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/62ae7fcd-0b01-0010-3e9d-a54f2694...

But i think when you are doing everything in one samrtform itself as second smartform will be last page always.

Madhurivs23
Participant
0 Kudos
Former Member
0 Kudos

Hi,

If you want to print a content in the last page there is no need to go for second smartform, i think this can be achieved in a single smartform. Anyhow its very much possible to call multiple smartforms from a report as its just like calling a Function module.

Regards

Karthik D