Printing multiple screen objects (ALV+GFW) with only 1 print dialog pop-up?

All,
This is related to my previous post at:
Re: How to print multiple ALV Grids with only one print dialog?
but there is still one open question...
My requirement is to create reports that will be called through portals; those reports are a combination of charts and the associated list output describing the data of each chart.
In my first report (4 charts), I created a screen with 8 custom containers: 4 on the left hand side for the charts and 4 to the right for the list output.
To create the charts I am using the Graphical Framework (GFW) and for the ALVs the new CL_SALV* classes.
Everything works fine on the screen, but the users also want to print the report. I got them to the point where they will accept a separate printout (page) for every object (e.g. chart and ALV) of the report.
I put a print button through the GUI status on the screen and trigger the associated print events in the program; this works fine as well, but the problem is that for every output (in this case 8) a print dialog appears and prompts the user for a printer selection. This the users won't accept and - quite frankly - I wouldn't either ;).
Now, in my previous post someone pointed me to the use of the REUSE* function modules to append the ALVs and then print them together; this works and reduces the print dialog to only one for the ALVs.
Even though this is an option, I am still kind of hesitant: why using all the great new OO stuff via the CL_SALV* classes to bring the ALVs on the screen, just to go back to the old approach for the printouts???
Especially since I still can’t figure out how to combine the GFW objects in one print – or even better – how to suppress the dialog by passing the information behind the scenes either.
As of now, I have 2 options:
- 8 print dialogs (OO only)
- 5 print dialogs (using the REUSE approach for the ALVs and triggering the chart prints individually)
Does anyone see a way to bring it down to ONE?
Thanks,
Guenther
Message was edited by: Guenther Schober
Update: I found the solution for the ALVs!
Even though I am using the
"new-page print on parameters G_S_PRINT_PARAMETERS no dialog" statement, the dialogs still appeared; reason for this was that I also set:
"L_O_PRINT->SET_PRINT_ONLY( IF_SALV_C_BOOL_SAP=>TRUE )" before I output the ALV table.
After removing this, the ALVs are printing without pop-up!!!
Unfortunately the GFWs still prompt for the printer selection

Hi,
Mine is also same requirement and i could not even generate multiple print dialogs.Can i have your code to compare with my code please.
I am displaying container information on 200 screen PBO. I have added one custom print button to the grid tool bar(remaing container toolbar print buttons i have disabled). Once i click on custom print button a popup is coming and when i click on continue(one container informtion print is coming) and  it is coming to 100 screen(in this, i am calling selection screen as a subscree) and subsequent print dialog is not coming.
Thanks & Regards
Ramu

Similar Messages

  • Can't get photoshop elements 12 to print multiple copies of an image with one print job? what to do?

    Can't get photoshop elements 12 to print multiple copies of an image with one print job

    How do I do that? I'm the only user on the laptop - I kind of assumed I already was running the install as the admin.

  • How to print multiple pages of same form with one print command

    Hi,
    I have created a cheque print form in smartform. There is provision to print multiple cheques. I give multiple cheque numbers from my selection screen and for each cheque the smart form is called in loop.  Currently I get preview of 1st cheque then I print 1st cheque then click on back, cancel or exit button and then I get preview of second cheque ans so on...
    Now I want to print all the cheques with one print command.
    Please advice.
    Regards,

    Instead of looping at the smartform multiple times, pass an internal table with the data content to the smartform and use loop/ Table youroption  in ur smartform in the main window.in this way u can achieve printing multiple cheques at once and avoid previewing the document several times.
    Edited by: Mithun Shetty on Feb 25, 2011 8:56 PM

  • How do you get multiple screens on the iPad with iOS 5.1.1?

    How do you get multiple screens on the iPad with iOS 5.1.1? We just upgraded to iOS 5.1.1, and we see no way to be able to open multiple screens at once. Before, there was a small button in the upper portion of any window. That button would take you from a particular window to the place where multiple windows are open at once. Does it do it differently? Is there a special setting button that we have missed? Thanks!
    One more thing: We are only talking about Safari.

    Guitaristica-
    I don't think I've seen a way to have separate Safari screens visible at the same time.  The small thumbnails were deleted in one of the iOS updates, and replaced with a multiple "Tab" system.
    You can open an additional screen in a new "tab" by pressing and holding on a link until a new menu comes up.
    Fred

  • Can I have smart print eprint on two different computes with only account

    Can I have smart print eprint on two different computers with only one account???

    Are you talking about accessing an ePrint account from various computers? Or having  HP Smart Print on multiple computers?
    ePrint account information is kept at the site. You can log on it from anywhere, from any computer. Just go to the sire and click on Sign in and enter your password and email address. You can have multiple printers on one user account at ePrint Center (EPC). But printers can only be registered on ePrint Center to one user account.  If you have an ePrint cable printer you can create an account at this link here. 
    HP Smart Print does not require an account you can download to an Internet Explorere browser (versions 6-9) and use it with no registration. 
    I am a former employee of HP...
    How do I give Kudos?| How do I mark a post as Solved?

  • ALV list with only 1 field

    Hi guru's,
    I want to create an ALV list with only a char255 field.
    <all_table> contains data of sflight and is of type sflight(dynamically).
    I want to show the data as one line.
    CALL FUNCTION 'DDIF_FIELDINFO_GET'
           EXPORTING
                tabname   = 'TPPARFIL'
                fieldname = 'LINE'
          TABLES
                dfies_tab = it_dfies.
      READ TABLE it_dfies INDEX 1.
      IF sy-subrc IS INITIAL.
      MOVE-CORRESPONDING it_dfies TO wa_fieldcat.
      wa_fieldcat-scrtext_s = 'Results:'.
        APPEND wa_fieldcat TO gt_fieldcat.
      ENDIF.
    t_output[] = <all_table>.
      CALL FUNCTION 'LVC_TRANSFER_TO_SLIS'
           EXPORTING
                it_fieldcat_lvc = gt_fieldcat
           IMPORTING
                it_fieldcat_alv = it_fieldcat_alv.
      PERFORM fill_alv_layout.
    * Show list
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
           EXPORTING
                i_callback_program = lv_repid
                i_grid_title       = sy-title
                 is_layout          = gs_layout
                it_fieldcat        = it_fieldcat_alv[]
           TABLES
                t_outtab           = t_output
           EXCEPTIONS
                program_error      = 1
                OTHERS             = 2.
    *&      Form  fill_alv_layout
      FORM fill_alv_layout.
        CLEAR: gs_layout.
        gs_layout-max_linesize         = 160.
        gs_layout-min_linesize         = 160.
        gs_layout-detail_initial_lines = 'X'.
        gs_layout-zebra                = 'X'.
        gs_layout-edit_mode            = 'A'.
        gs_layout-numc_sum             = 'X'.
        gs_layout-colwidth_optimize    = 'X'.
        gs_layout-window_titlebar      = sy-title.
        gs_layout-totals_only          = 'X'.
      ENDFORM.                    " fill_alv_layout
    When I run this it only gives an empty view of the fields with type char255.
    Regards,
    Wim

    hi,
    As per your code I think your internal table is empty. Please set debugger after internal table fill and check. If the data is there then please check your field catalog entry.
    Regards,
    Sachin

  • How to print multiple ALV Grids with only one print dialog?

    Hi,
    I have a report that has multiple ALV grids in splitter containers. The users want to be able to print those ALVs by pushing only one print button. I got it to work (parameter IS_PRINT and method SET_FRONTEND_PRINT before calling SET_TABLE_FOR_FIRST_DISPLAY) but I can't find a way to avoid that the printer dialog pops up for every grid I print.
    I tried to use the function module approach with REUSE_ALV_LIST_DISPLAY but have the same issue. Any thoughts?
    Thanks,
    Guenther

    Hi Peluka,
    Well, that's exactly what I am doing. Putting one central button in the app is not the problem; the issue is that the print dialog (to select the printer) pops up for every  individual ALV grid. E.g. if I place 4 ALV grids on my screen and trigger their print from a central button, I am getting 4 print dialogs.
    Cheers,
    Guenther

  • How to print multiple copies of same image (with specific fixed dimensions) on single page

    I am using Photoshop Elements 10 on Win 7 PC.  I am trying to print multiple copies of one image on a single 8.5x11 sheet of paper? The images are artwork for buttons (to be used in button-making machine) so the dimensions must be exact on the duplicated images.  When I select Picture Package, the images are resized to fit the dimensions in the picture package. When I select Contact Sheet, the images are resized to fit the number of columns I selected.  Neither is acceptable.  How can I repeat the same image on a single piece of paper without having the system re-size the image?  I know that I can manually create a new PSE file and manually insert the images into this file.  This is what I have been doing as a work-around.   But I would hope there is a better/faster way.
    Thank-you!

    A variation of hatstead's method where the pictures are precisely aligned:
    1. Add the picture to the blank file as hatstead described. Use the Move tool to position the picture in the upper left corner.
    2. Duplicate the layer. Use the arrow keys (NOT the mouse) to move the new layer to the right.
    3. Repeat step 2 until the row is filled:
    4. Merge Down the 3 layers into one. Alternatively, link the 3 layers and do a Merge Linked as in this example. The end result is the pictures in the row are on one layer:
    5. Duplicate the layer and use the arrow keys to move this down to the 2nd row.
    6. Repeat step 5 to create additional rows.
    7. Finally, to center the whole thing on the sheet, link all the row layers and position with the arrow keys.
    Note that you can also custom-make your own Picture Package. Instructions for this should be somewhere in Help.

  • Printing Page numbers in ALV grid with oops

    Hi ,
    I have a ALV grid display with OOPS , there are also fields in top of page and end of page that go along with the print. I want to print the page numbers also . If I give a variable and increment it along with every call to top of page , then if a second print is issued, the variable can not be cleared out. Is there any other way.
    Thank you .

    Regarding  ALV Grid  Control using OOPs concepts
    Please give me reward point if it is useful.
    Thanks
    Murali Poli

  • MY PRINTER ONLY PRINTS IN COLOUR, AND I WANT TO ONLY PRINT IN BLACK AND WHITE

    HI, AND GREETINGS,
    IVE BEEN TRYING TO SOLVE THIS PROBLEM FOR SOME TIME BUT I CANNOT FIND A SOLUTION TO IT. IVE WANTED TO PRINT SOME DOCUMENTS BUT IN BLACK AND WHITE ONLY - INSTEAD OF COLOUR BUT I CANT SEEM TO FIND THE SETTING IN WHICH I CAN TURN OFF THE COLOUR, AND TO JUST USE BLACK INK
    MY PRINTER IS:
    HP COLOUR LASERJET PRO MFP M177FW
    AND I AM USING A MACBOOK PRO 2010 VERSION
    WOULD LOVE TO GET A RESPONSE FROM YOU GUYS TO HELP ME OUT,
    KINDEST REGARDS,
    W3 GUD

    Hi @W3GUD ,
    I see that you would like to set the printer to print with just the black toner. I would like to help you out with this issue today.
    Depending on which operating system you are using and what driver was installed for the printer, the Grayscale option should be under Paper/Quality.
    From the application, go to File, Print, click on the dropdown for the printer preferences and select Paper/Quality.
    Click on the Color Options dropdown and then select Grayscale.
    Check the driver name that is installed for the printer. Make sure it shows just the printer's name.
    Click the Apple menu and then click System Preferences. Click Printers & Scanners, highlight the printer name on the left side and on the right side of the screen it should show the printer's name. (Laserjet M177fw)
    If the full printer name isn't listed correctly, delete it and add the printer name back in from the list. Click the - sign to delete the driver and then click the + sign to add the driver, you might have to click the drop down to select the printer's name to add it in.
    What operating system are you using? Mac OS X: How Do I Find Which Mac OS X Version Is on My Computer?
    If you need further assistance, just let me know.
    Have a nice day!
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • Printing Multiple images on one sheet of paper ( Printer Package)

    I want to print multiple different images on one sheet of paper using PhotoShop 6 Printer Package, (operating system windows7 h/p)  I have figured out how to get multiple images of the same image on one sheet, but not two different images.
    I seen these instructions on the web and can do 1.2.3....4.  has me lost.  I think this may work for me, unless there is another method that is easier.
    Important: Mac OS X users much first apply an update to Photoshop before attempting to customize the Picture Package layouts. Information and and a download link can be found at [url]http://www.adobe.com/support/downloads/[/url] (Thank you Matt Jones for this tip!)
    Copy the next five lines and paste them into a text editor, like NotePad or SimpleText:
    I 8 10
    Letter (3) 4x6
    0 0 6 4
    0 4 4 6
    4 4 4 6 
    Name this file FourBySixes.txt 
    Copy the file to your Adobe\Photoshop X.0\Presets\Layouts folder where X represents your version of Photoshop. 
    Open Photoshop and try it!
    I copyed  #3 and save to my documents, but I can't figure out how to do #4, or where the Adobe X.0\ Presets\Layout folder is at, if you could dumb this down for me I would be very grateful.
    thanks

    I can only guess that Photoshop 6 under Win7 would have the layouts under Program Files (x86)\Adobe\Photoshop 6\Presets or thereabouts.  This is the Photoshop Elements forum,  you may want to try the full Photoshop forum: http://forums.adobe.com/community/photoshop/photoshop_windows
    Juergen

  • When printing to my hp color printer from my MacBook Pro, it will only print in b

    When trying to print to my HP color printer, my macbook will only print the document  in black and white. I have  looked at settings and I don't see an option to print to color.

    Hmmm...well that narrows down things a little more. Has it ever worked correctly? Have you tried deleting the printer from System Preferences (under the Apple menu) > Printers & Scanners and then re-adding it again? Also, silly question, but have you checked the supply levels to make sure it has color ink in it?
    Does the printer work correctly with another computer?
    I know it is puzzling. I'm trying to think of all the ways to isolate this to one thing or another.

  • Printing problems Desket 3520 - says i can only print from apps

    So frustrating.
    Since upgrading to Window 8.1 I have nothing but print problems, despite unistalling and reinstalling. Now when I try to print,when I click on the print icon (that comes up from the swipe side bar) i get a message saying I can only print from apps. So I have been unable to print word docs etc of any kind. The printer works fine from my iphone and ipad and the laptop can see the printer wirelessly and connects to it - BUT IT WONT PRINT!! I've had to resort to emailing the docs to myself to print from my ipad - ridiculous!
    WHAT is happening HP? I use an HP laptop and HP printer for a REASON, compatibilty. NOT SO since the update.
    Please can someone send me an easy fix for this frustrating problem. 'Ive tried everything and  I'm fairly computer savvy.
    Regards and TIA
    Lissim09

    Hey there @lissim09 welcome to the forums
    I am not quite sure why your Windows 8.1 is not printing to your Deskjet 3520 however, I have some ideas to try and find out and hopefully get it printing for you. The printer is working with other devices, which shows us the printer itself is alright.
    Run the Print and Scan Doctor. This diagnostic tool will check for any conflicts that could be causing the issue. The tool will show you a report at the end. If there was a problem that the tool could not fix, you will notice it in the results. Please send me the results.
    Also try a Clean Boot, restart the PC and try a print again. This will turn off all start up programs running on your PC, in the case there is something running that is blocking the printer from printing, this should bypass it. Also disable your firewall temporarily.
    Try printing from two programs afterwards.
    Also include how you have the printer connected to the PC (wireless, ethernet, usb).
    Thank you
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

  • Why, all of a sudden, when I try to print does my iMac decide it will only print vertically even though I have chosen horizontal?

    The page looks perfect in the word processor PAGES, however, when I go to print in shows (and prints) my horizontal document on the paper vertically? Try to picture a 5x7 print laid sideways in a verticle 5x7 frame; much of the picture is lost or "printed" outside of the frame. This has only been happening for the past month or so, it always printed fine before that. And yes, i tried changing the orientation in page set up." Thanks for any help!

    Right click the printer in System Prefences -  Print & Scan and use Reset Printing System... and then reinstall the printer, should take less than 5 minutes. Here is a photo showing how to Reset Printing System....

  • Print preview screen always appears in IW38 while printing order.

    Hi Experts,
    I have a user who always gets a print preview screen while printing orders from orders list page in IW38 T-Code.
    Now we have tried to set his printer as default in SU3 T-Code,
    Also we have  selected the Print Immediately Option,
    In addition to this, we have unchecked the Print Dialog Box in the IW32 for thisuser.
    Now while testing we ourselves are not getting any print preview screen,
    However the user is getting the same.
    Can anyone please explain why he is always getting the print preview prompt.
    This might be a little out of PP/PM domain, but please help if possible.
    Thanks
    Adarsh

    Hi,
    You can use given function module to print your
    selection screen
    RS_REFRESH_FROM_SELECTOPTIONS
    >This will get Current contents of selection screen
    RS_LIST_SELECTION_TABLE
    >This will Generates list according to values in selection table(RSPARAMS)
    Sample
    CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
           EXPORTING
                curr_report     = p_repid
           TABLES
                selection_table = it_int_tab
           EXCEPTIONS
                not_found       = 1
                no_report       = 2
                OTHERS          = 3.
      IF sy-subrc EQ 0.
        WRITE:1  'Selection Criteria'(i19),
             /1  sy-uline(18),
             /1  'Variant Name'(i21),
             23  sy-slset.
    *--  This function module lists the Selection Screen contents
        CALL FUNCTION 'RS_LIST_SELECTION_TABLE'
             EXPORTING
                  report        = p_repid
                  seltext       = 'X'
                  newpage       = space
             TABLES
                  sel_tab       = it_int_tab
             EXCEPTIONS
                  sel_tab_empty = 1
                  OTHERS        = 2.
    Mark all helpful answers

Maybe you are looking for

  • When I try to open my programs I get an Error: 1 message.

    So I tried to uninstall it to reinstall it again. But when I try to uninstall it says uninstall failed and it gives me a list of things to do and try again. After doing the list and trying again it still won't uninstall. i tryed next to install it to

  • IMac won't start up with iPod plugged in?

    Just bought a new imac, and it's working perfectly. It reads my iPod with no problems, but i've noticed that when I turn my iMac on sometimes, it won't start up. Just kinda stays at the beginning white screen. It only does it when my iPod is plugged

  • Open PDF in Acrobat from flash movie

    Hi all, I have made a flash autorun splash screen for a CD containing numerous pdf' files. When I click on the files in the flash movie however, they open in a browser window. Is there any way to make them open in acrobat by default?

  • Creating linked tables in Pages

    I'm attempting to make a quote sheet in pages. This requires a set of tables which are linked. Either linked to each other within pages, or, linked to an existing numbers document. However, I can't find this anywhere. Below are the two tables I'd lik

  • Error in start OCSG

    hi, everyone, i installed OCSG4.1, when i created one domain of "basic ocsg", server run wrong. had somebody occur any wrong before? please help me. regard ~~ the error as below : <Aug 3, 2009 3:25:29 PM GMT+08:00> <Critical> <WebLogicServer> <BEA-00