Using Smartform after preview print with a selection screen

Hi experts,
     I am facing with some smartform printing problem.
    Here is the problem:
    We develop an add_on program for printing some FI report and we use F:Front end Printing in SPAD Access Method.
    The problem that we faced is: After enter the TCODE, we select preview into the smartform window.( Display is all right) At this window, when we click Print Icon, the output request directly sent to the printer and the page printed out without giving a selection window for selecting Printers and printing page range (Like standard print configuration).
    What we want is that after displaying the FI report in smartform, we could select the print page range and printers in user's PC.
    Appreciate for your valuable advice.
BR,
Derek Yang

Hi,
You have to set PREVIEW = 'X', before you see print preview.
Try this way
  CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
      formname = 'ZTEST_SMARTFORM'
    IMPORTING
      fm_name  = fm_name.
  DATA:ssfctrlop TYPE ssfctrlop.
  ssfctrlop-preview = 'X'. "Needs to be set this. It shows dialog window to set print parameters
  CALL FUNCTION fm_name
    EXPORTING
      control_parameters = ssfctrlop
    TABLES
      it_nfal            = it_nfal.
Thanks
Venkat.O

Similar Messages

  • I need to use an hp 6215 printer with my mac book pro.  the driver installation disk doesn't work.  where can i get a driver that will work?  i use OS X

    i need to use an hp 6215 printer with my mac book pro.  the driver installation disk doesn't work.  where can i get a driver that will work?

    With the Lion it is essentially unnecessary to resort to external driver disks. What's more, most of those disks are incompatible with the OS and should not be used. The system already carries a wide variety of printer description files (aka PPDs, which is what modern printing systems use as "drivers") for a lot of brands. And there was an HP printer update just two days ago.
    Just checked in mine and did indeed find that the HP OfficeJet 6200 Series, with or without Fax, is covered with the latest update.
    So just go thru the motions of creating a proper printer instance:
    Make sure the Mac "sees" the printer on the network.
    System Preferences / Print & Scan
    Click on the + button on the left column
    Select the appropriate type of printer, will use IP for the rest of this
    Select HP Jetdirect - Socket, default for HP network printers
    Type the IP address or look it up
    Name the printer for easy identification on the print dialog
    Let the Mac identify the printer model or manually choose the driver
    Click Add.
    Once the instance pops up in the list, can click on Options & Supplies for further config.

  • How do I use the double sided printing with my HP Officejet 6500A plus

    I need help with learning to use the double sided printing with my HP Officejet 6500A Plus

    Click on the Show Details button just above:
    You can configure various options from the dropdown menu just below Orientation.
    Printing two-sided requires a two-sided adaptor for the printer. Otherwise, you have to print out odd numbered pages first, turn them over and reinsert into the paper feeder, then print even numbered pages. If you do it right you get a nice two-sided document. If you do it wrong all the even numbered pages will be upside down.

  • Can I use Dell AOI 922 printer with MacBook Pro?

    Can I use Dell AOI 922 printer with MacBook Pro?

    Cisco:
    Very helpful!   My set up was Mac/ Lion trying to Print off a Dell Photo A10 922
    Lion does not store any Lexmark, nor dow Apple, but I went to the lexmark site, and found this-
    http://support.lexmark.com/index?productCode=LEXMARK_X5270&page=product&locale=E N&userlocale=EN_US#1
    Downloaded that, then hooked up the printer, Cmd-P, and the Mac found the drivers I had loaded.
    Works fine.  Now when I go to my sisters, I can print!
    byw, I'm probably just a Level 2  "GIYF"er, but your the only one ( of MANY folks) who thought to search Lexmart. I've seen posts by MANY geeks saying a Mac could not print to ANY Dell printer.
    Nice job,
    Rich

  • Why can't I use my HP 390 printer with my macbook pro oslion

    why cant I use my HP 3940 printer with my macbookpro OS Lion?

    http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&lc=en&docname=c02911238

  • How to replace the existing selection screen with new selection screen

    Hi,
    I have first selection screen with parametre as a table name, then I have created dynamic selection screen as 2nd selection screen with different fields of that table as select options. This is done using genaration of dynamic report. Now If I click on button on this 2nd selction screen , then I want to replace this 2nd dynamic selection screen , with the other selection screen fields.
    Can anybody guide me, How to do replace one slection screen with different selection screen.
    and one imp thing is this selction screen is populating with dynamic fields on it.
    Regards,
    Mrunal

    As I can understand you want to make some of the screen field to disable or visible on screen  depending upon the interaction of user with screen 1.
    You may use this example code in PBO of screen 2.
    LOOP AT SCREEN.
        " action has been taken to modify the area office screen as per the option chosen at screen 99.
        CASE ACTION.
            " if the user has taken up the option of UPLOAD
          WHEN 'UP'.     " screen processing while we upload the plan
            " during upload we will make dates as output fields only
            IF SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_TO' OR SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_FRM'.
              SCREEN-INPUT = 0.
              MODIFY SCREEN.
            ENDIF.
            " also make 2 buttons disabled
            IF SCREEN-NAME = 'AO_DO' OR SCREEN-NAME = 'AO_VE'.
              SCREEN-ACTIVE = 0.
              MODIFY SCREEN.
            ENDIF.
          WHEN 'DN'.      " screen processing while we upload the approved plan
            " during upload we will make dates as output fields only
            IF SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_TO' OR SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_FRM'.
              SCREEN-INPUT = 0.
              MODIFY SCREEN.
            ENDIF.
            " also make 2 buttons disabled
            IF SCREEN-NAME = 'AO_UP' OR SCREEN-NAME = 'AO_VE'.
              SCREEN-ACTIVE = 0.
              MODIFY SCREEN.
            ENDIF.
          WHEN 'VW'.      " screen processing while we view the plan
            " during upload we will make dates as output fields only
            IF SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_TO' OR SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_FRM'.
              SCREEN-INPUT = 0.
              MODIFY SCREEN.
            ENDIF.
            " also make 2 buttons disabled
            IF SCREEN-NAME = 'RLGRAP-FILENAME' OR SCREEN-NAME = 'FNAME'.
              SCREEN-ACTIVE = 0.
              MODIFY SCREEN.
            ENDIF.
            " and hide the file input field
            IF SCREEN-NAME = 'AO_DO' OR SCREEN-NAME = 'AO_UP'.
              SCREEN-ACTIVE = 0.
              MODIFY SCREEN.
            ENDIF.
        ENDCASE.
      ENDLOOP.

  • Printer option in selection screen (Input Parameter)

    Hi All,
    I want to give printer option in selection screen.
    Please do needful help.
    Regards.

    Hi,
    in the PF-STATUS if u enable the Printer Icon on Application Tool Bar and in the PAI Event in the
    User Command Module get the FCODE and apply the following FM ALINK_PRINT_FRONTEND
    Hope this works ....
    Best of luck!!
    Thanks
    Ravi

  • How to use AE for wireless printing with Ethernet Printer?

    Hi all,
    I have been using my AE connected to a printer via USB for printing but have now replaced my printer with another model that only has Ethernet connections.
    Can someone please explain how to set up the AE so that I can print? I can get so far but seem to be doing something wrong somewhere. Here's my setup:
    Mix of Macs and PC's using Airport Time Capsule for wireless network. Currently setup as 'Create a Wireless Network'
    1 x b/g Airport Express - now with Ethernet connection between AE and Printer. Currently connected as 'Join a Wireless Network'
    Via 'Add Printer' I have selected 'Internet Printing Protocol - IPP' as the Protocol and added the IP address of the Airport Express '10.0.1.10' as the Address. This seems to connect OK but all I get is printer paused.
    Any idea where I am going wrong please?
    Many thanks, Mike

    Sorry you are having difficulties.
    Suggest that you first get the printer working with your AirPort Extreme in case the configuration on the Express may not be quite right.
    I'm not familiar with the Epson products, but I do use an HP ethernet all-in-one device.
    The basic "must do's" on the device include entering the printers MAC address and assigning a fixed IP address that the printer will always will receive using a DHCP Reservation on the AirPort Extreme. My all-in-one gets 10.0.1.25 It sounds like you may have done this.
    After installing the printer software from the disc, you go into the Mac's System Preferencesj > Print and Fax and click the small + (plus) button at the bottom of the printer list. The HP printer appeared immediately as an available printer, so click it to highlight it and then click Add at the lower right. It's been flawless since it was installed about 3 months ago.
    You'll need to Add the device for each Mac computer on the network. I don't use PC's but imagine that Add Printer or Add New Device would be the way to go here.
    Sometimes it helps to call the manufacturer and endure the hold for 15-20 minutes waiting for the manufacturer's tech support people.

  • I can not print an PDF using the Adobe PDF-Printer with Acrobat DC

    Hi all,
    i installed the Trial of Acrobat DC but it dont let me use the Adobe PDF-Printer well, because i cannot print from any third-party-application using Adobe PDF.
    I tryed to print from within Word, Editor and Browser and selected the Adobe PDF-Printer as target, but at 75% both, the Application from which i print and the PDF-Creating-Wizzard are freezing (for hours) and i need to kill the procesed. No PDF-File is created. Same Problem with trying to print a Testfile from within the Windows-Printer-Dialogs.
    Only Adobe DC cause this issue, if i use freeware like Bullzip PDF the files get created successfully, so i assume its not a generally problem with PDF on my system.
    What could be the problem? (pls dont say its because of the trial, a trail should allow to test all features and Why should i buy a programm if it cannot do what a freeware can do?)

    Hey Daniel,
    Have you tried repair Adobe Acrobat DC?
    If no, then please repair the installation under Help menu.
    This could also happen due to an Adobe Acrobat DC installation file corruption. To resolve this issue :-
    Uninstall Adobe Acrobat DC using the Acrobat cleaner utility.
    Restart your computer.
    Re-install Acrobat Acrobat DC  Download Adobe Acrobat free trial | Acrobat Pro DC.
    Let me know if the issue persist.
    Regards,
    Aadesh

  • Can I use my HP C6240 printer with an HP Pavilion g6 lap top loaded with windows 7?cc=US

    Can I use an HP6240 printer with an HP Pavilion g6 that came with Windows 7?

    Yes.  Download the driver and updates from HP here.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • HT1414 i can't activate my iphone using itunes after i update with ios 5.1 . it shows no sim installed . what i'll do????

    i can't activate my iphone using itunes after updating with ios 5.1.  it shows no sim installed. what i'll do??? please! help me.

    phone your network provider,and ask them to send you a new sim card.

  • How to deal with dynamic selection screen elements when macros are used?

    Hello experts,
    This is regarding the dynamic selection screen elements. Actually the requirement is to modify the existing standard report program RFUMSV00 by copying it into a Z report, adding a few selection screen elements and new fields in the output. I actually did everything required except for the one thing that is going out of my reach.
    There are a certain fields which are coming when they are not supposed to get displayed. I don't understand the code because of its obsoleteness. Neither can I debug it because it is just data declaration.
    This is the code where there is a fault. If I copy the entire code into a new Z report, I'm getting new fields like Entry Date, Document Type, Reference Transaction,  Reference key, Logical system.
      DEFINE selection_screen_line.
      selection-screen: begin of line.
      parameters &3 like &4 default 'X' modif id mc4.
      selection-screen: comment (30) &1 for field &3 modif id mc4.
      selection-screen: comment pos_low(10) text-019
                        for field &2 modif id mc4.  "neu
      parameters &2 like rfums_alv-variante modif id mc4.
      selection-screen:
          position pos_high.
      selection-screen: pushbutton (15) text-028
                        user-command &5 modif id mc4.
      selection-screen end of line.
    END-OF-DEFINITION.
    Kindly, suggest me the right solution.

    In the program attributes ( SE38 > RFUMSV00 > GOTO > Properties ), you will find a logical database BRF declared. The include DBBRFSEL is part of the selection screen of this logical database.
    The selection screen is actually the selection screen of this logical database.
    Under the Logical Database field, there is a Selection screen field where you can input which selection screen of the logical database to be used.
    But, this is just to change the selection screen that is displayed. To completely suppress it you need to remove logical database declaration from the properties of the program and call it inside your program through function module.
    You cannot just remove it from the declaration because many of its variables are used in the program.
    So call it using function module as the first step in INITIALIZATION section of the program.
    The syntax and function module to call it in your program can be found in the following thread :
    How to hide the selection screen of a Logical datebase?
    Regards,
    Ashish

  • "Get Variants" button disabled after error message in AT SELECTION SCREEN

    Hi,
    In "AT SELECTION SCREEN" I throw an error message if certain criteria return no data. 
    After the error message is thrown, the button for choosing variants no longer appears to work.  I click it and the variant selection box doesn't come up.  It just changes the values that have been populated from red to black. 
    What is the code that remedies this?  If an error is thrown, it should allow you to select a variant still. 
    Thanks,
    Kevin

    "AT SELECTION SCREEN" is not an option here.  Let me clarify.
    In START-OF-SELECTION, I call another program with a SUBMIT statement.  That program uses a logical database.  So it makes no sense to move this to "AT SELECTION SCREEN".  Even when I did that, I still couldn't solve this problem. 
    If the SUBMIT statement returns no data (if sy-subrc = '4') then I need to go back to the initial screen.  I need to display some kind of message, of type I or E or S, I don't care. 
    It just needs to go back to the selection screen and VARIANTS need to WORK, and you need to be able to SAVE the variants.
    For some reason, if I get no data with the SUBMIT statement, I can display a message and get back to the selection screen but variants do not work.  I've tried EXIT, STOP, CALL SELECTION SCREEN 1000 (the only one in the program), END LIST-PROCESSING, etc.  NOTHING WORKS!

  • How to print data of selection screen

    hi plz tell me how to print that data in smartforms which the user enters in the selection screen...........

    Use FM RS_COVERPAGE_SELECTIONS
        CALL FUNCTION 'RS_COVERPAGE_SELECTIONS'
             EXPORTING
                  REPORT            = L_REPORTIDENTIFICATION
                  VARIANT           = SY-SLSET
                  NO_IMPORT         = 'X'                       "07/04/98
             TABLES
                  INFOTAB           = T_INFOSELECT
             EXCEPTIONS
                  ERROR_MESSAGE     = 1
                  VARIANT_NOT_FOUND = 3
                  OTHERS            = 2.

  • Problem with the selection screen

    Hi All,
           In my program i have given the input in selection screen , Its process something and a msg was displayed , and user confirm it to continue , the program take us back to the selection screen - in this case i have to clear all the values from the selection parameters.
    I tried lot , but i didn't get this result.
    I know this is the standard functionality , But anything is there to clear the selection parameters.
    Regards,
    S.C.K

    Hi All,
    In my program i have given the input in selection screen , Its process something and a msg was displayed , and user confirm it to continue , the program take us back to the selection screen - in this case i have to clear all the values from the selection parameters.
    I tried lot , but i didn't get this result.
    I know this is the standard functionality , But anything is there to clear the selection parameters.
    Regards,
    S.C.K
    I didn't go through the long list of replies nor I don't know if you gave it a thought, but you can try this,
    create a [system variant|http://help.sap.com/saphelp_nw04/helpdata/en/c0/980389e58611d194cc00a0c94260a5/content.htm] (variant name starts with CUS& eg: CUS&BLANK) with the entire selection screen fields blanks and use the following function module to call that variant after msg is displayed.
    CALL FUNCTION 'RS_SUPPORT_SELECTIONS'
           EXPORTING
                report               = sy-repid
                variant              = 'CUS&BLANK'
           EXCEPTIONS
                variant_not_existent = 01
                variant_obsolete     = 02.
    You can hide the variant by checking the box "Only display in catalog".

Maybe you are looking for