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.

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.

  • Every time I try to open Firefox I get a popup saying it is already open, and to close it or restart; but it is NOT open, and restarting doesn't help.

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [[/questions/880054]]</blockquote>
    Question
    Every time I try to open Firefox I get a popup saying it is already open, and to close it or restart; but it is NOT open, and restarting doesn't he

    Duplicate Thread LOCK please
    * Continue here - https://support.mozilla.com/en-US/questions/880054

  • Why doesn't firefox close out when I'm done with it and close it; when next I try to open firefox again I get a dialog box telling me firefox is open and to close it or restart my computer? I'm tired of doing that one of more times a day.

    1. This happens at least once a day, and sometimes multiple times. Today it's happened twice, thus far. My home page is FoxNews.com and if I leave it up overnight or for longer periods during the day firefox doesn't allow the refresh of the home page it just goes to yahoo 404--error can't find the webpage. Then when I enter FoxNews.com it adds a /error to the url and doesn't allow me to go to MY homepage. So I close firefox and then if I try to reopen it and then I get the dialog box saying firefox is open and to close it or restart my computer. Very aggravating. 2. Also the Adobe flash drive update always fails. 3. Webpages get in loops and fail to load to the point I have to stop and refresh or close out and reopen.

    One situation in which Command+w or Ctrl+w might not work is if the "focus" is in a plugin such as the Flash player used on Youtube after you interact with the player controls. Firefox will continue to send the keyboard input to the plugin until you move the focus back to the page. Does that account for any of the problem?

  • The window 8 store and all other app open and then close immediately .

    The window 8 store and all other app open and then close immediately .I
    have tried many methods like sfc /scannow,, powershell
    -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRoot\WinStore\AppxManifest.xml without the quotes but , changed registery entries but found no effect . kindly help me !

    Hi ObaidMaki,
    This forum is to discuss problems of Windows Forms. Your question is not related to the topic of this forum.
    I would suggest you posting it in the dedicated Windows Forum
    http://answers.microsoft.com/en-us/windows for more efficient responses, where you can contact Windows experts.
    Best regards,
    Youjun Tang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Adding javascript to page open and page close in acrobat 8.1.2

    Reading the Acrobat Javascript Object Specification on page 22 it says that you can add javascript to the "page open" and "page close" events of a document.
    It then says that under the menu "Document -> Set page action" you can add scripts for those events
    I am using Acrobat 8.1.2 and under the document menu there is no "Set page action". And there is nowhere where I can find any "set page action" menu...
    whats the deal?
    How can i set the page open and page close events in acrobat professional 8.1.2?????????????
    Marc

    - open the Navigation Panel 'Pages'
    - select the page and open the page properties
    - in the actions tab you can set the page actions

  • I have Adobe Photoshop CS2 and it closes down every time I open it.

    I have Adobe Photoshop CS2 and it closes down every time I open it with the following error: "Photoshop Quit Unexpectedly". Is there anything I can do to troubleshoot this?

    The first question is have you used this version on this computer with the operating system you have now. The issue might be (if you are on a Mac) that CS2 was a Power PC application and you have upgraded to a new computer with an Intel processor. CS2 will not work on an Intel processor with system (I think) OSX.6 or greater.
    If you have used this release on this computer with the same OS, than try deleting the preferences by holding down the Comand/Control-Option-Shift keys when starting the application. You will get a message asking if you want to delete the preferences, say yes.
    Let me know if any of these work.

  • When i try to open week cal it loads and then closes after a few seconds...I have checked for updates, turned the phone off then on, closed out of the app and then opened it again...nothing works!  Any suggestions?

    When i try to open week cal it loads and then closes after a few seconds...I have checked for updates, turned the phone off then on, closed out of the app and then opened it again...nothing works!  I have thought about deleting the app from my phone and then reloading it again but I worry that it will delete all my calendar info???  Any suggestions?

    To reset, press and hold the Home and power buttons until the silver apple appears.
    I would delete the app, reset the phone and then download the app again. Your calendar information should be stored on the phone as Week Cal uses the Calendar app information.
    Best of luck.

  • Itunes has encountered a problem and must close..send error report etc.

    I upgraded itunes (not even sure why since my old version was working fine) and now I keep getting the error that "itunes has encountered a problem and must close...". I did try the "msconfig" advice but that did not work. I even tried to use the CD that came with my ipod (March 2005) and the only option I get is to "uninstall" which I hesitate to do because I do not want to loose my itunes library. Does anybody have any other suggestions?? I greatly appreciate any help. I have read through some threads, but some of the "help" links that were inserted are no longer working.
    Thanks!

    I'm having the same problem.
    I updated to 8.1 and it closes as soon as the shuffle is plugged in.
    So I tried disabling auto-sync. No luck
    So I tried loading an older version of iTunes - says I have to have 8.1
    So I tried uninstalling and removing all itunes related files - and reinstalling. Still closing every time I plug in.

  • Why does my iTunes window freeze and wont close until i shut my computer down, when the "iTunes is not the default media player" message appears? and how do i fix this? i just want to fix my music, but it freezes and i can't use my computer correctly.

    when i plug my iPod into my computer, iTunes opens as normal, but for a while it's been giving me a message that says "iTunes is not the default media player" and after i 'tried' to do that, i'll close the settings window and my iTunes window will freeze and not close, reload, or anything. and if i "open drvice to view files" that window will freeze too, the internal storage window. i can't get iTunes to close with ALT+F4, or right clicking the tab on the bottom of the screen to close it, or clicking the 'X' button. the only way it closes is when i shut down my computer. please help me fix this. Its getting Really Really tiring having to restart my computer over and over.

    What Windows version?

  • When i have 2 firefox widows open and i close one of them the other window asks if i am sure abt closing it too

    I upgraded to firefox 4 and that started since then
    when i happen to have 2 window open and i close 1 the other main one i have open with tabs ask me if i was sure i want to quit it too
    and it asks 2 times

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • When I have the downloads window open and I close the browser window, how can I get the browser to open the homepage the next time I start it while the download window is still open?

    When I have the downloads window open and I close the browser window, the next time I reopen the browser while the downloads are still going, it returns me to the last page I was on. All previous versions of Firefox would return me to my homepage which I would prefer. Please let me know if this is possible.

    When you re-open Firefox and choose Restore Session, by default it picks up your most-recently-open window, and the other windows should then show up in Recently Closed Windows.
    The Firefox add-on Session Manager lets you manage how many closed windows and closed tabs are saved, in case it's not enough.

  • I can't seem to update my software, every time I do it says that there is a problem and to close everything that is open. Once I close everything it still doesn't work. How do I get it to complete?

    I can't seem to update my software, every time I do it says that there is a problem and to close everything that is open. Once I close everything it still doesn't work. How do I get it to complete?

    Make sure there's enough free space on the startup disk to install software updates...
    Right or control click the MacintoshHD icon. Click Get Info. In the Get Info window you will see Capacity and Available. Make sure there's a minimum of 15% free disk space.
    Freeing Up Hard Disk Space - Mac Guides

  • View open qty and manually close SO

    Hi,
    Example : I have SO with qty 10pcs, but only 3pcs are delivered, the remaining 7pcs are yet to be delivered. Hence, this SO is still open. The thing now is that I want to see the open qty and manually close the SO.
    I tried with VA05 but it doesn't show the open qty. What transaction to view the open qty? How to manually close an open SO? Is there a button or checkbox that I can just click on it to close the SO?
    Thanks.
    Edited by: Wooi Ling Ng on Feb 14, 2008 2:56 PM

    Hi,
    As said that you want to close the sales order for 7 qty of total 10 qty.
    When do the following.
    Goto the sales order created, goto the line item eg 10 scroll towards right side of the screen to find the field " Reason for Rejection" assign the relavent message why you want to close the order for remaining quantity.
    If you have many line items you can reject the undeliveried line items if you want them not to delivery.
    Kindly Reward points if usefull.
    Regards
    vK

  • Report  showing list of order confirmations and open/close reservations?

    Hi
    Can we have any standard report having list of  order confirmations and open/close reservations in SAP PM ?
    Regards
    Pooja

    Hi Pooja,
    Try IW12, Display Document flow, if you are looking for a combined report of Order confirmations and Material status.There are various other reports related to order confirmations and Material status seperately. For material status you can use IWBK.
    Better place to post PM questions is in Enterprise Asset management Forum.
    Warm regards,
    Srinivas Potluri

Maybe you are looking for

  • JTable custom renderer selection color

    I have included JSpinners in the last column of my JTable. However when I highlight rows all cells with a JSpinner do not have a blue background and it looks rather odd. I would have thought the following code snippet would sort it out but it hasnt.

  • What's iOS is the best performance for iP4 & 3Gs

    Hi all guys here. How are you all guys? I'm new here. I'm now running IOS 4.1 for my both iPhone(3Gs and 4) But i want the new features. Can anyone here recommend me what the best IOS for iP3Gs and iP4? ( d best performance ) Without battery draining

  • Oracle Report Server Creation in Forms11g

    Dear All I installed oracle forms 11g r2 on windows 7 sp1 64 bit, every thing is okay , forms running without any problem , but i don't know to to run reports and how i can create report server , can any one help me in details ? Thanks in advanced

  • Parallel cursor

    hi experts, can i use more than one parallel cursor , when i looping thru different internal tables, i used once it in my current prog as i need multiple Grn no(ekbe-belnr) , with respect to single po(ekpo-ebeln). but in my current prog. i also need

  • Namespace for ESS

    What is the best practice for keeping  namespace (com.companyname) for business package ESS/MSS ? How it is done on EP 6.0/7.0 ?