Using SSF_OPEN and SSF_CLOSE, is it possible to print the next smartform in the same page?

Hi Experts,
I'm using SSF_OPEN and SSF_CLOSE, to print multiple smartforms. In between SSF_OPEN and SSF_CLOSE, there is a loop at a smartform. The output prints each smartform in different pages. Is it possible to print the second smartform in the first page since there is still space for printing there?
Thanks in Advanced,
Jack

Hi Jack,
As per my knowledge,
you can't print  two smartform in single page because smart form having own page-size.
If your layout page is A4 size then first layout print in A4 page and next layout will be go-to next print page. but if you have different kind of page size for both layout then you can control from printer side then that case both page will be printed in single print page.
Regards,
Prasenjit

Similar Messages

  • What is the use of fms SSF_OPEN and SSF_CLOSE

    hi to all experts,
    im printing one material id per page  .i want the dialog box for printing appear just once and all the records should be printed for that i have used ssf_open and ssf_close. but still the dialog box is coming.Is my code correct
    form print_smartform1X3.
    DATA : fm_name TYPE RS38L_FNAM.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname                 = 'ZMM_IM_001'
       IMPORTING
         FM_NAME                  = fm_name
       EXCEPTIONS
         NO_FORM                  = 1
         NO_FUNCTION_MODULE       = 2
         OTHERS                   = 3
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CALL FUNCTION 'SSF_OPEN'
    *   EXPORTING
    *     ARCHIVE_PARAMETERS       =
    *     USER_SETTINGS            = 'X'
    *     MAIL_SENDER              =
    *     MAIL_RECIPIENT           =
    *     MAIL_APPL_OBJ            =
    *     OUTPUT_OPTIONS           =
    *     CONTROL_PARAMETERS       =
    *   IMPORTING
    *     JOB_OUTPUT_OPTIONS       =
    *   EXCEPTIONS
    *     FORMATTING_ERROR         = 1
    *     INTERNAL_ERROR           = 2
    *     SEND_ERROR               = 3
    *     USER_CANCELED            = 4
    *     OTHERS                   = 5
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    LOOP AT it_smart INTO wa_smart.
    CALL FUNCTION fm_name
      EXPORTING
        wa_display                 = wa_smart
    EXCEPTIONS
       FORMATTING_ERROR           = 1
       INTERNAL_ERROR             = 2
       SEND_ERROR                 = 3
       USER_CANCELED              = 4
       OTHERS                     = 5
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CLEAR wa_smart.
    ENDLOOP.
    CALL FUNCTION 'SSF_CLOSE'
    * IMPORTING
    *   JOB_OUTPUT_INFO        =
    * EXCEPTIONS
    *   FORMATTING_ERROR       = 1
    *   INTERNAL_ERROR         = 2
    *   SEND_ERROR             = 3
    *   OTHERS                 = 4
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    endform.                    " print_smart
    form2x4
    Edited by: mozam khan on Feb 24, 2009 9:15 AM

    SSF_OPEN initializes Smart form with below Contril parameters you can pass:
    SAP Smart Forms: General Indicator
    SAP Smart Forms: General Indicator
    Output device
    SAP Smart Forms: General Indicator
    Print preview
    Return of OTF table. No printing, display, or faxing
    Language key
    Language key
    Language key
    Language key
    SAP Smart Forms: Object name
    SSF_CLose , closes the smart form with current job details.

  • SSF_OPEN and SSF_CLOSE

    I am calling several smart forms between SSF_OPEN and SSF_CLOSE function module. Problem is that for each call one PDF document getting create in FileNet archiving sytems. We would like to have only one single PDF document to be create containing output of several smartforms. Should it be done with using ARCHIVE_PARAMETERS of SSF_OPEN or configuration of archive link? how?

    Hi Hetal:
      If you print it in one spool ID, you can get it in one PDF:
      DATA: gfc_job_output_options TYPE ssfcompop.
      gfc_job_output_options-tdnewid = ''.
      CALL FUNCTION fm_name
          EXPORTING
            control_parameters = gfc_control
            user_settings      = ' '
            pt_head            = l_header
            pt_item            = pt_item
            output_options     = gfc_job_output_options
          IMPORTING
            job_output_info    = lt_job_output_info
          EXCEPTIONS
            formatting_error   = 1
            internal_error     = 2
            send_error         = 3
            user_canceled      = 4
            OTHERS             = 5.

  • HT201320 When using an iPad Air, is it possible to have my email removed from the server after downloading it? That's what I have been doing on my PowerBook and I would like to use my iPad as my primary email reader now.

    When using an iPad Air, is it possible to have my email removed from the server after downloading it? That's what I have been doing on my PowerBook and I would like to use my iPad as my primary email reader now.

    OK, I found the answer in the mail settings under the advanced button.

  • On my itouch 4th gen, I use imessage and message many people, but sometimes when i send a message the send bar on top will go almost all the way and stop. This will happen for some time and then work later. is there anything to avoid the freezinginsending

    On my itouch 4th gen, I use imessage and message many people, but sometimes when i send a message the send bar on top will go almost all the way and stop. This will happen for some time and then work later. is there anything to avoid the freezing problem while it sends

    See:
    iOS: Troubleshooting Messages
    However, I suspect it is just a tempery network problem beyond your control

  • I'm trying to record audio into my iPad2 using GarageBand and an iRig, but I can't monitor my tracks at the same time as recording, meaning if I lay down a drum track and attempt to record guitar, I can't hear the drums while recording. Thoughts?

    I'm trying to record audio into my iPad2 using GarageBand and an iRig, but I can't monitor my tracks at the same time as recording, meaning if I lay down a drum track and attempt to record guitar, I can't hear the drums while recording. Thoughts?

    Hi, I have this exact same problem. I haven't been using an iRig, just a cheap USB-jack cable. I managed to do this with the first cable I bought, but since it broke I've been unable to find a replacement that allows me to hear the drums while recording. DId you manage to get over this issue? If so I would really like to know how. Thanks and best wishes.

  • I have a scenario. Import IDOC into PI and PI transform IDOC to Excel. Using mail adapter attach that Excel using pi and send to customer. Can you please help me on the same?

    HI Experts,
    I have a scenario. Import IDOC into PI and PI transform IDOC to Excel. Using mail adapter attach that Excel using pi and send to vendor. Can you please help me on the same?
    Thanks
    SaiSreevastav

    Hi Sai,
    you can use XSLT or java mapping or adapter module to convert IDOC xml to XLS. Please refer the below blog
    Convert incoming XML to Excel or Excel XML – Part 1 - XSLT Way
    Convert incoming XML to Excel Sheet Part 2 – Adapter Module way
    Convert incoming XML to Excel Sheet
    then after converting to Excel, you can use the payloadswap bean in mail adapter
    XI: Sender mail adapter - PayloadSwapBean - Step by step
    regards,
    Harish

  • When i try to sign in itunes tells me my apple id haw not been used before and to review account but get directed to a set up apple id page.  any ideas why please

    when i try to sign in itunes tells me my apple id has not been used before and to review account but get directed to a set up apple id page.  any ideas why please

    Could it be that you are using your account on more than 10 devices? Or that more than 10 devices are still connected to your account?
    "iTunes Match requires iOS 5.0.1 or later on iPhone 3GS or later, iPod touch (3rd generation or later), iPad, or iPad mini, or a Mac or PC with iTunes 10.5.1 or later. Limit 25,000 songs. iTunes purchases do not count against limit. Access to some services is limited to 10 devices."

  • Im using iPhone5 and i register in apple store  for my apple ID for the apps, i use my visa then after it appear that i need contact iTunes support to complete this transaction. how many times Ive tried its still the same ....

    im using iPhone5 and i register in apple store  for my apple ID for the apps, i use my visa then after it appear that i need contact iTunes support to complete this transaction. how many times Ive tried its still the same ....

    To Contact iTunes Support...
    Click  >  Here

  • I own a used iPad and can't log in on some of my apps because the previous owner info shows up not mine

    I own a used iPad and can't log in on some of my apps because the previous owner info shows up not mine
    How do I fully remove the previous owner info. It blocks most of my log in apps, like google voice, etc...

    Try deleting and reinstalling your apps that are playing up. But I would have to agree with above...in the end it's going to be better to start over as a new ipad. Using what someone else has left behind takes away what's great about making an apple product personal...

  • I just bought my phone few days ago. From the day I bought it I realized the phone heats up after a little use. It gets really hot while using Wifi and downloading. Anyone else having these issues? What's the solution to this?

    From the day I bought it I realized the phone heats up after a little use. It gets really hot while using Wifi and downloading. Anyone else having these issues? What's the solution to this?

    Your VGA is definitely corrupted and it is irreparable, so just make the HP to change your vga.
    Also next time read my post on how to keep your laptop cool to avoid same issues again.
    I assume your laptop was pretty hot during some time and that's the result you've got.
    Make it easier for other people to find solutions, by marking my answer with 'Accept as Solution', if it solves your problem.
    Click on the BLUE KUDOS button on the left to say "Thanks"

  • After i have downloaded an album from iCloud to my new macbook pro. Itunes will only play one song at a time. If i hit the fast forward or back button will not do anything. I have to use the mouse to hit the next tidal in the album then hit play for it

    after i have downloaded an album from iCloud to my new macbook pro. Itunes will only play one song at a time. If i hit the fast forward or back button will not do anything. I have to use the mouse to hit the next tidal in the album then hit play for it to play the next song. Or put it in the UP NEXT.

    First, make sure these items have checkmarks next to their names in iTunes. Continuous playback only works on checked items. Itunes will play all checked items in a list whether or not they're from the same album.
    If you see that nothing in your library is checked and you want to check everything, hold down Ctrl while checking an item. This checks everything.
    Next, fixing the "1 of 1" problem is easily. Select all the tracks that make up the book/album. Let's say there are 15. Press Ctrl-I. Doublecheck that the album box is filled in with the name of the book, and if not, type it there. Enter "15" in the box for the total number of tracks. Click OK. Now all the items should be "1 of 15," "2 of 15," and so on.

  • Can I use action build to fade one table row as I move to the next row in the table?

    I have built a table with 6 rows.  Right now,I am building the table row by row when I play the slide. Is there a way to fade or dissolve one row when I move to the next row in the table? I want to be able to de-emphasize the row I just discussed when I move to the next row in the table. I can fade the entire table by invoking that action but I do not seem to be able to use this action one row at a time. Thanks for your comments and assistance.

    you will have to use a workaround to get the exact effect you described
    create a table with out any text
    use text tool to add text and position in each table cell
    select the text boxes( command click) in the first row and group them (arrange > group)
    use a, build in, to display text and then a, build out, to remove it
    repeat the above for the other rows

  • I have a workflow transaction which got timeout and escalated to the next level. The comments in the approver's notes are just changed by the system in doing so.  For eg: "Moving John under Michael" gets changed into "Moving+John+under+Michael" during the

    I have a workflow transaction which got timeout and escalated to the next level. The comments in the approver's notes are just changed by the system in doing so.
    For eg: "Moving John under Michael" gets changed into "Moving+John+under+Michael" during the timeout/reminder notification. Any idea ?
    -Thanks,
    Arun

    I have recently started having this problem in PSE8. The Adobe workaround
    did work, but I don't fancy having to re register each time I use it.
    What I have discovered is that it's nothing to do with the image metadata as it occurs before any image is opened.
    It SEEMS to only occur if you use file/open with to open an image in the editor - IE start PSE with that command.
    If you close elements down, and start it using programs/PSE/Elements (or your desktop shortcut) - the panorama feature magically works.
    Each time I've opened the editor 'automatically' using image/open with, it seems to create the problem.
    Hope this helps

  • HT201269 Have new iPhone 5s and older iPad ( looking to buy new iPad ) question for both is should I hook them up to mu computer and back up the computer on each devise and sink and than the next one.  The second question is should I do the I pad first ca

    Have new iPhone 5s and older iPad ( looking to buy new iPad ) question for both is should I hook them up to y computer and back up the computer on each devise and sink and than the next one.  The second question is should I do the I pad first cause it has photos in my email that have not been downloaded and it is one of or is the first model

    No it's not stealing. They have an allowance that you can share with so many computers/devices. You'll have to authorize her computer to play/use anything bought on your acct. You can do this under the Store menu at top when iTunes is open on her computer.
    As far as getting it all on her computer....I think but I am not sure (because I don't use the feature) but I think if you turn on Home Sharing in iTunes it may copy the music to her computer. I don't know maybe it just streams it. If nothing else you can sign into your acct on her computer and download it all to her computer from the cloud. Not sure exactly how to go about that, I haven't had to do that yet. I wonder if once you authorize her computer and then set it up for automatic downloads (under Edit>Preferences>Store) if everything would download. Sorry I'm not much help on that.

Maybe you are looking for