‎2005 Sep 30 10:29 AM
Hi,
I've created 4 Smartforms and using a single Print Program to call all the 4 forms.
When I execute the PrintProgram, the first form is being displayed when clicked on the Print Preview.
Now, <b>inorder to view the 2 form, I would need to go back using F3 and then use print preview again inorder to see the next form.</b>
Is there any way that this could be avoided so that I get to see 4 forms page after page soon I executed the Print Program.
Any help on this is Highly <b>APPRECIATED</b>.
Thanks & Regards
Arun
‎2005 Sep 30 10:38 AM
Hi
You have to get out the opening/closing of prints from fm of smartforms. You can do it by fm SSF_OPEN/SSF_CLOSE
So the flow of your program should be:
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'
Max
‎2005 Sep 30 10:38 AM
Hi
You have to get out the opening/closing of prints from fm of smartforms. You can do it by fm SSF_OPEN/SSF_CLOSE
So the flow of your program should be:
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'
Max
‎2005 Sep 30 12:12 PM
Hi Max,
Thank you very much for your timely response.
My issue has been resolved after making the changes you suggested.
<b>Might need more such help from People like YOU! THANK YOU!</b>
Thanks & Regards,
Arun
‎2005 Sep 30 11:24 AM
hi,
check with this
SSFCTRLOP-NO_DIALOG = 'X'.
SSFCTRLOP-PREVIEW = 'X'.
when you press back it will goto next page with out dialog box
cheers,
sasi
‎2005 Sep 30 12:15 PM
Hi Sasi,
Thank you very much for the information provided.
Though this is not my requirement, the information is quite helpfull.
Have awarded points for YOU too!
Thanks,
Arun