How to skip the PRINT screen?

Hi All,
I have a report, which calls the Smartform.
When I execute my report, the PRINT screen will appear, where i press the PRINT button, and then the form gets printed.
My requirement.
I dont want this PRINT screen to appear. When i execute the report, the form must get printed, skipping the PRINT screen.
Is there a way to do that?
Thanks
Krishna Kishor Kammaje

Hi,
See the blocked code.
DATA: w_ctrlop TYPE ssfctrlop,
      w_compop TYPE ssfcompop,
      w_return TYPE ssfcrescl,
Variables declarations
      v_form_name TYPE rs38l_fnam.
call function 'SSF_FUNCTION_MODULE_NAME'
     exporting
          formname           = 'ZZZ_TEST2'
     importing
          fm_name            = v_form_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.
<b>w_ctrlop-getotf = 'X'.
w_ctrlop-no_dialog = 'X'.
w_compop-tdnoprev = 'X'.</b>
CALL FUNCTION v_form_name
     EXPORTING
          control_parameters = w_ctrlop
          output_options     = w_compop
          user_settings      = 'X'
     IMPORTING
          job_output_info    = w_return
     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.
If your problem is solved,kindly reward points and close the thread.Otherwise,get back.

Similar Messages

  • How to skip the Print Screen List pop-up message with standard T-code?

    Dear Experts,
    I want to do not see the Print Screen List pop-up message with standard T-code.
    Ex, sm66, sm51
    click on print button -> Print Screen List pop-up message(SAPGUI) -> print windows dialog (X)
    click on print button -> print windows dialog (O)
    Is it possible to disappear it?
    Thanks,
    Lee

    Hello Mr.Lee,
    If you are refering to the print icon on the toolbar (CTRL+P), then no, it is not possible.
    This printer dialog is necessary for front-end printing so you can choose the active printer.
    Regards,
    Jude

  • How to skip the first screen in se38

    hi experts,
       I am struck up somewhere in getters and setters in field symbols.
    I am setting the file name field in se38 and trying to directly go to display mode of the program and i am doing that through  RS_SPOOL_ACCESS . I am not able to skip the first screen of se38 and go to diplay mode of the program.
    How can i do that. Skip first screen is not working.

    If all else fails,  partial BDC may be in order.
    report zrich_0003
           no standard page heading line-size 255.
    data:   bdcdata type table of bdcdata with header line.
    parameters: p_prog(30) type c.
    start-of-selection.
      perform bdc_dynpro      using 'SAPLWBABAP' '0100'.
      perform bdc_field       using 'BDC_CURSOR'
                                    'RS38M-PROGRAMM'.
      perform bdc_field       using 'BDC_OKCODE'
                                    '=SHOP'.
      perform bdc_field       using 'RS38M-PROGRAMM'
                             p_prog.
      perform bdc_field       using 'RS38M-FUNC_EDIT'
                                    'X'.
      call transaction 'SE38' using bdcdata mode 'E'.
    *        Start new screen                                              *
    form bdc_dynpro using program dynpro.
      clear bdcdata.
      bdcdata-program  = program.
      bdcdata-dynpro   = dynpro.
      bdcdata-dynbegin = 'X'.
      append bdcdata.
    endform.
    *        Insert field                                                  *
    form bdc_field using fnam fval.
      clear bdcdata.
      bdcdata-fnam = fnam.
      bdcdata-fval = fval.
      append bdcdata.
    endform.
    Regards,
    Rich Heilman

  • How to skip the Selection screen completely for certain users?

    Hi All,
       I want to skip the entire selection screen based on sy-uname. I check if the sy-uname has sufficient authorization and based on that..I want to skip the entire selection screen. How do I do that?

    Hi Rachna,
    use
    <b>SUBMIT program
                with sy-uname = 'TEST'
                 and  return.</b>
    If u specify and return the control will come back and execute the next line in the report.
    It is giving the output directly without showing the selection screen.
    If u r pressing back also it is not showing the selction screen.
    This will work
    Regards
    Naresh

  • How to skip the Selection screen while using BAPI_MATERIAL_DELETE

    Hi,
    I have to delete material master.
    I'm using BAPI_MATERIAL_DELETE Fm,
    But while executing this BAPI it is going to a screen where it is asking to tick the Check Box for material number.
    Can you please tell me how to execute the BAPI Avoiding the selection screen.
    Thanks & Regards,
    Rajender

    Hi,
    Thanks for replying.
    We have to run the BAPI in Background, Then how to achieve the default values.
    Thanks & Regards,
    Rajender.

  • Skip the selection screen using BDCTAB call transaction

    Hi experts,
    I am using BDCTAB for call transaction SWI1 I need to skip the selection screen. Can you please tell me how to skip the selection screen using BDC call transaction?
    Thank you in advance.....

    hi,
    the first step is to pass some values to the selection screen, at least Date From and Date To; otherwise, it´ll take a long time. The second step is to emulate the Execute button, which is done with '/08'.
    PERFORM fields USING 'BDC_OKCODE'   '/08'.
    Third step is to catch the programme and screen number.

  • How to enable the printer option in print priview screen in script

    Hi All,
    Please tell me how to enable the printer option in script print priview screen.
    Thanks & Regards
    Murali

    hi
    the print option TDNOPRINT has to be intial  (' ').  NOT 'X'
    TDNOPRINT  CHAR  1  0  No printing from print preview
    this will do.
    Gr., Frank

  • How do you email pdf from the print screen

    Anyone found a way to email a pdf from the print screen?
    Thanks

    Previous screen of what?   You need to be more specific.

  • I am trying to take a picture of a web page and paste on a one drive powerpoint. I tryed pressing the print screen button, and pasting. But it is giving me message saying that my browser can not fine the clipboard, and I need to use the keyboard shortcuts

    I need to take a picture of a web page, insert it onto a powerpoint online, and crop the picture. I am pressing the print screen button, and right cliking paste. But I am getting the warning message saying that my browser can not use the clipboard, and I am unsure of how to take a picture, then paste it, and crop it all on to a power point.

    http://portableapps.com/apps/internet/firefox_portable/localization#legacy36

  • Calling a transaction and skipping the first screen

    Dear forumers,
    In my report program, I will need to call a custom transaction with skipping the first screen.
    And, this custom transaction is created from a query.
    Currently, the codes look like below:-
            SET PARAMETER ID: 'BUK' FIELD w_output-bukrs,
                              'AN1' FIELD w_output-anln1.
            CALL TRANSACTION 'ZCUSTQ' AND SKIP FIRST SCREEN.
    Everything works perfectly alright except for one thing: The first screen is not skipped. When the custom transaction is called, the first screen is still displayed to the user.
    Additionally, I also found out that the "SKIP FIRST SCREEN" does not work because the screen's next screen number is the same. This means the screen 1000's next screen is 1000 as well.
    (See notes in italics below)
    Does anyone have any ideas on how to resolve this? Please help.
    This addition suppresses the display of a screen of the initial dynpro of a called dialog transaction. The addition AND SKIP FIRST SCREEN suppresses the first screen under these prerequisites:
    For the initial dynpro, in the Screen Painter the own dynpro number must not be specified as the next screen number.
    All mandatory input fields of the initial dynpro must be filled completely and with the correct values by the SPA/GPA parameters
    If these prerequisites are met, that screen of the dynpro is displayed that is specified in the Screen Painter as the next dynpro of the initial dynpro.

    For Any Query , if you want to create the Transaction you need to use the Tcode START_REPORT
    in general it will skip the first Transaction codes selection screen , Not your query reports selection screen.
    I checked and verfied...
    Steps to verify the issue..
    1.Go to SE93 ,Now you will go for parametric transaction.
    2. give the Transaction as START_REPORT, there you will have option Skip Initial Screen. You uncheck that.
    3. Now give all information related to your query.
    and see the  effect
    call TRANSACTION 'YYTCODE  AND SKIP FIRST SCREEN.
    This will always trying to skip the First transaction's selection/initial screen , Not your Query selection screen.
    You also try to check and let me know.

  • How to Fill the selection screen while calling the transaction

    Hi All,
             my requirement is in one of the screen while i will press a push button it will call one transaction and it will fill the selection screen build order number field and skip the first screen i.e the selection screen it will show the output of that report directly.
    am using this code .
    case sy-ucomm.
    while 'FSLR'.
    set PARAMETER ID 'ANR' FIELD aufnr.
    RANGES s_aufnr FOR afko-aufnr.
          s_aufnr-sign   = 'I'.
          s_aufnr-option = 'EQ'.
          s_aufnr-low    = aufnr.
          APPEND s_aufnr.
    CALL TRANSACTION 'ZFS1' USING s_aufnr
         MODE 'E' .
        AND SKIP FIRST SCREEN.
    endcase.
    here the problem is i cant use both skip screen and using at a time nither the screen is filling nor its skipping the first screen.
    but its not working would any one please help how can i do this functionality?

    Hi
    Do in this way.
    DATA: rspar TYPE TABLE OF rsparams WITH HEADER LINE.
    rspar-selname = 'S_AUFNR'.
    rspar-kind = 'S'.
    rspar-sign = 'I'.
    rspar-option = 'EQ'.
    rspar-low = 'aufnr'.
    APPEND rspar.
    SUBMIT zfs1_prog  VIA SELECTION-SCREEN WITH SELECTION-TABLE rspar AND RETURN.
    If this doesnt suit yer requirement, I wud suggest you to use BDC as below.
    CALL TRANSACTION 'SE11' USING bdcdata
                           MODE   'E'
                           UPDATE 'A'.

  • CALL transaction using itab aswell as skip the first screen

    Hi All,
    I am doin BDC for some Ztransaction and i am that transaction using CALL TRANSACTION... but i want to skip the first screen of the Ztransaction as well as pass the Itab .. mode .. update and message table.... how can i do it...
    CALL TRANSACTION Z... USING iTAB UPDATE DATE MODE A  message bdcmsgcoll AND skip THE FIST SCREEN.. how to acheive it....

    PERFORM BDC_DYNPRO      TABLES BDCDATA
                           USING 'SAPLBPT1' '0100'.
    *PERFORM BDC_FIELD       TABLES BDCDATA
                           USING 'BDC_CURSOR'
                                 'BCONTD-BPCONTACT'.
    *PERFORM BDC_FIELD       TABLES BDCDATA
                           USING 'BDC_OKCODE'
                                 '/00'.
    *PERFORM BDC_FIELD       TABLES BDCDATA
                           USING 'BCONTD-BPCONTACT'
                                  V_CONTRACT.
    the above code /recording call the first screen 100 which i dont want...
    below code / recording is for screen 200 which i want to appear directly when i call the transaction....
    skipping the first screen 100..
    PERFORM BDC_DYNPRO      TABLES BDCDATA
                            USING 'SAPLBPT1' '0200'.
    PERFORM BDC_FIELD       TABLES BDCDATA
                            USING 'BDC_OKCODE'
                                  '=SAVE'
    PERFORM BDC_FIELD       TABLES BDCDATA
                            USING 'BCONTD-PARTNER'
                                   V_GPART.
    PERFORM BDC_FIELD       TABLES BDCDATA
                            USING 'BCONTD-ADDINFO'
                                   V_ZONE.         "ZONE(S,N,E,E,NE)
    PERFORM BDC_FIELD       TABLES BDCDATA
                            USING 'BDC_CURSOR'
                                  'EENO_DYNP-ZEILE(01)'.
    PERFORM BDC_FIELD       TABLES BDCDATA
                             USING 'EENO_DYNP-ZEILE(01)'
                                   V_LOG.                 "MESSAGE
    CALL TRANSACTION 'BCT1'    USING BDCDATA
                               MODE MODE UPDATE UPDATE
                               MESSAGES INTO IT_BDCMSGCOLL.

  • Urgent: Reports: Skip the first screen

    Hi experts,
       In report program iam calling another program screen. I just want to skip the first screen of the calling program and when i call this program i should directly go into the output screen. Iam using like this. So how should i skip the first screen.
    Please do needful help.
    if p_err_u = 'X'.
    submit rsuniscan_final. "VIA SELECTION-SCREEN AND RETURN.
    Regards.
    AADI

    Use in Submit
       [USING SELECTION-SET variant]
        [USING SELECTION-SETS OF PROGRAM prog]
        [WITH SELECTION-TABLE rspar]
    Santhosh

  • How to save the print configuration

    Hello, in my business, employees need to print multiple documents per day.
    But for these specific documents, they need to print with a size of 105%.
    My question is how to save the print configuration because they need to remplace the size by 105% every time ...
    Please help me
    (Sorry for my bad english, i'm french)

    it was here : http://www.hostingpics.net/viewer.php?id=684187301.jpg
    this screen appear after i press File -> print
    and i need to put 105% every time i want to print document, how to save this ?
    edit : this is not in the printer configuration

  • The HP C4480 all in one series PRINTER that I got free with my i-Mac is printing TINY print despite that my computer is set at 13 font Helvetica. How to reset the printer to normal print?

    The HP C4480 all in one series PRINTER that I got free with my i-Mac is printing TINY print despite that my computer is set at 13 font Helvetica. How to reset the printer to normal print?

    Is the Paper Size: set to US Letter and Scale: set to 100%
    Dennis

Maybe you are looking for