"Print" button on ic-web client

Hi Experts,
We are working on SAP CRM 2007
On top of the page we see a Toolbar with several buttons. One of the buttons is print. (Used to print the contents of a view)
Can anyone guide me where exactly is the code for this 'Print' event?? Which view, controller etc.?
Full rewards guranteed for helpful answers
Regards,
Asmitha.

Hi Asmitha,
   You need to redefine the method IF_BSP_WD_TOOLBAR_CALLBACK~GET_SYSTEM_BUTTONS in windows implementation class and code something like this:
METHOD if_bsp_wd_toolbar_callback~get_system_buttons.
  DATA: ls_button           TYPE crmt_thtmlb_button_ext.
  DATA: lv_button_index     TYPE sy-tabix,
        lv_sp               TYPE string.
      CLEAR ls_button.
      ls_button-page_id         = me->component_id.
      ls_button-type            = cl_thtmlb_util=>gc_icon_print.
      ls_button-enabled         = 'X'.
      ls_button-on_client_click = `crmFrwPrint();`.         "#EC NOTEXT
      ls_button-tooltip         =  text-003.
      APPEND ls_button TO rt_buttons.
ENDMETHOD.
//Swagatika

Similar Messages

  • Adding a custom button in agile web client GUI.

    Hi,
    Is it possible to add a custom button in agile web client GUI?. Since i am totally new in the agile world, please provide some guidelines.
    thanks,
    Uday

    Yes, there are ways to add buttons to the user interface. The solution depends on your use case. If you are wanting to add a button in the same area that you see other action buttons, like the Save or Edit buttons, then you can do by following the instructions in the Navigation Extensibility Guide. You can find this document in the Extensibility Pack documentation online. All the online documentation can be found at http://www.oracle.com/technetwork/documentation/agile-085940.html#plmprocess - select the Extensibility Pack and you'll find the Navigation Guide in there.

  • Bex: diplaying the report in Web page needs print button and extend frame.

    Hi
    1. Is this possible to add print button in the web page which we execute from Bex for the Report or Queries?
    2. After Execution the display area is small within the frame , is that possible to extend the size of the frame and display?
    Thanks and points will be assigned!
    Regards
    M.A

    Hi
    1. Is this possible to add print button in the web page which we execute from Bex for the Report or Queries?
    2. After Execution the display area is small within the frame , is that possible to extend the size of the frame and display?
    Thanks and points will be assigned!
    Regards
    M.A

  • Print Button in Web Dynpro ABAP

    Hi Everybody,
    i hope that someone know or have a code sample how i can set a print button to the Web Dynpro for ABAP. On click on this it should open the print window from the Internet Explorer.
    Please let me know if there is any information about this.
    Thanks
    Best regards
    Markus

    Hi,
    If you are using the Internet Explorer 7, you can use CTRL + P to invoke print directly on any WebDynpro ABAP view.  This is IE 7.0 browser featute & always has print preview & print options available from File Menu's. So you dont require any additional buttons on view :).
    For table data if you use ALV you get options to export data to excel or fire print directly
    Greetings
    Prashant

  • Print table data in Web Dynpro

    Hi all,
    I've seen that this topic was already discussed a lot in this forum. We need a print button in our Web Dynpro, when it is pushed all table data will be printed.
    Therefore my question is: Has anyone already implemented a working solution for this? What are the basic steps of your solution?
    Your answer is appreciated.
    Thanks, Carmen

    Carmen,
    Refer "<b><i>Printing a Table</i></b>" section in <a href="/people/sap.user72/blog/2006/05/04/enhancing-tables-in-webdynpro-java-150-custom-built-table-utilities Tables in WebDynpro Java</a>.
    Bala

  • Create a print button in webtemplate used for integrated planning - BI 7.0

    Heelo Guys,
    Can you please let me know how to add a print button in the web template which has a input query  and which is used for integrated planning. The user want to print the report.I haven't worked in web template and thought of asking you if there is any button or standard sap functionality I can use for printing the report . Thanks in advance for your help. We are in BI 7.0.
    Thanks
    Senthil

    Hello
    What you are experiencing is not clear for me, but in general you have to install the BI ABAP + BI java to have planning modeler working. Ensure that BI Diagnostics (note 937697) and also ensure that you have setup your system according notes
    919850 and  947376.
    I hope this helps.
    BR
    Lucimar
    Edited by: Lucimar Moresco on Oct 14, 2010 3:58 PM

  • How to print formated data/report on client's printer (Web Application)

    Hi All
    I want to print some formatted data/report ( it might be 1000 pages) on user's printer.
    Application is web based
    Technology used are Java - jsp - servlets
    i want functionality like...
    when user click on print button/link, data is fetched from server and all pages (it is formated data so i want alignment on page while printing) should be printed one after another.
    Also printer selection dialog should displayed one time when user click on print button/link.
    Questions:
    1. How i will transfer all data to client (web browser) from the server ??
    2. And how i can print that data on user's printer ??
    There is requirement (or limitation) that I can not use applet for this purpose.
    And also it is not fix that we must use java tech., we can use any othere tech. but condition is that it must support multiple platform (in short platform indipendant)
    There is solution like ...
    I can use window.print() function of DOM/JavaScript,
    but it prints only one page which is displayed on browser.
    I don't want to display any page. and want to print all pages.
    if any one done or have idea then let me know.
    Thanks in Adv.
    Shailesh Koradiya

    thanks linxpda for reply,
    we can use ActiveX component for windows platform for printing purpose, same way we can use platform specific component for printing... (for linux, unix, sun solaris etc...)
    if it is possible then let me inform.
    Thanks,
    Shailesh Koradiya

  • Print button on Web report.

    Hi gurus,
    We were trying to add a print button on Web report for printing the result area on the Web report.
    We followed the steps which has given in the How-to-guide How To Web Printing with Microsoft
    Excel document.
    In the document it has mentioned that
    1. Support package should be above 19 for BW 3.5 version
    2. Add HTML code in the WAD Template
    3. Import Transport file into the System.
    4. Apply OSS notes 736568 and 737082 to BW
    We upgraded the support package to 22, added the html code in the WAD template, imported the transport file into the BW system and applied the OSS notes as per the mentioned in the document.
    The transport file contains the Package u201CZPK_WEB_PRINTING_WITH_EXCELu201D and ABAP Classes u201CZCL_RSR_XLS_GRIDu201D,
    u201CZCL_RSR_XLS_HELP_WINDOW_PRINTu201D,
    u201CZCL_RSR_XLS_ITEM_CONDITIONu201D,
    u201CZCL_RSR_XLS_ITEM_EXCEPTIONu201D,
    u201CZCL_RSR_XLS_ITEM_GRIDu201D,
    u201CZCL_RSR_XLS_ITEM_TEMPLATEu201D,
    u201CZCL_RSR_XLS_ITEM_TEXT_ELEMENTSu201D,
    u201CZCL_RSR_XLS_TABLEu201D
    After import the transport file into BW, some of the objects in the ABAP Classes were not activated. I was trying to activate manually but those were not activating.
    Please guide me how to resolve the above issue or is there any way to get the printing the web report?
    Thanks in advance.
    Venkata.

    Hi
    If you want to print the web page directly then you can define a button using Java script and you can do it.
    Define java script code to print the page
    for ex define a button and call function for print.
    i cannot attach the code. but you can solve with java script
    Regards
    M.A
    Edited by: M.A on Jul 24, 2008 4:22 PM

  • Smart Print button on Bing toolbar links to HP Smart Print web page when depressed.

    Smart Print  button on Bing toolbar links to HP Smart Print web page when depressed. I'm using IE9. How do I get the Smart Print button to work properly.

    vic235 wrote:
    Smart Print  button on Bing toolbar links to HP Smart Print web page when depressed. I'm using IE9. How do I get the Smart Print button to work properly.

  • Clicked on Show or Hide HP Smart Web Printing button but nothing happened.

    I Clicked on Show or Hide HP Smart Web Printing button but nothing happened. I tried uninstalling and reinstalling... and i am already in a 32 bit browser on an 84 bit operating machine with adobe flash player. Please send me some advice for problem shooting... Thank you all!

    Hey HP ...  Does anyone from HP monitor these posts and provide answers, as one might expect?  Is anyone listening?  Is anyone there?  Does anyone CARE?

  • Please help me print different smartform in SRM Web client

    hi,friends:
           i create four PO smartform (different version) in SRM ,first is en version,second is zh version,third is tw version,forth is ja version. in IF_EX_BBP_OUTPUT_CHANGE_SF~CHANGE_FORMS &#20013;coding these:
    IF SY-LANGU  = 'E'.
        CV_SMARTFORM = 'ZBBP_PO1'.
      ELSEIF SY-LANGU = 'J'.
        CV_SMARTFORM = 'ZBBP_PO2'.
      ELSEIF SY-LANGU = '1'.
        CV_SMARTFORM = 'ZBBP_PO3'.
      ELSEIF SY-LANGU = 'M'.
        CV_SMARTFORM = 'ZBBP_PO4'.
      ELSE.
        CV_SMARTFORM = 'ZBBP_PO1'.
      ENDIF.
    but i logon SRM web client using en,if vendor is zh language,po print error format;if vendor is en language,print OK.it cannot print PO form by logon language,it follow the vendor language,how can i print po form by logon language?

    Hi,
    coding seems to be fine .
    First make sure that you are using variable insted of constant field . If  you using variable then debuf and check what language sy-langu field takes . 
    Otherwise check with langu field .
    Regards,
    Nageswar

  • I cannot find a print button on the toolbar and therefore cannot print sometimes from the web

    When I use internet explorer there is a "print" button on the tool bar, but there is not on Mozilla and cannot find anywhere to add it to the toolbar.

    hi, how are you?
    To show the print button in the tool bar, do this.
    go to View option, then toolbars, and then customise, and a popup window will appear, in that window look for a print button, (i think that is the last of the first row) click on it, and drag it to the toolbar
    Byee

  • HTML Report Viewer: No Print Button

    Greetings,
    I am using the HTML Report Viewer in an Asp.net Web Form.
    My problem is there is no print button, even though
    ShowPrintButton="True"
    Any help would be greatly appreciated.
    Many thanks,
    Todd
    <rsweb:ReportViewer ID="MainReportViewer" runat="server"
    ProcessingMode="Remote"
    Width="100%"
    Height="100%"
    ShowExportControls="True"
    ShowFindControls="True"
    ShowParameterPrompts="True"
    ShowPromptAreaButton="False"
    ShowRefreshButton="False"
    ShowPrintButton="True"
    ShowZoomControl="True"
    ZoomMode="Percent"
    BackColor="White" >
    <ServerReport DisplayName="MainReport" />
    </rsweb:ReportViewer>
    Best, CM+

    Hi CM+,
    In your scenario, which browser are you using? In Reporting Services, the ReportViewer control is used to embed report functionality in an ASP.NET Web application. Not all report functionality is supported by all browsers. Print button is hidden in any browser
    that is not IE because ReportViewer uses ActiveX for client printing which means no other browser other than IE can handle it. You can try the following approaches as workaround for this issue.
    Cross-Browser Printing with Asp.Net ReportViewer
    Hope this helps.
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • Opening a long URL on click of button in CRM Web UI

    Hi Experts,
    I am facing an issue while opening a long URL (length greater than 255 char) on the click of a button in CRM Web UI.
    I have declared an attribute zv_url type string and populated the variable in event handler.
    Thereafter I have written below logic in .htm:
    <script type="text/javascript" language="javascript">
    window.open("<%=controller->zv_url%>").focus();
    </script>
    But the logic is not opening my URL, it is just opening a web window 'res://ieframe.dll/http_400.htm' with error page HTTP 400 Bad Request.
    If I try to modify the variable zv_url in debugging with a short url say 'http://www.google.com', it works correcly but due to the length of url, the logic is opening error page.
    Can you please help me out with this issue?
    Thanks in advance,
    Nitin Karamchandani.

    Hi Nitin,
    i will give you one suggestion when you click on button this url you need to open right.
    i have faced same problem last time. so at that moment i have done my code in do_prepare_output.
    when ever your declare your button properties there is one property onclientclick.
    CONCATENATE 'javascript:window.open( "http://YOURLINK.com:8000/sap/bc/gui/sap/its/webgui/!?~transaction=TCODE&~okcode=ICEXECUTE&sap-user=crm_remote&sap-password=sap_user&sap-client=300&IP_VBELV=' zvbeln '&~okcode=/00&");' INTO
    lv_string.
       ls_button-type     = cl_thtmlb_util=>gc_icon_print.
       ls_button-text     = 'PRINT'.
       ls_button-enabled  = me->view_group_context->is_view_in_display_mode( me ).
       ls_button-on_click = 'PRINT'.                             "#EC NOTEXT
       ls_button-on_client_click = lv_string.
       APPEND ls_button TO gt_button.
       CLEAR ls_button.
    try this..
    Thanks & Regards,
    Srinivask.

  • Print Button in RepoerViewer tool bar doesn't work!

    Post Author: Tasha_k
    CA Forum: .NET
    Hello everyone!
    I have a problem with ReportViewer Print Button once web app is published on clients server - print button just isn't working. Little message is appearing in status bar in  Internet Explorer "Done, but with errors on page". Everything is working swell in the development environment though. I wonder if it has something to do with the location of the app. It's not located in the default wwwroot location, but in special share on drive D and I had to reassign location of the button images to get them displayed, but no use - they don't work except for zoom option.
    What is missing and how do I make it work?
    Thank you,
    Tasha

    It is a known bug in JSE8, caused by UML module.
    UML overrides default IDE 'Save All' behavior to detect changes to the UML project in addition to the changes to opened documents in editors, but it has flaws in its logic. If a user does not use UML, does not create a UML project, the 'Save All' will be disabled forever, and turning off UML modules from option panel will result in disappearance of 'Save All' button altogether from Toolbar, #6327054.
    The simplest workaround for those who don't use UML is to rename uml1 directory in installation location ( default C:\Program Files\Sun\jstudio_ent8\ide\uml1), re-start IDE with a new user dir. This way, UML module will not be loaded, the default 'Save All' will not be tampered.

Maybe you are looking for

  • Error in scheduling a single mapping

    Hi everyone, I am new to owb and i am scheduling a single mapping and i successfully deploy it and run it. In the control center i see that the job has ran successfully but no records were inserted. Then i went into the OEM to see the job and it show

  • Error when trying to remove logical systems using SALE

    Hello, We are trying to remove obsolete entries from the logical system name table using transaction SALE. When doing this, for some entries, I am getting a message: The logical system GB1MATDEV is still used in distribution model SUBSYSTEMS (client

  • How to use the Function module BDM_DISPUTE_NOTES_GET

    i have to use the FM BDM_DISPUTE_NOTES_GET to ET_NOTES CALL FUNCTION 'BDM_DISPUTE_NOTES_GET'   EXPORTING     im_guid        = IMPORTING ES_RETURN       =    ET_NOTES        = V_STRING. V_STRING type ???????(i want this) my output will be a paragraph

  • Importing After effects sequences to premier pro with camera and effects

    Hi there, I'm gonna try n put this across as best as I can. I have made a short film of 6 minutes (in 6 parts on after effects) I have added all the effects and the camera work on AE, but it needs a lot of editing here and there, which I find impossi

  • Find field in co15.

    Hi abapers, My requirement is to know the field name in CO15 - LMNGA - YIELD TO CONFIRM. The field shows like structure. But i need the field name with table name. Thanks in Advance Arvind