SAP print option IFRAME

Hey,
In WD Application we have a IFRAME that renders the WAD Application.
Printing the Document:
I have used the Print provided by SAP . The preview does not render IFRAME content ( Since it is stateless element).
Can you please suggest how to print the content ? Print preview is not mandatory but Printing document is important.
Print code:
  l_api_componentcontroller = wd_comp_controller->wd_get_api( ).
  l_appl = l_api_componentcontroller->get_application( ).
  l_appl->print_page( ).

Thanks Ramakrishnappa for confirming.
Requirement :
In  WDA there are multiple IFRAME each displaying different ( say for example 5 ) WAD applications. Each WAD has Native WAD Print button ( that works fine) but we want to combine all WAD outputs to a Single Document
i.e. in other words print the WD application that has 5 WAD applications as a one single document
For user Experience - Business wants a print button on WDA that calls the Browser Print command.
Approach tried - Browser Printing:
created a another iframe with Print Link, when user clicks on it  it calls the BSP having Java script that calls the Browser Print command. But when we print, it only prints child iframe not the whole document.
how to get the parent document reference in javascript and print ?
or Can you please let us know any other better approaches for Browser printing the whole document ?  (Sap code to call the Browser Print - if possible)

Similar Messages

  • Sap business one is closing while clicking print option

    Hi
    All
    Iam having a problem of printing a report from sap business one environment
    After viewing the report  iam clicking print option in the file menu
    then suddenly the sap business one is closing without showing any error.
    can any one suggest the answer to print report from sap business one environment
    thanks in advance

    Hi,
    You need to tell us which report you are checking and upon clicking the print the crash is happening.
    In the meanwhile also check Note No. :  [1535046|https://b1-support.wdf.sap.corp/sap/support/notes/1535046]
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • How to set print option for a Billing document using T-code VF02

    Hi All,
    Please suggest me the way to set print option for a Billing document for T-code VF02 and please let me know how to get print preview for any particular Billing document?
    regards
    Anand.

    Enter the billing documents detail
    Goto Goto> Header>Output.
    Check the status for your output type in this screen.
    If it is green then come back to the VF03 screen.Enter the billing document number.
    Click on Billing document-->Issue output to.
    Press (CtrlShiftF1) or click on the icon beside "Print options".
    Here you can see the print preview.
    If the status is red then click on the processing log.Here you will get the error messages.
    If the status is in yellow colour,then click on the "Further Data" button
    Set "Dispatch time" as "4 Send immediately (when saving the application)"
    Before the print preview option you should make sure you have added correct output type to the relevant billing document. To do that, go to transaction VF02.
    Enter the billing document no
    Go to Menu option -> Go to -> Header -> Output
    In that screen you have to add relevant output type. (Standard output type is RD00)
    Add that & press enter key
    Highlight that line & press "Further Data" button
    Set "Dispatch time" as "4 Send immediately (when saving the application)"
    Press "Back" Button
    again select that line & go to "Communication method" button
    Set "Logical destination" as LOCAL"
    Don't mark "Print immediately" & "Release after output" ticks. If you mark them, sa soon as you save the billing document, you'll get a print out.
    Press "Back" Button
    Save
    Now form the initial "Change Billing Document" screen, Go to Menu option; Billing Document -> Issue Output to
    You can see that output type line appear.
    select that line & press "Print Preview" button or (CTRLSHIFTF1)
    You can see the print preview.
    Alternatively you can use VF31 to print multiple print outs at same time.
    If you want to get PDF outputs of billing documents, go to your printer settings in the your computer from Control Panel.
    Set PDF Writer as "Default Printer" (Right click & select "Set as Default Printer")
    Then normal way, print the billing from SAP.
    It'll automatically send to your PDF writer. You can save it to the path you want,

  • Printing an iframe with pdf using javascript is not working in IE8 and above

    I have a problem with printing and Iframe with PDF in IE 8 and above
    Following is my javascript:
    var urlValue="";//Path of the file to be printed
    var div = document.getElementById("printerDiv");
    div.innerHTML = '<iframe src="' + urlValue + '" id="frame" name="frame" style="width:100%;height:100%;"></iframe>';
    frame.focus();
    frame.print();
    This same thing is working fine in other browser but for IE is just not invoking the print dialog.
    Also I tried to get the frame.print(); on load of the frame but even that is not working exactly as that way it print the parent window in output.
    Few things I tried like:
    1) div.innerHTML = '<iframe src="' + urlValue + '"
    onload="this.contentWindow.print();"></iframe>';
    2) frame.contentWindow.focus();
    frame.contentWindow.print();
    3) window.document.getElementsByTagName('iframe')['frame'].onload = (function () {
    frame.focus();
    frame.print();
    I need to get the print of only the content which is in Iframe which I am binding in "printerDiv" by javascript.
    Any perfect/different solution from which I have tried then please post here?
    Thanks.

    PDF documents are hosted in an ActiveX or netscape plugin control which have their own printing functions.
    Start>Adobe Reader>Edit>Preferences - to adjust what functionality the PDF document viewer addon displays (menus etc).
    Tools>Manage Addons>Show all addons
    make sure you have both the x86 and x64 versions of your PDF reader Active X control installed and enabled. I would recommend also that you update to the latest version of the vendors' (Adobe?) plugin.
    Possibly you have disabled scripting of ActiveX controls in the IE security zone that your parent page maps to. Also there is an IE security zone feature that prevents navigation to a domain in a zone of lower integrity.
    Tools>Internet Options>Security tab, click "Reset all zones to default".
    when asking developer related questions it is helpful if you can include a link to your website.
    Rob^_^

  • Print Option in the Salary Statement. What is the Default Printer ?

    Hello
    First off im new to the whole SAP ESS / NetWeaver theme and try to get a grasp of it.
    Along the way one of my Collaegues asked me to find out about the Printing option in the Salary Statement of our ESS Portal.
    I have been searching the Web quite some time now and hope to find the answer here.
    The only thing I found was this Thread ...
    configuring printers in portal
    ... but this couldn't answer my question to the extent i hoped.
    My Collaegue told me that we are using a Web Dynpro iVew to show the Salary Statement,
    and that you will get a Message stating : "Document is been Printed" as soon as you hit the Print Document Button.
    But the Document never showed up wether on the Local Windows printer nor on the SAP printer spool.
    We are guessing that the Document is send to SAP and then waiting to be Printed,
    but we can't find it in the spool of the coresponding Server.
    We are using a 3 Layer System with a Server wich is running SAP ("PHR")
    a Server wich is running the JAVA Apps. ("PP1") and the Desktop PC of the User.
    We think that if the User triggers the Print the Java Apps Server hands down the command to the SAP server
    wich then saves the file and stats in the ESS page "Waiting for Print to start".
    But we cant find this file anywhere in the spool of the SAP Server.
    We are running SAP 6.4 Enhanchmend Package 1 on the PHR.
    On the PP1 we are running an SAP Netweaver 7.0.
    The Desktop PCs are running on Windows XP SP2 with IE 7.
    As i said im new to the whole theme and can not differentiate wich of the infos you need and wich you don't.
    So i try to give as much as Possible but can only explain the problem to you the way my Collaegue's explained to me.
    With kind Regards
    Marcus Labohm

    Hi vijayols,
    Welcome to the HP Support forums.  I gather you would like to learn how to reverse the print order when sending a multiple page documents to your Deskjet 2545 Ink Advantage printer.
    I have included a document on print settings using Windows 8. In the section titled "Change print settings from the Windows 8 Desktop" there is a sub-section titled "Understanding Desktop print settings".  It explains the various options available and one of them is the page order of the print job.
    You mentioned that you have a Laserjet 9050.  That is a commercial product so to get your issue more exposure I would suggest posting it in the commercial forums. You can do this at the link below.
    Changing Print Settings in Windows 8
    HP Enterprise Business Community
    Regards,
    Happytohelp01
    Please click on the Thumbs Up on the right to say “Thanks” for helping!
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    I work on behalf of HP

  • Graph legend and print options

    When building a graph using the graphTable bean, I'd like to place the legend below the graph instead of above. How can this be done?
    Also, the graph plots a number of lines, each of which is rendered in a different color. Is there a way to make the graph lines cross-hatched, or dotted, or something else so that when printed in black and white the user is able to associate the graph line with the legend?

    Hi,
    Take a look at SAP note #1049778. For recent releases, the device type HP4350 should be already available in transaction SPAD n the system.
    Also as per SAP note #1049778, most of the new device types that were developed within the SAP Printer Vendor program (SAP note #1130927) support the new print options.(see SAP note #1103422)
    Regards,
    Aidan

  • Smart form printing issue with LOCL printer and SAP printer

    Hi,
    The issues are as follows:
    1. the top portion of the Invoice and PO does not print when using the SAP printer (works when using LOCL)
    2. the shaded areas of the Order Confirmation and Invoice are black when printing to a SAP printer (works when using LOCL)
    In an attempt to correct the printing issue is was suggested that we change the SAP printer device type from HPLJ4 to POST2. This did address the problem where the shaded areas were black but then we received reports that other reports printed "garbage". Its possible that using POST2 device type causes issues when printing to HP compatible printers.
    Apparently all the testing was done using the SAP printer LOCL and not the SAP printer name and SAP spool system. LOCL uses the SAP GUI and Windows system to produce the output. Our production users at the plant site and Toledo are using SAP defined printers with the device type of HPLJ4. HPLJ4 is our standard here as OC for our printer definitions and we have HP compatible printers installed in our Toledo location and all of our remote sites. We need to be able to correctly print the Invoices, Purchase Orders, Sales Order Confirmations on our SAP printers.
    What can be done to the reports to allow them to print on our HPLJ4?
    Thanks,
    Babu

    Hi Prathap,
    Check the background shading of the windows of the Smartform where you get the black boxes. If it is set something like this:
    Color: White
    Saturation: 100%
    this can be the problem.
    I know it is strange but some black and white printers cannot handle this setting. They only know one color black so the ignore the color setting and just take the saturation 100% setting.
    The reason it works with local and device type SAPWIN is that the print data is created in Windows and sent to the printer as graphic.
    Please change the shading for window MAIN -> tab 'Output Options' to:
    Color: Black
    Saturation: 0%
    and this should resolve the problem.
    Then create a new spool and check if the problem is resolved. See SAP Note #400050.
    Regards,
    Prabhu

  • Smart form printing issue with LOCL and SAP printer

    Hi,
    The issues are as follows:
    1. the top portion of the Invoice and PO does not print when using the SAP printer (works when using LOCL)
    2. the shaded areas of the Order Confirmation and Invoice are black when printing to a SAP printer (works when using LOCL)
    In an attempt to correct the printing issue is was suggested that we change the SAP printer device type from HPLJ4 to POST2. This did address the problem where the shaded areas were black but then we received reports that other reports printed "garbage". Its possible that using POST2 device type causes issues when printing to HP compatible printers.
    Apparently all the testing was done using the SAP printer LOCL and not the SAP printer name and SAP spool system. LOCL uses the SAP GUI and Windows system to produce the output. Our production users at the plant site and Toledo are using SAP defined printers with the device type of HPLJ4. HPLJ4 is our standard here as OC for our printer definitions and we have HP compatible printers installed in our Toledo location and all of our remote sites. We need to be able to correctly print the Invoices, Purchase Orders, Sales Order Confirmations on our SAP printers.
    What can be done to the reports to allow them to print on our HPLJ4?
    Thanks, Prathap

    Hi Prathap,
    Check the background shading of the windows of the Smartform where you get the black boxes. If it is set something like this:
       Color: White
       Saturation: 100%
    this can be the problem.
    I know it is strange but some black and white printers cannot handle this setting. They only know one color black so the ignore the color setting and just take the saturation 100% setting.
    The reason it works with local and device type SAPWIN is that the print data is created in Windows and sent to the printer as graphic.
    Please change the shading for window MAIN -> tab 'Output Options' to:
       Color: Black
       Saturation: 0%
    and this should resolve the problem.
    Then create a new spool and check if the problem is resolved. See SAP Note #400050.
    Regards,
    Aidan

  • Show 'Print' Option not see in view property editor

    I have created a new ABAP web dynpro application and am trying to integrate it into the portal (7.0).  I created a view and am trying to customize the appearance of the tray it appears in so that the user can print the view.  I know that in the standard ESS functions that we have (which are WD Java) I  simply found the show "print" option in the property editor and made sure it was set to yes.  The problem is that while all of the other options are there (Details, help, personalize, refresh, remove, etc),  unfortunately I do not see a show "print" option available in the property editor of the view.  Is there any way that I can get it to show up?  Is there some other parameter that controls whether it should appear.
    I do see the show "print" option on the page, but my users want to see it on the view.
    Thanks for your help.
    Pam Laverty

    Hi,
    It looks like you do not have write permissions to the PCD objects and thus cannot edit them.
    http://help.sap.com/saphelp_nw70/helpdata/EN/f6/2604f005fd11d7b84200047582c9f7/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/EN/f6/2604e505fd11d7b84200047582c9f7/frameset.htm
    Regards,
    Praveen Gudapati

  • Invoice Print options

    Dear Friends,
    I have a Sales invoice with 50 pages and i want to take the print out of first 5 pages only,is there any settings in SAP where i can give from to pages,Pls suggest.
    Regards
    Mahendar

    Hi,
    Whenever we are giving Print  option System will shows Popup Print:.
    Normally, here we will give Output Device below this we can find one option Page Selection option.
    How to use Page selection option:-
    Pages selected for printing
    You can define which pages should be output in the page selection.
    All pages are printed if an entry is not made here.
    You can either specify individual pages or a range of pages. These entries are separated by a comma.
    Examples:
    4     only page 4
    2-5   pages 2 to 5
    -20   up to and including page 20
    3-    from and including page 3
    4,8-10,15-   pages 4, 8 to 10, and page 15 onwards.
    by using this option you can select the pages..
    Barathi

  • Print option in Txn LP12

    Experts
    We are using Txn LP12 to view WM Material staging of Release order Parts. We wanted to print the output, but the print option is disabled in this txn and also saving the  list locally are also disabled.
    Can any one of you please let me know, how to print this ? Or is there any other compatable reports available in SAP for this ? Copy paste option is ruled out (using cntrl+Y)
    Your help will be highly appriciated.
    Thanks
    Venkat.

    1)Using the Print Version context menu option
    2)Using a pushbutton or a link that was defined with the Web API command Export Web Application with the associated parameterization (PDF)
    You may wish to check this.
    http://help.sap.com/saphelp_nw70/helpdata/en/43/68ce8391886e47e10000000a422035/content.htm
    Hope it Helps
    Chetan
    @CP..

  • FB50&FBCJ, before post the document, print option is available ?

    Dear Expert,
    Herewith i have attached the screen shot of FB50 document, after simulation, before posting(Document no not generated), in the menu the print option is available , how is it possible is there any user control level seting requred to stop it ? kindly reply me
    Thanks & Regards
    ILAVARASAN TD

    Hi, I doubt, if standard SAP provides option to control such print.
    Check with your ABAP team, if it can be controlled with Transaction Variant.
    Check with Basis/GRC team, if it can be controlled with Role Authorisation.
    Thanks, Deepanshu

  • Print option of lanscape rather than portrait for apprisal document

    Hi SAP HCM Experts,
    if we take a print of appraisal document from ESS/MSS we get Portrait  form of print, but can we get it in landscape form print
    Whether  can have a print option of lanscape rather than portrait for apprisal document. if yes where we need to change in template.
    I appreciate your help.
    Thanks and regards
    Vijai

    Hi HCM experts,
    any answer
    I appreciate your help.
    Thanks and regards
    Vijai

  • Please help me out with the function code of print option in module pool

    please help me out with the function code of print option in module pool, along with CASE condition.
    regards,
    asif

    Hi
    you can use the Function module
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
      EXPORTING
        destination            = 'LP01'                       "'Printer name
        list_name              = 'TEST'
        list_text              = 'SUBMIT ... TO SAP-SPOOL'
        immediately            = ' '
        line_size              = '2000'
        no_dialog              = 'X'             "pass space to Pop screen for Print option
      IMPORTING
        out_parameters         = wa_pri_params
        valid                  = w_valid.
    "next call below things
      NEW-PAGE PRINT ON NO DIALOG PARAMETERS wa_pri_params.
         "and try to Print the values inside the new-page
      NEW-PAGE PRINT OFF.
    Prabhudas

  • Unable to get the print option in network for Services

    Hi Experts
    I am unable to get the print for services in CN21/CN22 but the print option is in Disable Mode .How should I get it as to Enable Mode to get print .Pl find the attached screenshot for reference
    Thanks in Advance
    Ambarish

    Hi Ambarish,
    There will be an option to disable and enable the print icon for a particular sap screen . SAP Screen has been designed as per business requirement  only  . You may reach out to your functional team or developer team to assign the required output type and form which can enable the icon .
    Also check whether you have required authorization to  print from SAP
    I hope so it will help you
    Regards,
    Aparna

Maybe you are looking for

  • RSIMPCURR: Runtime error while executing

    Hi Everyone, I want to create a process chain to transfer global settings from my ECC system to the BI system. For this purpose I was checking the ABAP program RSIMPCURR which is used to transfer the currecny exchange rates. But when this program is

  • HT201413 my iphone wont restore and update and comes uo with -1 message

    my iphone 4 wont restore or update and comes up with message code -1 any help ?

  • Problems with transaction F110

    proposal of automaticos payments I need to make modifications to layout of the banks the proposal of automatic payments to generate flat files  and to send them by electronic bank, i find on the basis of MT100 with  the exits of user for MT100, but i

  • Integrate SCOM memberships into SCSM

    I have been using SCOM for years, and just recently started using SCSM as well. I have a CI connector to SCOM set up, and an alert connector as well. All seems to be moving along nicely. However, I am wanting to "duplicate" (without duplicating the s

  • This Ipod is locked and will be unlocked in 21,326,565 minutes

    my Ipod touch (3) is showing a message in red saying this Ipod is locked and will be unlocked in 21,326,565 minutes. Resetting several times did not solve the issue. Please advise if this a kind of a virous? and how to resoplve that issue. Thanks