Skip to Content

Calling Multiple Smartforms from the Print Program

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 30, 2005 at 09:38 AM
    11

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 30, 2005 at 10: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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.