Enhance web printing: Multiple DataProvider

Hi,
We installed the How to Guide 'Enhance Web Printing' with success.This provides only a solution for 1 data provider. But, most of our WebReports contains more than one dataprovider. This is possible by using class Z_PRINT_HELP_SERVICE_ALL_DP
Question:
Anyone worked on similar scenario or how to modify the class so that it can work for multiple dataprovider.
Thanks in advance.

Hi Jürgen,
The TAB functionality works, what it doesn´t work is the web printing settings. Once you click on 'Print Preview' it pop ups the new window but it comes blank and not with the print settings.
If I take the TAB1 web item out of the Data Analysis TAB code then it works.
Hope this is clear!
Thanks,
Teresa.

Similar Messages

  • Enhanced Web Printing for Bookmarks

    We’ve implemented Web printing for BW 3.5 and it’s been active for several years.  After the last upgrade though the Print button calling the ZPRINTING function calls a blank page for all bookmarked queries (regular Queries work fine).  The only thing that comes close to working is creating a dummy hidden object on the template and assigning the classes to it ( note 865987 ):
    </table><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="DUMMY_DOC"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_DOC"/>
             <param name="DATA_PROVIDER" value="DP"/>
             <param name="HIDDEN" value="X"/>
             <param name="HELP_SERVICE_CLASS" value="Z_PRINT_HELP_SERVICE_IMP"/>
             <param name="HELP_SERVICE" value="ZPRINTING"/>
             ITEM:            DUMMY_DOC
    </object>
    This does not work if the dummy object is a Table.  (This seems important to me for some reason since a blank page is displayed if the class is defined against the original Table object or a dummy Table object but not other types of objects).
    With another dummy object it works but it calls the Z_PRINT_HELP_SERVICE help service class (without all the formatting we’ve set up)  instead of the one defined in the object.  I’ve traced the call from the template and can see it running methods from the incorrect class.  I can also make changes to the other class and see the changes I make to the attributes reflected in the web page.  It’s only half working though as any change to the layout in the preview pane results in a blank web page.
    Anyone have any direction on if is the correct direction to be going?  I’m about ready to install the printing transports again and start from scratch.
    -bill

    hello everybody!
    we are using the Z_PRINTING help service from the SAP tutorial and i have a similar problem here. I am having one template showing the result of one query in the beginning. when I press the PRINT button containing the following...
    <SAP_BW_URL cmd="PROCESS_HELP_WINDOW" HELP_SERVICE="ZPRINTING" DATA_PROVIDER="DATAPROVIDER_1">
    ... everything works fine.
    but when I have changed the displayed query in this template via an ITEMVIEWDROPDOWN-Button a new window with only a blank page displays after pressing the PRINT button.
    the template contains the following object...
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="SET_DATA_PROVIDER"/>
             <param name="NAME" value="DATAPROVIDER_1"/>
             <param name="QUERY" value="ZQ_0000_HP_W_XYZ"/>
             <param name="INFOCUBE" value="ZHRPA_MWM"/>
             <param name='HELP_SERVICE' value='ZPRINTING'/>
             <param name='HELP_SERVICE_CLASS' value='ZHR_PRINT_HELP_SERVICE_IMP'/>
             DATA_PROVIDER:             DATAPROVIDER_1
    </object>
    ...but when hitting the PRINT button after changing the query the system does execute the ZHR_PRINT_HELP_SERVICE_IMP-class.
    any ideas?

  • Enhance Web Printing

    I'm using the web printing settings. Is there any possibility of adding to the preview mode the From: and To: For the number of pages that the user wants to print?
    Also can I add portrait or landscape to the preview mode?
    If someone knows how to customize the preview mode I will appreciate the help!
    Thanks,
    Teresa.

    Hi Jürgen,
    The TAB functionality works, what it doesn´t work is the web printing settings. Once you click on 'Print Preview' it pop ups the new window but it comes blank and not with the print settings.
    If I take the TAB1 web item out of the Data Analysis TAB code then it works.
    Hope this is clear!
    Thanks,
    Teresa.

  • Printing multiple queries data

    I am calling a report A from report B. Report A has multiple queries that are not linked. When I run report A directly it prints the data from both the queries just fine. However, when I call it from report B, it is only printing data for the 2nd query. Any ideas why this is happening?
    thanks

    Check if this can help you:
    Enhance web printing: multiple data providers!?
    Regards

  • Printing multiple queries.

    Is it possible to print multiple queries on a web template through one print button? Has any one been able to do this? The queries may or may not be from the same infoprovider. Thanks!

    Check if this can help you:
    Enhance web printing: multiple data providers!?
    Regards

  • Web Printing Capabilities

    Hi, We have not experimented with the "Web Printing" capabilities yet and have a question or 2 on the topic.  Some people feel it would be better to go to crystal reports to get better formatted printouts or added functionality for printing.
    1.  For printing our general reports should we do the standard SAP "Enhance Web Printing" or look into Crystal for this?
    2.  For printing our Web templates with multiple InfoProviders will crystal make this easier?
    3.  If we would like to format our reports to looks a specific way. "I.E.  This row should be highlighted" would crystal help us with that or would CSS be able to accomplish as well?
    Thanks for any direction you can provide....
    Updated: Topic may have moved down the chain too quickly...

    Hello Kenneth
    SAP "Enhanced Web Printing" basically just add a header, a footer and display variables.... but there are many things you cannot do : change the column width, page break on characteristics values...
    That the report is based on basic cube or multiprovider is not relevant.
    To highlight a column you can do it with standard BW : in the query : highlight, or use exception, use CSS, or table interface.
    Until next major version of BW, the best tool to print using standard SAP is probably WORKBOOK with eventually VBA.
    Best regards from France
    Philippe

  • Web Printing Verification

    I wanted to gets some expert advise before implementing the Web Print Services.
    I converted some Excel BW reports that we had selected "fit To 1 page" in the Print Setup.
    When I print from web it only prints whats visible on the screen.
    I was going to implement the "How To Enhance Web printing".
    My questions is: Is this the best approach or is there another way to get the same printing I had from excel. I've read there is another way using the "excel" print but I cannot assume all users will have excel installed.
    Will reward any help !
    Thanks
    Richard

    Why can't I print my e-mail out on a full page of paper  (8 1/2 x 11).  It prints to the side and takes several pages to do a small note.

  • Web Printing opens an empty windows

    Hi developers,
    I've tried to apply the file: "How To Enhance Web Printing".
    I've applied all the adds to the HTML code as suggested by the file, but the system opens a new page empty. The URL of the new explorer page is: http://172.24.40.56:8045/sap/bw/BEx?SAP-LANGUAGE=I&PAGENO=2&CMD=PROCESS_HELP_WINDOW&HELP_SERVICE=ZPRINTING&ITEM=Table_1&REQUEST_NO=1
    Any ideas how can I solve my problem?
    Thanks in advance!
    Domenico

    Hi developers,
    It was a Key Sensitive Error!
    Thanks a lot!

  • Print multiple pdf from web site

    Hello everyone!!,
    I need print multiple pdf from web site (web page) to the local printer o client printer.
    I have investigated : cfexecuted, java code, javascript, but i can't do it.
    The idea is don´t open printer dialog box for to print.
    Thanks.

    It is NOT POSSIBLE (for security reasons) to do silent printing in this way.  (you wouldn't want to visit a web site and have your printer start spewing out page after page of profanity, would you??)
    You can, however, offer the user the choice to print and then have it print.  That can easily be done by embedding JavaScript into the PDF to be printed.  If you have multiple documents, you should merge them together on the server first and then send a single document.

  • Web printing with Excel - multiple excel sheets

    Hi @ all,
    I have implemented a web report with several tabpages. Now I would like to export them all with web printing solution from tobias kaufmann "HowToWebPrintingWithExcel".
    The Problem is, I would like to get for each tabpages an excel sheet.
    Does anyone know, how to solve the problem?
    Thanks in advance.
    Claudia

    Any new ideas?

  • How to Use Web Printing with Microsoft Excel

    Hello,
    In the recent How to paper on Use Web Printing with Microsoft Excel, describes few ABAP classes and methods. Can those classes be modified  to access much more Microsoft excel objects , such as Macro ? Does any body has tried in those lines ? Any suggestions is eagerly awaited.
    regs
    D Bret

    Hi BW people,
    Since we want to modify our reports for printing (and the How-To about enhancement of web printing does not really answer to our requirements) it seems that the Excel alternative is just what we were looking for.
    Unfortunately I have been working with these classes for 6 hours now to get a very simple Excel file, but without success. I did fix the bug like Thomas Kauffman told on the forum, changed the dataprovider and prefixes and I followed every single step of the How-To document(also the check of folder options to open/save the .xls file),... The only thing that happens: the URL has changed (bookmark) and the page is reloaded again.
    So no Excel file, neither a dialogue box. I also walked -a very long time- through the code (in debugging mode) starting from ZCL_RSR_XLS_HELP_WINDOW_PRINT->PROCESS_CMD but I can't find anything!
    Is there anybody with the same problem and -better- with a possible solution to it?
    Thank you very much in advance!

  • HP Smart Web Printing interfering with Internet Explorer

    Hello - I have a new dv7-4183cl notebook and I just added a new Photosmart C310 wireless printer. When I added the printer, I installed all of the programs included on the installation disc. Since then, I'm having a very annoying problem with the mouse pointer changing from the typical arrow to the precision select crosshair within the active window of Internet Explorer (not on the address bar, toolbars, bottom taskbar). The effect seems entirely random, but once the pointer changes to the crosshair, it does not change back and I am unable to select anything on the page with left clicks. I have to close the page and open another. If I have multiple tabs, some tabs will be fine and some will not. I also have Safari installed and the problem isn't there so it seems linked just to IE.
    When the crosshair is on the screen, I can hilight a rectangular section and a small box pops up saying "clip.." and "print.." So, just to see what happens, I selected clip and it brought up a pane on the left side of the screen for HP Smart Web Printing. I hadn't used this, but it seems to be the culprit because it is randomly turning itself on (so to speak). I've looked through the preferences, but can't find a way to turn it off.
    Has anyone had such an issue? Should I try to uninstall teh Smart Web Printing? Is there an update from HP? It is an annoyance, but enough of one that I would return the associated printer and choose another brand if there were no resolution possible. Thank you and happy New Year to all.

    Yes, I had the same problem and I found out it is due to the HP software HP Smart Web Printing.  If you uninstall that program the crosshair pointer will not show up anymore.

  • Print multiple forms between FP_JOB_OPEN and FP_JOB_CLOSE

    I am aware, that there are questions regarding "Printing Multiple forms", but I didn't find answers there.
    Still my system is not working as expected:
    1.  FP_JOB_OPEN is called
    2. the generated Adobe Forms function is called multiple times
    3.  FP_JOB_CLOSE is called
    This program doesn't deliver all the pages, but just the first call. How shall I solve this problem?
    (Coding should work anywhere with copy-pase.)
    data: fm_name           type rs38l_fnam,
          fp_docparams      type sfpdocparams,
          fp_outputparams   type sfpoutputparams.
    parameters: p_fpname type fpname default 'FP_TEST_02'.
    * Get the name of the generated function module
    call function 'FP_FUNCTION_MODULE_NAME'
      exporting
        i_name     = p_fpname
      importing
        e_funcname = fm_name.
    * Sets the output parameters and opens the spool job
    call function 'FP_JOB_OPEN'
      changing
        ie_outputparams = fp_outputparams
      exceptions
        cancel          = 1
        usage_error     = 2
        system_error    = 3
        internal_error  = 4
        others          = 5.
    * Call the generated function module
    call function fm_name.
    * SECOND CALL ****************************
    call function fm_name.
    * Close the spool job
    call function 'FP_JOB_CLOSE'
    *    IMPORTING
    *     E_RESULT             =
      exceptions
        usage_error           = 1
        system_error          = 2
        internal_error        = 3
        others               = 4.

    Hi ZSOLT,
    In order to call the form multiple times please do the following,
    1) Just before your FP_JOB_OPEN you need to pass the output parameters (good practice). You can also set other parameters as well (for example nodialog, preview, copies., etc)
      CLEAR  fp_outputparams.
      fp_outputparams-dest = 'PDF1'.      "Default pdf printer
      fp_outputparams-reqnew = 'X'.       "New spool request
    Now call your FM FP_JOB_OPEN with the above output parameters.
    2) Usually this step is processed in a loop. (getting your interface data into a internal table and then looping at it)
    But here I am enhancing your example code.
    In order to trigger the form multiple times you need to change some input data to the form (for example I have changed date and time below in the prepare test data sections) so that the call function fm_name gets regenerated every time there is new data
    data  l_datatypes       type sfpdatatypes.
    prepare test data
      l_datatypes-char = '#'.
      l_datatypes-string = 'Auf geht''s! '.    "#EC NOTEXT
      l_datatypes-numc = '42'.
      l_datatypes-dec = 0 - ( 12345 / 7 ).
      l_datatypes-fltp = 0 - ( 12345 / 7 ).
      l_datatypes-int = 4711.
      l_datatypes-curr = 0 - ( 12345 / 7 ).
      l_datatypes-cuky = 'JPY'.       " no decimals
      l_datatypes-quan = 12345 / 7.
      l_datatypes-unit = 'DEG'.       " 1 decimal
      l_datatypes-date = '20040613'.      
      l_datatypes-time = '100600'.         
      l_datatypes-lang = sy-langu.
    FIRST CALL ****************************
    Call the generated function module
      CLEAR fp_docparams.
      fp_docparams-langu = 'EN'.       
      fp_docparams-country = 'US'.  
      call function fm_name
        exporting
          /1bcdwb/docparams        = fp_docparams
          datatypes                = l_datatypes
          mychar                   = l_datatypes-char
         mybyte                   =
          mystring                 = l_datatypes-string
         myxstring                =
          mydate                   = l_datatypes-date
          mytime                   = l_datatypes-time
          mynum                    = l_datatypes-numc
          myint                    = l_datatypes-int
          myfloat                  = l_datatypes-fltp
          mypacked                 = l_datatypes-dec
      IMPORTING
        /1BCDWB/FORMOUTPUT       =
    prepare test data
      l_datatypes-char = '#'.
      l_datatypes-string = 'Auf geht''s! '.    "#EC NOTEXT
      l_datatypes-numc = '42'.
      l_datatypes-dec = 0 - ( 12345 / 7 ).
      l_datatypes-fltp = 0 - ( 12345 / 7 ).
      l_datatypes-int = 4711.
      l_datatypes-curr = 0 - ( 12345 / 7 ).
      l_datatypes-cuky = 'JPY'.       " no decimals
      l_datatypes-quan = 12345 / 7.
      l_datatypes-unit = 'DEG'.       " 1 decimal
      l_datatypes-date = '20100913'.                 "You need to change your data in order it to trigger a new form with the new data.
      l_datatypes-time = '10700'.                        "You need to change your data in order it to trigger a new form with the new data.       
      l_datatypes-lang = sy-langu.
    SECOND CALL ****************************
    Call the generated function module
      CLEAR fp_docparams.
      fp_docparams-langu = 'EN'.
      fp_docparams-country = 'US'.
      call function fm_name
        exporting
          /1bcdwb/docparams        = fp_docparams
          datatypes                = l_datatypes
          mychar                   = l_datatypes-char
         mybyte                   =
          mystring                 = l_datatypes-string
         myxstring                =
          mydate                   = l_datatypes-date
          mytime                   = l_datatypes-time
          mynum                    = l_datatypes-numc
          myint                    = l_datatypes-int
          myfloat                  = l_datatypes-fltp
          mypacked                 = l_datatypes-dec
      IMPORTING
        /1BCDWB/FORMOUTPUT       =
    Close the spool job
    call function 'FP_JOB_CLOSE'
       IMPORTING
        E_RESULT             =
      exceptions
        usage_error           = 1
        system_error          = 2
        internal_error        = 3
        others               = 4.
    I have tested the above code and I am getting multiple forms.
    Please try on your end and let me know if it works.
    Thanks
    Raj

  • Can no longer print multiple files from a PDF package

    Prior to our upgrade to Acrobat Pro X, we had the ability to print multiple files within a PDF package.  We would simply select the files we wanted to print, say print and it would print them all.  It no longer does so, although it still allows us to select multiple files and to select ALL from the print menu but then it only sends the first file to the printer.
    We have tried it on both Windows XP and Windows 7 and it won't work correctly on either one.
    Does anyone have any ideas?  This is very frustrating as these packages are created by folks bundling their e-mail messages to send to the fileroom for printing and filing in the official case files.  With the old method we were able to quickly print out all the messages without attachments, and then would only have to individually print those messages that had attachments.  As stands now if we get a package with 100 messages in  it we will have to select and print each file individually instead of being able to print the 75 without attachments as one print job and then only have to do the seperate handling for the remaining 25 with attachments.
    Any and all suggestions are welcome.

    I'm using windows 7. The Acrobat that came with the Adobe Creative Suit 4 is Adobe Acrobat Pro. When I am on a web site that has a page in PDF I click on the printer icon and the print page comes up but the preview side is blank and will not print the page.

  • Problem with 4250dtn printing multiple copies Windows 7 64 bit

    We can't print multiple copies from within some, but not all, applications to a Laserjet 4250dtn from Windows 7 64-bit workstaitons.  Windows 7 32-bit ones work fine.  The printer is served from a Server 2003 printer queue, but even when we print direclty to the port we only get one copy. Setting copy count from the printer dialog works fine, but we need to have the applications invoke multiple copies. We are using the UPD 64-bit driver;  could not find a legacy driver for this printer for Win 7 64 bit. I've tried various tricks found elsewhere on this forum, including turning off mopier mode, printing directly to the printer, disabling advanced features, etc. to no avail. Help, anyone! Thanks. Jerry TurnbowUSBO

    Thanks very much for the feedback. I was getting worried!
    The command window opens when I double-click on the Developer Day VM and I get a few lines that scroll off the window about loading Linux .... These lines never come back and I can't scroll in the command window.
    As soon as the above messages come into the command window the whole process stops. The window stays open but I get no response from it. I get no login prompt or anything.
    Do you think it could be a VirtualBox setup issue? I downloaded and installed the product along with the extension pack with no apparent problems and when I start VirtualBox I see the Developer Day VM listed in the left panel. All I do at that point is double-click it like the download web site said but I don't get the same results, i.e. no chance to login. It seems all I can do at that point is close the window by clicking the 'X' and it asks me 3 things about what to do with the VM and I usually say to shut it down. None of the other options look any better either.
    Any other suggestions are most welcome!!
    Thanks again!
    -gary

Maybe you are looking for

  • When we update an existing pdf file occurence of " /Count"  increases.

    We have one pdf file with 20 pages and when we open this file in editplus to see its content it shows "<</Count 20". But when we add new page to it or insert from other pdf file the "<</Count" is shown two times with the values 20 and the added page

  • How do I open MS Bundle on MacBook Pro?

    Request assistance opening MS Bundle on MacBook Pro.  I've purchased MS Bundle from the App store, downloaded it, however it doesn't seem to open.  In order to complete work, I downloaded OpenOffice, now whenever I try to open Work, OpenOffice starts

  • Lengthy list of un-fixable permissions

    Hello. I got my MacPro today and seem to be having quite a lengthy list of permissions that DiskUtility cannot fix. Repairing permissions for "Macintosh HD" Warning: SUID file "usr/libexec/load_hdi" has been modified and will not be repaired. Warning

  • Wiki templates

    Alright so I've created a few wikipages before for various things, but never for arch. Right now I'm working on http://wiki.archlinux.org/index.php/Dell_Latitude_D600 because I need to migrate some partitions to other places I figured I'd take the op

  • XML & OC4J

    Hi, I am having a lot of trouble with the xml parser in oracle, i have an app that uses JDOM and would like to continue using this, despite having followed the article by Jason Hunter i still receive exceptions when i try to run the code!!! i am usin