How to supress dialog box when calling smartforms and just create a spool..

Hello Experts,
I want to supress the dialog box where you can print preview or print your smartforms. What
I want is to just create a spool file for this one. Think of it as smartforms running in background.
Thank you guys and take care!

Hi again Vishwa,
I modified my code according to your last reply but it still wouldn't work. The dialog still pops up without the print and print preview buttons. Below is my code:
MOVE 'X'    TO ltyc_control-no_open.
    MOVE 'X'    TO ltyc_control-no_close.
    MOVE 'X'    TO ltyc_control-no_dialog.
    MOVE 'X'    TO ltyc_options-tdnewid.
    MOVE 'X'    TO ltyc_options-tdnoprev.
    MOVE 'X'    TO ltyc_options-tdnoprint.
    MOVE 'LOCL' TO ltyc_options-tddest.
    MOVE space  TO ltyc_options-tdimmed.
    CALL FUNCTION 'SSF_SHOW_DIALOG'
      EXPORTING
*        ARCHIVE_PARAMETERS         =
        user_settings              = ''
        output_options             = ltyc_options
        control_parameters         = ltyc_control
*        OK_BUTTON                  = ''
      IMPORTING
*        E_ARCHIVE_PARAMETERS       =
        e_output_options           = ltyc_options
        e_control_parameters       = ltyc_control
      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.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
      EXPORTING
        formname                 = lcc_z2574ffi_ra_cimb
*        VARIANT                  = ' '
*        DIRECT_CALL              = ' '
      IMPORTING
        fm_name                  = ltyc_function
      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 ltyc_function
      EXPORTING
        control_parameters = ltyc_control
        output_options     = ltyc_options
        user_settings      = ''
        im_adrnr           = gtyc_adrnr
        im_name1           = gtyc_name1
        im_name2           = gtyc_name2
        im_str_suppl1      = gtyc_str_suppl1
        im_str_suppl2      = gtyc_str_suppl2
        im_str_suppl3      = gtyc_str_suppl3
        im_post_code1      = gtyc_post_code1
        im_city1           = gtyc_city1
        im_vblnr           = gtyc_vblnr
        im_zaldt           = gtyc_zaldt
        im_swnes           = gtyc_swnes
      TABLES
        im_regup           = gt_regup
      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.
Edited by: Viraylab on Nov 26, 2008 10:55 AM

Similar Messages

  • How to supress dialog box in SUBMIT (Program_name) clause

    Hello Experts,
    statement like this:
    SUBMIT RKACOR04  using SELECTION-SET 'TEST' EXPORTING LIST TO MEMORY
                  AND RETURN .
    but during the process there is a dialog box which prevend automatic processing. is it possible to supress the dialog box via additional clause?
    Thanks

    Are you sure you want to use this report, it is not intended for a regular/periodic use, this program adjusts total and detail records in CO tables in case of difference
    Use RKACOR04 only with support from the SAP Hotline service or from an expert consultant for CO data structures.
    also
    SAP recommends running the report in the background.
    You should correct the cause of dysfunction, and then only run once this report when actually needed, also read the OSS notes on this report.
    Regards,
    Raymond

  • How to avoid the windows "dialog box" when we use flexprintjob class

    in the print segment
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf65381-7ffc.html
    it says
       printJob.start();
    This causes the operating system to display a Print dialog box.
    this  windows "dialog box" which is used to set the page size, page index, or some other page settings.
    but in my case , i can't let user see this dialog box.
        how can i avoid this "dialog box" when i call   printJob.start();
    it is my big issue ,please help to give a suggestion

      hi   how can i set the "ie" "internet explorer"  to avoid the "dialog box."  if i have to do it .
    thank you very much !

  • How can i get rid of the print dialog box when using api to print an html file

    i am using the systemshell.vi provided by labview the VI is working fine but it will open a dialog box for printer selection and properties. i would like to hide that dialog box and have it print to the default printer with the default properties

    ShellExec is part of lvwutil and merely calls a function in Shell32.dll. There is nothing about the function call that controls the display of the printer dialog. I think that what shell32.dll does when it prints (just like right clicking on the file) is print the file according to what is defined about that file type in Windows Folder Options. On my Win2K system, the print application is defined as "C:\Program Files\Microsoft Office\Office\msohtmed.exe" /p %1. If I remove the /p, then Word starts up and in order to print, I get a printer dialog when choosing Print from the File menu. So it seems like the printer dialog is entirely dependant on the application that does the printing. I get no dialog when I use the VI to print a .txt file. I
    nstead of using shell32, you might want to try some ActiveX method or property of an application like Internet Explorer that can open and print an html file.

  • How do I re-size the Password Security -Settings dialog box when Encrypting with a Password?

    My dialog box is extremely large and the OK and Cancel buttons extend off the bottom of my monitor.

    Yes, I have the same problem! It is driving me crazy as I don't have a clue what code they want me to put in and now everytime I try a new one my phone is disabled and I have to wait half an hour until I can try another one! It's ridiculous!!!
    I am praying that someone finds a solution soon!!!

  • How can a dialog box close itself?

    I have a dialog box which displays a little form for some extra information.  I have some non-standard buttons which are under my control.  The form is created as a view in a window which is launched by CREATE_WINDOW.
    I want the window to be able to close itself.  The concept is easy - get a ref to the window, then call close( ).
    But I cannot find a way to get a reference to the window from inside the window.
    Here is my current solution which I do not like, but it works.
    I create a context node 'POPUP' which has an attribute ME of type ref to if_wd_window.
    When I create the window, I do this:
    lo_window         = lo_window_manager->create_window( ... )
    lr_node = wd_context->get_child_node(   'POPUP'   ).
    lr_node->set_attribute( exporting name  = 'ME'
                                          value = lo_window ).
    lo_window->open( ).
    In the window, it gets ME out of the node, and does a lr_me->close( ).
    But there is a better way, right?  How does a dialog box close itself under program control?
    I should add that the dialog box is displaying a view from a used component, so POPUP is defined in the used component and mapped into the context of the using component. I don't think this changes the problem, though.

    Hi
    Try this following code in method of button you have created for popup i.e  method for example  ok,cancel etc in the view which you have emebedded in ur window for popup.
    Close the popup
      DATA:
        lo_api         TYPE REF TO if_wd_view_controller,
        lo_window_ctlr TYPE REF TO if_wd_window_controller,
        lo_popup       TYPE REF TO if_wd_window.
      lo_api         = wd_this->wd_get_api( ).
      lo_window_ctlr = lo_api->get_embedding_window_ctlr( ).
      lo_popup       = lo_window_ctlr->get_window( ).
      IF lo_popup IS BOUND.
        lo_popup->close( ).
      ENDIF.

  • How to disable dialog box for ending document display

    I have a wf item that has a pdf attachment.  Every time the attachment is opened, a dialog box appears stating:
    1. Switch to the window of your PC application to display the document
    2. Close your document
    3. Press "Continue" in the R/3 window
    I've tracked it back to screen 0300 in LS025002.
    It's only informational and shows up after the attachment has already been opened and closed.
    How do I stop this dialog box from appearing?

    Those little popup boxes are called tooltips and they are programmed into the page. As iBod says, they cannot be disabled.
    There are a couple of things you can do on pages you know have tooltips. There is a time delay of a couple or three seconds before the first tooltip appears. So one way to keep their appearance to a minimum is to make up your mind before you move to an item to click on it and to not hover on items with tooltips for any amount of time. Also, if a series of menus or items all have tooltips, the time delay only exists for the first one. If you immediately move to the next item, the tooltip appears instantaneously. So with such a series, if you move completely off the series, the time delay will be reinstated.

  • Incomplete print dIalog box when printing PDFs

    During the past several weeks, whenever I try to print a PDF, the print dialog box (when Copies & Pages is selected in the pull-down menu) is blank ... I can't select how many copies or which pages to print. This only started happening recently, before that everything was fine. It doesn't matter how the PDF was created ... by OS X, by InDesign, by Photoshop, or arriving in email, the result is the same ... incomplete dialog box. My workaround so far when I want more copies or only certain pages, is to "place" the desired pages in InDesign and do the printing from there ... big pain and not an acceptable long-term alternative.
    Anyone know of anything that might have happened with recent software updates?

    Karen....I found this thread while looking for some help with the same problem. Did you ever find a solution? I have Acrobat 7 and 8 running on a Mini with 10.4.11 and am having the same problem in Acrobat 7 only, Acrobat 8 behaves fine. When going to the Print dialog, the area below the "Copies & Pages" button is blank. I can change the "Copies & Pages" button to other settings but the dialog box does not hold the change, it reverts back to "Copies & Pages". I have replaced Acrobat 7 without any luck.

  • Switch To, Retry dialog box when executing from Bex Browser

    When I run a workbook from the Bex Browser, a dialog box usually pops up.  The title of the dialog box is "Server Busy", and the box presents 3 choices: "Switch To", "Retry", or "Cancel".
    Does anyone know how to eliminate this message?

    Hi
    Check the note (1311770)
    Thank you

  • How to supress dialog window "missing fonts"

    Hi, i place a RTF file using scripting. When the RTF uses fonts, which are not available a dialog windows appears "missing font: ... substitute fonts..." and the script stops.
    How can i supress/disable this dialog window?
    Is there are general mechanism to supress dialog windows, when scripts are running?
    Thanks!
    Gerd

    Hi Gerd,
    suppress the message with
    app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;
    But dont't forget to reset the interaction level before finishing the script:
    app.scriptPreferences.userInteractionLevel = UserInteractionLevels.INTERACT_WITH_ALL;
    Otherwise you will miss some dialogs in future.
    Martin

  • Dialog box "unapproved caller" has frozen computer multiple reboots has not resolved the issue

    Frozen screen with dialog box "unapproved caller"
    have be turned off wireless, have rebooted in option and verified all discs, still frozen on dialog box at startup

    Restart the computer in safe mode. Certain caches maintained by the system will be rebuilt.
    Safe mode is much slower to start up than normal.
    When the login screen appears, restart as usual (not in safe mode) and test. There's no need to log in while in safe mode.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t start in safe mode. In that case, ask for instructions.

  • In character dialog box; when I click on the "T" tool the leading shows 14.4pt.  Is there a way to m

    In character dialog box; when I click on the "T" tool the leading shows 14.4pt.  Is there a way to make the leading 100% scaled?

    "Auto leading" is governed by the "Auto leading" percentage in the Justification dialog. See http://help.adobe.com/en_US/indesign/cs/using/WSfd1234e1c4b69f30d2a5051004d659b1c-7fe7a.ht ml for a full discussion (the official Help page...).
    It *appears* you want the leading set to 100% of your font size. That is *technically* not a problem, but there are not many fonts that look nice with this. Hence the "120%" default -- neither very good, nor extremely bad. I usually go with about 2 pt above the text point size; but it depends on the font and the font size.

  • How to disabel dialog box in os x

    how to disabel dialog box in os x

    "Network connection is lost" is an iChat stuff, but I still have challenges with Flash AIR...

  • Just had help installing cc 2014. get this dialog box when i open the app. One or more files in the adobe folder necessary for running photoshop are missing. Help

    Just had help installing cc 2014. get this dialog box when i open the app. One or more files in the adobe folder necessary for running photoshop are missing. Help

    Please Run the Cleaner tool to remove Ps CC 2014 :http://www.adobe.com/support/contact/cscleanertool.html .
    Restart your system and then try installing Ps CC 2014 again.
    Regards,
    Ashutosh

  • How do you backup an app called Pen and Paper?

    How do you backup an app called Pen and Paper to ensure that the sheets created are saved?  I lost them when I tried to backup and sync my device, then upgraded to iOS 10.5.  What might have happened?

    When you backup your iPad, the app data (not the app) is stored in that backup.  When you updated, it should have restored the app data assuming you installed your backup when requested during the update.

Maybe you are looking for