cancel
Showing results for 
Search instead for 
Did you mean: 

Combining multiple smartform output in one spool request

Former Member
0 Kudos

Hi,

I'm calling 5 different smart forms from driver program based on some conditions and trying to merge the output of each of these smart forms in a single spool request. I achieved this by setting control parameters no_open and no_close based on first or last print.

The problem i'm facing now is when i call one particular smart form ZSMARTFORM6 along with other smartforms i'm getting a error FORM SMARTFORM6 has wrong Page format.

If i call only this smart form it is working correctly.

Any idea how to avoid this error message.

Regards,

Raghavendra

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Please check the page format in FORM attributes output options for the smart for you are facing problem with. Is it different compared to the other smart forms? If possible try to have same page format for that smartform as well

Answers (2)

Answers (2)

Former Member
0 Kudos

Solved on my own.

Former Member
0 Kudos

Hi Raghavendra,

COuld you kindly let us know how you have solved your issue? Your answer could be very much helpful.

Thanks,

Balaji

Former Member
0 Kudos

Hi

In The control Parameters u have an Option NO_OPEN and NO CLOSE u have to use this to combine multiple SSF to one Spool

DATA SSFCTRLOP LIKE SSFCTRLOP.

CALL FUNCTION 'SSF_OPEN'

.....

SSFCTRLOP-NO_OPEN = 'X'.

SSFCTRLOP-NO_CLOSE = 'X'.

CALL FUNCTION SMART1

EXPORTING

CONTROL_PARAMETERS = SSFCTRLOP

CALL FUNCTION SMART2

EXPORTING

CONTROL_PARAMETERS = SSFCTRLOP

CALL FUNCTION SMART3

EXPORTING

CONTROL_PARAMETERS = SSFCTRLOP

CALL FUNCTION SMART4

EXPORTING

CONTROL_PARAMETERS = SSFCTRLOP

CALL FUNCTION 'SSF_CLOSE'

Surya

Edited by: suryareddy on Aug 27, 2009 9:24 AM