Custom Print Option

HI guys i have  custom print option in our reports, problem is when we are trying to clcik on print, it is opening up one more window which shows as blank, can some one let me whats wrong in my code.
DATA_PROVIDER: DATAPROVIDER_1
TEMPLATE PROPERTIES
"SAPBEXBtnStdBorder" cellspacing="0" cellpadding="0" border="0">
" target=_blank> Print
ITEM: TABLE_1
Thank You,
Kris

Daniel,
       I am using BW 3.5 with SP14. I solved it by my own.
Below is the code try it, it should work. I took Text Elements and Table.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>BW Web Application</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<!-- BW data source object tags -->
<object>
         <param name="OWNER" value="SAP_BW"/>
         <param name="CMD" value="SET_DATA_PROVIDER"/>
         <param name="NAME" value="DATAPROVIDER_1"/>
         <param name="QUERY" value="ZHRPA_M01_Q02_3N1"/>
         <param name="INFOCUBE" value="ZHRPA_M01"/>
         DATA_PROVIDER:             DATAPROVIDER_1
</object>
<object>
         <param name="OWNER" value="SAP_BW"/>
         <param name="CMD" value="SET_PROPERTIES"/>
         <param name="TEMPLATE_ID" value="ZPRINTTEST"/>
         TEMPLATE PROPERTIES
</object>
<META NAME="GENERATOR" Content="MSHTML 6.00.2800.1543"  >
      <link href="/sap/bw/Mime/BEx/StyleSheets/BWReports.css" type="text/css" rel="stylesheet"/>
</HEAD><td>
<BODY>
<A class=SAPBEXBtnStd title="Print via Web Button"
href="<SAP_BW_URL cmd="PROCESS_HELP_WINDOW" help_service="ZPRINTING" item="TABLE_1"  P_SHOW_FILTER=' '
P_HEADER_RIGHT='THIS IS THE HEADER'
P_PREVIEW_MODE=''
P_DATA_AREA_ROWS='36'
P_DATA_AREA_COLUMNS=' '
P_HEADER_HEIGHT='1'
P_FOOTER_HEIGHT='1'
P_DATA_AREA_PADDING_TOP='.25'
P_DATA_AREA_INDENT_LEFT='.5'
P_DATA_AREA_INDENT_RIGHT='.1'
P_PAGE_WIDTH='.5'
P_PAGE_HEIGHT='1'>" target=_blank><NOBR><b>Print</b> </NOBR></A></TD>
<P>
<object>
         <param name="OWNER" value="SAP_BW"/>
         <param name="CMD" value="GET_ITEM"/>
         <param name="NAME" value="TEXTELEMENTS_1"/>
         <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS"/>
         <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
         <param name="GENERATE_LINKS" value=""/>
         <param name="GENERATE_CAPTION" value="BORDER"/>
         <param name="SHOW_COMMON_ELEMENTS" value=""/>
         <param name="SHOW_FILTERS" value=""/>
         <param name="SHOW_VARIABLES" value=""/>
         <param name="ELEMENT_TYPE_1" value="COMMON"/>
         <param name="ELEMENT_NAME_1" value="REPTNAME"/>
         <param name="ELEMENT_TYPE_2" value="COMMON"/>
         <param name="ELEMENT_NAME_2" value="ROLLUPTIME"/>
         <param name="ELEMENT_TYPE_3" value="COMMON"/>
         <param name="ELEMENT_NAME_3" value="SYUZEIT"/>
         ITEM:            TEXTELEMENTS_1
</object>
<object>
         <param name="OWNER" value="SAP_BW"/>
         <param name="CMD" value="GET_ITEM"/>
         <param name="NAME" value="TABLE_1"/>
         <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
         <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
         <param name="WIDTH" value="325"/>
         <param name="BLOCK_SIZE" value="50"/>
         <param name="TARGET_DATA_PROVIDER_1" value="DATAPROVIDER_1"/>
         <param name="HELP_SERVICE" value="ZPRINTING"/>
         <param name="HELP_SERVICE_CLASS" value="Z_PRINT_HELP_SERVICE"/>
         ITEM:            TABLE_1
</object></P>
</BODY>
</HTML>
Hope this is solve your problem too. Let me know if you need anything.
Thank You,
Kris.

Similar Messages

  • Customizing Print Options for Webi Report

    Scenario:
    Environment: BO Xi R3.1
    Webi report having around 10 tabs in a Single report and all report tabs are built on 1 query.
    Requirement
    1)Need to have print pop up box which will give the same functionality as Office tools to the end users.
    i.e., need a way to bring the Java Report Panel (Edit mode) print dialog box to the DHTML (View Mode) so that End Users have more options for printing.
    2)Need to have an option to print report tab selectively.
    3)Need to have an option to print reports for multiple filter selections.
    Any pointers, suggestions to the above requirement are of great help.
    Appreciate, if the Specific SDK class details are also mentioned with any possible options.
    Thanks in advance
    Vijay B

    Lawrence,
    The form is where I concatenate the SQL that is the record source of both the report and the subsequent record updates. So the form is always open before the report is opened (that is where the code to open the report resides and is run), and it must remain
    open while the report is open to maintain the value of the variables, including the WHERE clause of the SQL statement that will be used for the posting process when the user closes the report. That is, the SQL used to open the report MUST match the
    SQL used when posting the records, or the user could change some selection parameter and post records not on the report.
    And I open both the form and report modally to prevent a user from inadvertently running the report's Close event outside the context of the form, with its variables all set for the posting process.
    I know I could pass all of this to public variables, but I am trying to keep it as clean and as close to the Form -> Report -> back to Form as I can.

  • Print Option in PDF

    Hi All,
    I have a requirement where in i need to take a print of only few of the fields present in pdf. Can we create a customized print option other than default [Ctrl+p].
    Regards,
    Ali

    Hi Ali,
    There is a Report object that allows you to create a flat pdf file which you could then call the print method on.
    var rep = new Report();
    if (!RadioButtonList.Yes.isNull)
        rep.writeText("RadioButtonList set to Yes");
    if (!RadioButtonList.No.isNull)
        rep.writeText("RadioButtonList set to No");
    if (RadioButtonList.isNull)
        rep.writeText("RadioButtonList not set");
    var d = rep.open("My Report");
    d.print();
    But there is not much formatting available, maybe too simple.  There more info in the "JavaScript for Acrobat API Reference".
    Bruce

  • Custom Print in Unifier

    I am creating the customized form reports in unifier by using the custom print option in Word03.
    It is working fine for the simple BP's but for the lineitem BP's it is not working. Can anybody assist me ??
    It is a very critical issue for me.
    Thanks in Advance....

    How create a Lineitem Form report using Custom Print option with Word03? I have tried it but the line item is not displaying as a list instead it comes in a single line. I want it to be one by one.  I am using the BP_LI wrapper only.
    Thanks in Advance

  • When printing in Adobe, missing the Custom Scale option.

    Adobe Version 11.0.2
    Windows 7 64 bit.
    Doesn't matter what type of network printer I select.  When selecing to print a document, under Page Sizing & Handling, there is no "Custom Scale" option.  There is on other workstations. 
    Thank you.

    Very strange.  The only thing I can suggest is to update to 11.0.5.

  • Why don't I see the "custom scale" option when I print?

    When printing PDF files using Adobe Reader 10.1.6 I do not have the custom scale option. Is this not available in this version?
    lagoliff

    Update it from iTunes on a computer as described at the bottom of this article; devices running an iOS version prior to 5.0 can't be updated straight from the device. Unless limited by the device's hardware, it will be updated to iOS 6.1.3.
    (81584)

  • Thanks For Your Support in advance i want to know that when I open a website that time view print option and when I click close button then page also new window page also close. I want to copy it how i can stop this print option?

    WHEN I OPEN A URL THAT TIME WITH PAGE OPEN SHOWS PRINT OPTION AND WHEN I CLICK CLOSE BUTTON OF PRINT OPTION THAT TIME NEW WINDOW BUTTON IS CLOSED. I WANT TO CLOSE ONLY PRINT OPTION. PLEASE HELP ME...............THANKS

    Many sites which offer specific "print formatted" pages do that: they assume that once you have finished with the print dialog you no longer want the page itself. So for your convenience they close it. Not so convenient for you, since you still want to view the page.
    I'm not aware of an easy solution for this. I can think of a couple different approaches.
    First, maybe there's an add-on to solve this? That would be easiest.
    Second, maybe there's a userscript to solve this?
    The Greasemonkey add-on runs userscripts which you can copy or download. Be careful to install only long-establish and trusted scripts. (''Is there a site that has this bad behavior that I can view without logging in? I will test one of my existing scripts to see whether it helps.'')
    Third, Firefox has an old system for restricting site permissions in a custom text file in your profile folder (named user.js). Editing this file is a bit advanced, and I haven't been able to test it, but the system works along these lines:
    <br>// Define a policy name for window.close permission
    // (assumes you don't have this pref already)
    user_pref("capability.policy.policynames", "nowindowclose");
    // Define policy: disable sites from using window.close
    // in their scripts
    user_pref("capability.policy.nowindowclose.Window.close", "noAccess");
    // List of sites subject to this policy
    user_pref("capability.policy.nowindowclose.sites", "firstbadsite.com secondbadsite.com");
    Again, I haven't tested that and recommend looking into add-ons first.

  • Print option is not working in listitem of sharepoint 2013

    Hi,
     We have a print option at list item level for printing the files which are checked in document library. The print option works seamlessly fine in sharepoint 2010 but the same is not working in sharepoint 2013. its not sending the files to printer for
    printing when print option is selected. 
    Has someone faced similar issue? Any help would be appreciated..

    Hi,
    There is no OOTB print option in SharePoint list item, print option should be added manually by custom code and the methods are various.
    Please provide more detail description about how you add print option on a list item for printing files in a document library. This will help to troubleshoot the issue.
    In addition, I add a content editor with simple code below to list item display form page, and it worked in my SharePoint 2013 environment:
    <code>
       <input onclick="window.print();return false;" type="button" value=" Print "/>
    </code>
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Sales Orders Screen: Preview and Print Option Not Available in Actions LOV

    Hi,
    We are using Custom Responsibility for Order Management.
    We can't find the Preview and Print Option in Actions list(Sales Orders -> Query for Sales Orders -> Actions).
    Kindly let me know how to add the Preview and Print Option to the LOV.
    Thanks,
    Tamil

    Hello,
    You have to find this function in standard responsibility and copy this name to your own.
    Regards,
    Luko

  • Pricing condition type with print option

    I have a special requirement.  Printing option "b" maintained for condition type in pricing procedure.  Example ZR00.  For some customers this should not print and should allow only for specific customers.
    Any clue will appreciated.
    Please don't send the links.
    Suddu

    hi,
    is it that those conditons that are printed are only applicable to a particular customer.
    or
    though a conditoin is applicable but still you dont want to show.
    However my observation is, it requires some enhancement of Z table kind of thing. Reason is a discount which needs to be printed today may not be required tomorrow to be printed or the other way round. It depends on the customers business nature with your client. In such case it has to be part of master data where the enduser should have an option to make the necessary entries from time to time.
    If we hard code in the print program initially it can work. It will check the customer and print only those discounts but tomorrow if there is a change we have move a request to the print program again which is not the right approach.
    regards
    sadhu kishore

  • Two sided print option is grey out

    Recently, I noticed that when I need to print two-sided documents, the "two-sided" print option is greyed out.  I have gone into System Preferences  Printers & Scanners- and under "options" for the printer enabled the HP Two-sided Printing Accesory (Duplexer).  This button continues to disengage (won't remain enabled) and each time I need to print two-sided, I have to repeat the above process. Please help

    Hi,Try resetting the printing system and check if that may help:*Be aware that resetting the printer system will remove any existing print queue and reset any customized driver settings.
    Click the Apple menu, and then click System Preferences .
    Select Printers & Scanners.
    Right-click (or Ctrl + click) your product in the Printers list in the left panel, and then click Reset printing system .
    Click OK to confirm the reset.
    Type your user Name and Password .
    Click OK . The printing system resets. Next click the plus sign and select the listed printer. Within the Use drop down menu select the printer model and press the Add button. Hope that may help,Shlomi

  • Pro-100 Custom Printer Profiles

    Has anyone had success in using a custom printer profile with this printer. Glossy generic Canon paper profiles work ok but are not completely on the money. I get a little too much red. I had a custom profiles created by reputable 3rd party provider for a variety of Canon papers. When I use them to print the test sheets the anomalies are dramatic.  Instead of smooth transition of colors steps and anomalies are are printed throughout the test sheet. When I print the Macbeth color chart an example of how far the colors are off one could not find the red square on the printed output. Thinking the provider had a bad day I asked him to do it again. There was no change in the results. I then went out and bought an Xrite Color Munkie. I have the same results as with the 3rd party provider's color profile.
    Previously I used custom profiles with the i9900 for years. Still using the same computer and software; CS5 and Vista 64 bit OS. I let Photoshop manage the colors, I select the custom profile,  check Manual on the print driver screens, and select None for Color Correction on the Matching tab. Am I missing something?

    I tried the Color Correction to None and when i started from scratch and redid my profiles it worked! Thank you
    What I find troubling is where is this explained in the manuals or help? If this is a "professional printer" then custom profiles are going to be used.
    Where is the expalnation for the other options on this screen particularly ICM. When it is chosen I only see Paper company profiles. Why do I not see my custom profiles (see link on previous comment)? When I press Help I get the following:
    "ICM (ICC Profile Matching) Adjusts the colors by using an ICC profile when printing. Specify the input profile, printer profile, and rendering intent to be used." If your major software products from Adobe and Apple do the color management why is this here?  Somewhere in the internet, not at Canon site, I see its purpose is for applications that do not control the color management.  Which begs the question how many users who use  that kind of software are going to look, find, and understand this screen and color profiles.
    Sorry after losing a lot of time and money I have to vent at Canon.   I do appreciate the help. Thanks again.

  • Unable to set print options

    i cant seem to set print options on a Mac using Mountain Lion.
    Where can I find the options such as paper type, resolution and gamma etc.  its available when i print from pages but not from PSE9
    Thanks

    Not in pre press industry, just trying to get the best out of my images/printing
    The optimum settings for my media type are as previously stated Gamma 2.2 etc, these settings worked perfectly with windows
    My recent attempts at printing with my new Mac have delivered dark and flat prints, the only setting I seem to be missing and therefore not amended is the gamma setting, so it's more of an elimination exercise to see if it's anything else that's wrong
    I guess I was looking for the same ease of accurate printing with OS X as with Windows, so I do suspect your right in that's it's Epson dropping updates. I did ring them and a chocolate fire guard springs to mind
    I am in contact with the media provider (Lyson media proved by Marrutt)  and they are doing me a custom profile that should hopefully resolve the situation
    I did Google the issue and a random number of similar problems seem to be out there most related to the latest Mountain Lion and Epson apathy
    Anyway thanks for your help and assistance I am most grateful for your time
    Let's see how the custom profile works and I will no doubt be in touch if it doesn't
    Thanks Phil

  • Print option for PDF only...

    Hi all,
    Any suggestions on how we can delete the Print option for HTML format while having it for PDF format?
    Thanks.

    hi
    check this...
    http://oraclebizint.wordpress.com/2008/01/03/oracle-bi-ee-101332-customizing-download-links/

  • Where has the "any printer" option gone?

    In my printer drop down, there are a list of printers, but no "any printer".  I need this as I have document that is larger than any of the printers i currently have.

    The any printer option seems to have disappeared. My first thought was that it had gone with Lion 10.7.3, but it is also missing in the print dialog on my Mac mini running Snow Leopard. I haven't had a printer that can do larger sizes for quite awhile, so I don't know when it disappeared from the print dialog. You can still select "any printer" & other sizes (I have tabloid as a custom size) in File > Page Setup… in Pages.

Maybe you are looking for