Print SAP Reports

Hi,
I did read a few threads and it doesn't seem possible to print a SAP report
directly from our Add-on.  So who knows if there will have support for this soon ?
Right now I have to REDO every report that I have to print IN Crystal Report
and feed the report with the proper SQL query
Would be nice something like :
oCompany.PrintReport("ReportName", Query);
Yeah........(Lazy bastard I'm)

Marc,
You are correct that with the current shipping version(s) of SAP Business One 2005A SP01, ISV's typically use a third-party reporting engine for add-on reporting such as Crystal.  SAP Development is aware of the request and working on a solution for a future release of SAP Business One.  I would watch and/or check the SAP Business One Roadmap as it is posted and updated on the SAP PartnerEdge Portal.  This is were you can see the direction for new releases of Business One and the intended features to be added to those releases.
HTH,
Eddy

Similar Messages

  • Printing SAP Reports (Transactional iviews) from Portal

    I am having problem in printing the SAP Transactional I views (SAP Reports Output) from the Portal page. On selecting the Print Option under Menu from the SAP transactional iview page, it shows the list of the printers in the backend system. On selecting the printer configured in backend abap system and issuing a print command, it only creates a spool request in the backend system and nothing is sent to the printer itself.
    I have also tried to use "PDF1" device type by creating a new output device and it does bring the contents of the report on a web embedded PDF page, hoever the characters are too small and to read and the ALV Report is no longer aligned. The line separating the rows and columns are not aligned.
    Can anyone help in suggesting the best way to print contents of SAP Reports (created as Transactional i views) from the SAP Portal.
    Thanks!

    Hi Margie,
    It is not necessary for a developer to have access to that area, and certainly not in a production system.
    Ideally, there should be developer, test, QA and production systems, and the developer can have access to the developer system. The UI you are talking about gives access to all WD applications deployed to the AS Java, and the ability to run them as well as change some settings. But this is the domain of the administrator.
    Hope this helps.
    Daniel

  • Print a report from SAP Mobile

    Hi,
        I want to print a report (not a screen shot) from iPad (SAP Mobile/SAP BI), but there is no option there for printing.  I don't think this feature is available in the current SAP Mobile (6.1.11).  Can anyone have a way to work around it?  Can SAP add this feature as an enhancement in the future releases?
        Thanks.
                    James

    Hi,
    The feature is not available in Mobile BI App. You can search an existing idea and vote up or post a fresh at IDEA Place SAP BusinessObjects Mobile: Ideas.
    Would be helpful if you provide the following details
    - What is the business use case
    - How many users would be using this feature
    - What content types you are expecting to print
    - How should the printed report look like - mobile view, web view, pdf view
    - Primary used device - IOS/Android
    Regards,
    Ashutosh

  • Problem in printing Crystal Report from SAP Business One - the printing cut in it width margins

    Hi
    i'm trying to print crystal report layout from sap b1. when i preview the report as pdf file, i have the option to choose Fit in size option and then the layout print O.k with out any margins that been cut.
    The problem start when i'm trying to print the layout directly from sap b1 (printer button) which cause the page to be cut in it width margins.
    How can i control the printing of crystal layout when i'm printing it directly from sap b1? do i have the option to chose 'Fit page size' from sap system?

    Hi,
    Please check SAP note:
    1820939 - Page settings of Crystal Reports not transferred
    correctly
    Thanks & Regards,
    Nagarajan

  • Problem in Printing ABAP Report in EP using SAP Transaction IVIEW

    Dear All,
    A very gud evening,
    I am using SAP Transaction Iview to show the ABAP Reports, But I have a Problem...
    How to print this report???
    Please solve this issue, I have measure requirement of it from client.
    Thanks in Advance..

    Thanks Haydn,
    But my problem is that, there may be no of users will be accessing this report. user will not be having SAP GUI installed in his machine. He will be accessing Transaction IView after login in EP (from any where may be from cyber cafe) and He would like to take printout using any button on the screen.
    So suppose any end user having only Internet Explorer installed in his machine, will he be able to take the print out. I think its very genuine requirement.
    OR user can not take print out untill SAP GUI is installed in his machine???
    Please suggest...
    Thanks in advance...

  • Disable printing selection criteria in SAP reports

    Hi,
    Is it possible to disable the print of the selection criteria when i print an report from SAP.
    Now i always get an extra print and that is not usefull.
    thx
    Mark

    Hi,
    Are u refering to The serial number and batch management report if so that can be disable by print prefernces....
    Try it.
    Regards
    Chidambaram

  • Error in Printing Crystal Report Directly to Printer using SDK Code

    Hello ,
    I am trying to print a crystal report created in SAP Crystal Reports 2008 through SDk Code using one parameter
    as (Document Number).But While running the Code the Report is not getting printed and also the system is
    not able to fetch the correct data in the report using the supplied parameter .
    I am using Visual Studio 2005 Crystal Report dll s in my code :-
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Imports CrystalDecisions.CrystalReports
    Imports System
    Imports System.Data.SqlClient
    Imports System.IO
    For Clarification i am pasting my code below :-
                Dim oRpt As ReportDocument
                oRpt = New ReportDocument
                oRpt.Load(Path)
                With crConnectionInfo
                    .ServerName = Server
                    .DatabaseName = Database
                    .UserID = User
                    .Password = Password
                End With
                CrTables = oRpt.Database.Tables
                For Each CrTable In CrTables
                    crtableLogoninfo = CrTable.LogOnInfo
                    crtableLogoninfo.ConnectionInfo = crConnectionInfo
                    CrTable.ApplyLogOnInfo(crtableLogoninfo)
                Next
                oRpt.ParameterFields("Document Number").CurrentValues.AddValue(Parameter)
                If Printer <> "" Then
                    oRpt.PrintOptions.PrinterName = Printer
                End If
                oRpt.PrintToPrinter(Copies, False, 0, 1)
            Catch ex As Exception
                SBO_Application.MessageBox(ex.Message)
            End Try
    Please suggest me what i have to do in my code to print the report with correct data in report.
    Thanks & Regards,
    Amit

    k

  • Print the report by code

    Hi to all,
                 I'm using Asp.Net 2.0-C#, Crystal Report 11 SP1.
    I bind some records to the report, i want to print the report when a checkbox is clicked instead of CR Print button, how to do this, experts please post any code?

    Hello,
    I posted hyperlinks to the [Developer Library|https://www.sdn.sap.com/irj/sdn/businessobjects-sdklibrary], and the [Crystal Reports .NET SDK Guide|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm] for CR XI R2.
    From the main Developer Library page scroll down the page to the [XI|http://devlibrary.businessobjects.com/BusinessObjectsXI/en/devlib.htm] (v11.0) and the [XI R2|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm] (v11.5) versions of the Crystal Reports .NET SDK Guide.
    Click on one of the above links to choose the version of the Dev Library you'd like to explore.  After it loads you'll see Content and Search buttons in the left hand pane.  Click on Search and search for PrintToPrinter.  In the results list you'll see the PrintToPrinter method.  Click on this and you'll see the information you're looking for.
    Please start using the above links to search for your answers - the information is there.
    Sincerely,
    Dan Kelleher

  • Print Message Report from Mobile

    Hello...
    We need modify standard mobile infrastructure java code...
    We need print some report from Mobile Front-end.
    Is possible to print all MESSAGE data that we can see from front-end of mobile infrastructure 2.5 ???
    thank you very much
    Stefano

    I haven't really done much enhancements on MAM 2.5, but Im sure sami will let you know where to add the code, or you can review the MAM enhancement guide on the CD.
    In regards to printing the PIOS API is pretty simple. If you are using a laptop to print to a normal printer then you can just use the Win32 Drivers..(installed via driver addon from web sap console.)If you are using the handheld you will need to find the appropriate drivers.
    Here is some code I used in one of my applications:
                   <i>Connector conn = Connector.getInstance();
                   DriverInfo[] driverInfo = conn.listDrivers(ConnectionType.PRINTER);
                   PrinterParameters params = new PrinterParameters(driverInfo[0]);
                   params.setPrinterMode(PrinterParameters.GRAPHIC_MODE);
                   GraphicPrinter gp = (GraphicPrinter) conn.open(params);
                   File myImage = new File("c:
    smalllogo.bmp");
                   if (myImage.exists()) {
                        float x = 0;
                        float y = 50;
                        try {
                             String[] sFonts =
                                  gp.getFontConfigurationManager().listFontNames();
                             PrinterFont pf = gp.getFont(sFonts[0]);
                             gp.drawText(
                                  pf,
                                  25,
                                  25,
                                  "TO For Delivery # = "
                                       + dbAccess.getItemFieldValue(arrayItems[0], "VBELN"),
                                  GraphicPrinter.NO_ROTATION);
                             for (i = 0; i < arrayItems.length; i++) {
                                  gp.drawText(
                                       pf,
                                       25,
                                       y,
                                       "Delivery Item # = "
                                            + dbAccess.getItemFieldValue(
                                                 arrayItems<i>,
                                                 "POSNR"),
                                       GraphicPrinter.NO_ROTATION);
                                  y = y + 10;
                                  gp.drawText(
                                       pf,
                                       25,
                                       y,
                                       "Material # = "
                                            + dbAccess.getItemFieldValue(
                                                 arrayItems<i>,
                                                 "MATNR"),
                                       GraphicPrinter.NO_ROTATION);
                                  y = y + 10;
                                  gp.drawText(
                                       pf,
                                       25,
                                       y,
                                       "Quantity to Pick = "
                                            + dbAccess.getItemFieldValue(
                                                 arrayItems<i>,
                                                 "LFIMG"),
                                       GraphicPrinter.NO_ROTATION);
                                  y = y + 25;
                   gp.doPrint(1);
                   gp.close();
              } catch (Throwable tFile) {
                   tFile.printStackTrace();
              }<i>
    This should give you an idea, you should also read through the MDK documentation for the printer API (PIOS). Its quite easy to pick up and as long as you have the driver and connector installed it prints right away.(You could also use the Peripheral emulator in
    NWDS to test the code first)
    Hope this helps,
    Wael..
    Dont forget the rewards
    Message was edited by: wael aoudi

  • Print crystal report without preview

    Dear All,
    i want print crystal report without preview.
    when i click print button i want show printer list install in that computer.
    so user can choose which printer that use to print. I means like if we printing document from office, we can choose the printer.
    how that i can do that?
    please help.
    best regards,
    Surbakti

    Since this issue has little to do with sql server, I suggest you post your question to a forum for CR
    SAP CR community

  • Print Crystal Report directly from C# without using Report Viewer

    Hello All,
    I need to print a crystal report directly to the printer without using ReportViewer in C#. I've a CrystalReport2(belowCode) which requires a query (Select * from JobHeader where JobNumber='J012345') to display all the data. I'm stuck with database connection
    and putting all the data to DataAdapter in C# (Below Code). I also have 8 subreports in my CrystalReport2. Can somebody please give me hand on this? I'm struggling with it. Thanks.
    Regards
    using CrystalDecisions.CrystalReports.Engine;
    using System;
    using System.Drawing;
    using System.Collections;
    using System.ComponentModel;
    using System.Windows.Forms;
    using System.Data;
    using System.Data.SqlClient;
    namespace csharp_win_printtoprinter
    /// <summary>
    /// Summary description for Form1
    /// </summary>
    public class Form1 : System.Windows.Forms.Form
    //CR Variables
    ReportDocument crReportDocument;
    private System.Windows.Forms.Button button1;
    private System.Windows.Forms.PrintDialog printDialog1;
    private System.Windows.Forms.Button button2;
    private System.Drawing.Printing.PrintDocument printDocument1;
    private CrystalDecisions.Windows.Forms.CrystalReportViewer crystalReportViewer1;
    private CrystalReport1 CrystalReport11;
    private Chart Chart1;
    /// <summary>
    /// Required designer variable
    /// </summary>
    private System.ComponentModel.Container components = null;
    public Form1()
    // Required for Windows Form Designer support
    InitializeComponent();
    // TODO: Add any constructor code after InitializeComponent call
    /// <summary>
    /// Clean up any resources being used
    /// </summary>
    protected override void Dispose( bool disposing )
    if( disposing )
    if (components != null)
    components.Dispose();
    base.Dispose( disposing );
    #region Windows Form Designer generated code
    /// <summary>
    /// Required method for Designer support - do not modify
    /// the contents of this method with the code editor
    /// </summary>
    private void InitializeComponent()
    this.button1 = new System.Windows.Forms.Button();
    this.printDialog1 = new System.Windows.Forms.PrintDialog();
    this.button2 = new System.Windows.Forms.Button();
    this.printDocument1 = new System.Drawing.Printing.PrintDocument();
    this.crystalReportViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
    this.Chart1 = new csharp_win_printtoprinter.Chart();
    this.CrystalReport11 = new csharp_win_printtoprinter.CrystalReport1();
    this.SuspendLayout();
    // button1
    this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
    this.button1.Location = new System.Drawing.Point(32, 56);
    this.button1.Name = "button1";
    this.button1.Size = new System.Drawing.Size(160, 104);
    this.button1.TabIndex = 0;
    this.button1.Text = "Print Report No Choose Printer";
    this.button1.Click += new System.EventHandler(this.button1_Click);
    // button2
    this.button2.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
    this.button2.Location = new System.Drawing.Point(272, 56);
    this.button2.Name = "button2";
    this.button2.Size = new System.Drawing.Size(160, 104);
    this.button2.TabIndex = 1;
    this.button2.Text = "Choose Printer";
    this.button2.Click += new System.EventHandler(this.button2_Click);
    // crystalReportViewer1
    this.crystalReportViewer1.ActiveViewIndex = 0;
    this.crystalReportViewer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
    this.crystalReportViewer1.Cursor = System.Windows.Forms.Cursors.Default;
    this.crystalReportViewer1.Location = new System.Drawing.Point(47, 188);
    this.crystalReportViewer1.Name = "crystalReportViewer1";
    this.crystalReportViewer1.ReportSource = this.CrystalReport11;
    this.crystalReportViewer1.Size = new System.Drawing.Size(903, 296);
    this.crystalReportViewer1.TabIndex = 2;
    // Form1
    this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
    this.ClientSize = new System.Drawing.Size(1164, 505);
    this.Controls.Add(this.crystalReportViewer1);
    this.Controls.Add(this.button2);
    this.Controls.Add(this.button1);
    this.Name = "Form1";
    this.Text = "Form1";
    this.Load += new System.EventHandler(this.Form1_Load);
    this.ResumeLayout(false);
    #endregion
    /// <summary>
    /// The main entry point for the application
    /// </summary>
    [STAThread]
    static void Main()
    Application.Run(new Form1());
    private void button1_Click(object sender, System.EventArgs e)
    crReportDocument = new ReportDocument();
    //Create an instance of a report
    crReportDocument = new CrystalReport2();
    //Use error handling in case an error occurs
    try
    //Set the printer name to print the report to. By default the sample
    //report does not have a defult printer specified. This will tell the
    //engine to use the specified printer to print the report. Print out
    //a test page (from Printer properties) to get the correct value.
    System.Drawing.Printing.PrintDocument printDocument = new System.Drawing.Printing.PrintDocument();
    crReportDocument.PrintOptions.PrinterName = printDocument.PrinterSettings.PrinterName;
    //Start the printing process. Provide details of the print job
    //using the arguments.
    crReportDocument.PrintToPrinter(0 ,true , 1, 1);
    //Let the user know that the print job is completed
    MessageBox.Show("Report finished printing!");
    catch(Exception err)
    MessageBox.Show(err.ToString(), "Unexpected exception");
    private void Form1_Load(object sender, System.EventArgs e)
    private void button2_Click(object sender, System.EventArgs e)
    //Open the PrintDialog
    this.printDialog1.Document = this.printDocument1;
    DialogResult dr = this.printDialog1.ShowDialog();
    if(dr == DialogResult.OK)
    //Get the Copy times
    int nCopy = this.printDocument1.PrinterSettings.Copies;
    //Get the number of Start Page
    int sPage = this.printDocument1.PrinterSettings.FromPage;
    //Get the number of End Page
    int ePage = this.printDocument1.PrinterSettings.ToPage;
    string PrinterName = this.printDocument1.PrinterSettings.PrinterName;
    crReportDocument = new ReportDocument();
    //Create an instance of a report
    crReportDocument = new Chart();
    try
    //Set the printer name to print the report to. By default the sample
    //report does not have a defult printer specified. This will tell the
    //engine to use the specified printer to print the report. Print out
    //a test page (from Printer properties) to get the correct value.
    crReportDocument.PrintOptions.PrinterName = PrinterName;
    //Start the printing process. Provide details of the print job
    //using the arguments.
    crReportDocument.PrintToPrinter(nCopy, false, sPage, ePage);
    //Let the user know that the print job is completed
    MessageBox.Show("Report finished printing!");
    catch(Exception err)
    MessageBox.Show(err.ToString());

    1. This is a VB.Net forum not a Visual C# forum. For Visual C# questions try this forum.
    Visual C#
    2. Crystal Reports are not supported by Microsoft. Therefore, unless somebody responding in the Visual C# forum has experience with whichever version of Crystal Reports you are using, you will probably not receive an answer in the Visual C# forum. SAP has
    their own assistance for Crystal Reports using Visual Studio. You can try to find an appropriate forum to ask questions in at SAP in the below link.
    SAP Community Network
    La vida loca

  • Fields missing while printing crystal reports !!

    Hello everyone
    I have a crystal report application in VB.NET 2005, which gets the values of a field from the database and supports printing of the report in the following formats
    1. pdf
    2. directly to a printer - printout
    When i export the report using reportdocument to pdf , all the fields are getting printed : Normal - As expected
    But when i print the report directly using PrintToPrinter method,i am not able to print some of the fields. i.e some of the entries are missing in that report printout
    Can someone guess what could be the problem ???
    Are there any limitations / preconfigurations that needs to be done apart from setting page size,margin before using the PrintToPrinter method
    Regards
    Srivatsa

    OK, a few incongruencies here:
    I'm using the version of the Crystal Reports that ships along with the Visual Studio.NET 2005.
    - that would make is CR 10.2
    We have also tried applying the latest service packs crxir2_sp4_full_build
    - So SP 4 for CR XI release 2 would not do you much good as per above (if you are indeed using CR 10.2(?))
    - How did you get to the crxir2_sp4_full_build? This is in a gated section of the SAP website. The only publically available SP 4 for CR XI r2 is "incremental... If you did apply crxir2_sp4_full_build, then you are working with CR XI r2 now...
    The behavior is seen in the web application and the behavior is seen both in the dev and deployment system.
    - So this does not work anywhere? If so, why bother going to deployment?
    Also i tried exporting to pdf soon before / after printing. But the fields are present in the pdf and not on the printouts
    - Confirm that you do see the fields on an exported PDF and when you print the PDF you get a blank printout?
    More clarification needed:
    We need to be absolutely clear on what version of Crystal Reports you are using. Open your .NET project, go to your references and look for CrystalDecisions.Crystalreports.Engine.dll. What version is this assembly?
    Also, please answer the rest of the questions above.
    Ludek

  • Printing Crystal Report decreasing font Size in web.

    Printer reduces font:
    when we use crystal report`s print button to print report, It reduces original font size....
    I am using Crystal report viewer to preview and print the report in which print mode is "pdf". I tried with "ActiveX" mode but its generate error...
    I using Crystal Report 13.0 in asp.net2010.

    Make sure you are on SP1:
    SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads [original link is broken]
    See KB [1218753|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313338333733353333%7D.do]
    Next time, don't forget to search these forums and use the search box in the top right corner of this web page to get KBs, wikis, blogs, etc., etc.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Error message when trying to view/print Crystal reports in B1

    I get the following Error message when trying to view/print crystal reports in SAP B1/Crystal Reports Integration Tool for SAP Business One:   
    " Could not load file or assembly 'Crystal Decisions Windows Forms, version=12.0.2000.0, Culture=neutral, Public Key Token=692fbea551e1304'  or one of its dependencies.  The system cannot find the file specified.  ????

    Hi
    Common issues for this :
    1. Once you install crystall add on ,you need to go to Crystal report Administration >Account setup .
    Put on the user name and password and click on creating ext tables
    Try then running the report .
    If not the case ,
    make sure you install runtime .
    You need :
    1.Crystal report basic from SAP download -(Not necessary if you want only report viewer >
    2.You need to have crystal integration addon (I think service pack is SP1)
    3.Make sure you have runtime install
    When you are installing ,make sure you restart your PC before you do or remove temporary file s
    Hope this solves your issue
    Bishal

  • Printing Crystal Reports in IE

    Hello,
    I am using CR 2008 for VS. When running a report in IE (multiple versions) and try to print, the report will not open in a new window as a PDF.... instead IE shows the notification bar at the bottom, asking if you want to save the PDF file. (see attached screen shot)
    However, if I click on a hyperlink to a PDF in IE, it will open up in a new window without having to save it first.
    Why is CR making IE force the user to save the PDF first? This is very inconvenient, and some users are having problems.
    When I print a report in FireFox the PDF opens up without saving. Why is this not the case in IE?
    Thanks!

    I believe you are working with the version of CR that bundled with VS 2008 (Crystal Reports Basic for Visual Studio 2008 (v. 10.5))
    The behavior you are seeing is expected with that version. If you are looking for a more intuitive printing (e,g.; no save dialog), you will have to upgrade to CR 2008 (v. 12.x) or SAP Crystal Reports, developer version for Microsoft Visual Studio 2010 / 2012 (v. 13.x).
    SAP Crystal Reports, developer version for Microsoft Visual Studio (CRVS) is available as a free download from here:
    SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads
    Eval of CR 2008 is available from here:
    SAP - Crystal Reports 30-Day Evaluation
    Oh. Here is a screen shot of what printing looks like in CRVS:
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter
    Message was edited by: Ludek Uher

Maybe you are looking for

  • Customer Loyalty

    Customer loyalty is non-existent. VZW cares more about new customers than loyal customers. I would like to see a customer retention program since it is actually cheaper to keep a current customer than it is to recruit a new customer. And please do no

  • Information about a VBAP, VBAK field...

    Hello Experts- I am working with a scenario where customer orders (sales transaction) are generated in a mySAP CRM 4.0 SP 3 system and are replicated to SAP R/3 Enterprise as sales orders. Are any of you aware of a field in VBAK and/or VBAP in R/3 th

  • [ABAP Mapping] Only with ABAP-Objects?

    Hi, found <a href="http://https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5c46ab90-0201-0010-42bd-9d0302591383">this how-to</a> that describes an ABAP mapping in SAP XI. Is ABAP mapping

  • Web Server Issue

    Guys, I am facing a little problem related to Apache Web Server. When we configured Reporting and Analysis tool, the results showed Web server as succeded. But i could not see Apache in the services list and hence could not start. As a result i am ge

  • Need to export selected Mailboxes as part of legal discovery

    I need to copy certain selected mailboxes/messages as part of legal discovery. For the life of me I cannot find how to do it in an efficient manner.  If I export as .pdf files, the attachments are not included.  If I export as .mbox nothing seems to