Please suggest practice to generate/print reports?

Hi,
I don't know whether here is the right place posting my question. But I find it is related...
I want to write an application which can print out Reports. However, I need good control of the alignment / position of the text when printed because it will be printed on pre-printed forms.
From Java, can I fill in data and generate & open a PDF and/or Word document, which then I can print it out nicely?
Or, anybody here has good practice to generate/print reports?
thanks in advance,
jackling

You can use the iText library to generate pdfs.
http://www.lowagie.com/iText/download.html
Or one of the numerous open source reporting tools such as JasperReports http://jasperreports.sourceforge.net/

Similar Messages

  • Please suggest solution to this printing problem

    Hi,
    I did a small project using forms and reports 6i. Now i prepared a repor that will calucalate the sum(expenditure)per report level. Now the problem is i want to print the sum which is in number form , in words. That is if the sum is 50000 then i want to print "fifty thousand". For this conversion from number to figure i wrote a small programme , which successfully compiled and created a function.
    Now I want to create a field in the report and in which I want to call this plsql function and perform the number conversion of sum(expenditure)per report field. Please describe in detail how to make reference between these two fields i.e sum(expenditure)per report and field in which I want to run plsql code and thereby converting the sum into figures.
    Thanks in advance
    Prasanth a.s.

    hi,
    use this code
    it works !!
    regards
    sandy
    CREATE OR REPLACE FUNCTION NUMBER_CONVERSION(NUM NUMBER) RETURN VARCHAR2
    IS
    A VARCHAR2(1000);
    B VARCHAR2(20);
    X NUMBER;
    Y NUMBER := 1;
    Z NUMBER;
    LSIGN NUMBER;
    NO NUMBER;
    BEGIN
    X:= INSTR(NUM, '.');
    LSIGN := SIGN(NUM);
    NO := ABS(NUM);     
    IF X = 0 THEN
    SELECT      TO_CHAR(TO_DATE(NO, 'J'), 'JSP') INTO A FROM DUAL;
    ELSE
    SELECT      to_char(to_date(SUBSTR(NO, 1,
              NVL(INSTR(NO, '.')-1, LENGTH(NO))),
                   'J'), 'JSP') INTO A FROM DUAL;
    SELECT     LENGTH(SUBSTR(NO, INSTR(NO, '.')+1)) INTO Z FROM DUAL;
    A := A ||' POINT ';
    WHILE Y< Z+1 LOOP
         SELECT TO_CHAR(TO_DATE(SUBSTR(NO, (INSTR(NO, '.')+Y), 1), 'J'), 'JSP')
         INTO B FROM DUAL;
              A := A || B ||' ';
              y :=y+1;
    END LOOP;
    END IF;

  • Is it possible to connect a dot matrix printer to MacBook Air? If yes, please suggest a good application for printing bills in a shop.

    Is it possible to connect a dot matrix printer to MacBook Air? I need to print receipts in my textile showroom. Please suggest good applications for printing receipts and saving daily sales records.

    Prath33k wrote:
    Is it possible to connect a dot matrix printer to MacBook Air?
    yes.  As long as it is a newer one (means not 15-20 years old). Do you have one?  If so, provide the make/model.  If you do not have one, which ones are you looking to purchase?

  • How to generate a report in MM

    Hi All,
    1. I want to generate a report in MM(Material Management) into excel where I can see the comments of my Purchase orders where I mentioned in Header Text, Header Note. Is it possible? If yes please let me know how to do that.
    2. I want to generate report where It shows PO creation Date and the Delivery Date of the PO.
    3. I want to generate report where what ever PO's I created It should show me what are all the ERS(evaluated Receipt System) Vendors and which are all the Non-ERS vendors.
    4. I want to generate report where what ever PO'S I created all have the Tax code.
    These reports I want to export in Exce....... Please suggest can I run these reports in 1 report or how many I can club.....
    Please advise..

    Hi ,
    1. I want to generate a report in MM(Material Management) into excel where I can see the comments of my Purchase orders where I mentioned in Header Text, Header Note. Is it possible? If yes please let me know how to do that.
    --> For the above requirement you will have to develop a 'Z' report with the help of ABAPer
    2. I want to generate report where It shows PO creation Date and the Delivery Date of the PO.
    --> PO creation date is available in standard reports like ME2L , ME2M. However for delivery date you will have to customize a 'Z' report.
    3. I want to generate report where what ever PO's I created It should show me what are all the ERS(evaluated Receipt System) Vendors and which are all the Non-ERS vendors.
    -> This report is not available in Standard SAP.
    4. I want to generate report where what ever PO'S I created all have the Tax code.
    -> This report is not available in Standard SAP.
    All the above requirement of yours can be clubbed in a single report by developing a 'Z' report with the help of ABAPer.
    Regards
    Swapnil Iyer

  • Print report from CXR0

    Dear Experts,
    I would like to print directly from SAP through tcode CXR0 : system- list - print is grey.
    I have checked if authorization is missing from nsu53 but my authorization already successful.
    Please advice me how to print report from CXR0 and what is the authorization object?
    Thank you.

    Hi,
    your problem is not related to authorizations. The section System -> List works only if you have a list displayed on your screen.
    Cheers

  • How to generate a report from crm table to find out user status changes

    Dear all,
    Could you please help me on generating a report from SAP CRM table level
    to find out user status changes in crm orders for a specific period of time?
    Thanks in advance,
    Regards,
    Shaik

    Hi Shaik.
    You would not need to write report for this. You need to create a Table view mainenance for the CRMD_ORDERADM_H or CRMD_ORDERADM_I for whichever  you need.
    Follow the below or search on google for more on table view maintenance.
    Go to SE11, give the table name and click on change. Then Go to utilities--> Table maintenance generator.
    In the table maintenance generator screen, you should give Authorization Group,
    Function Group name (Function Group name can be same as table name),
    Maintenance type can be one step or two step, usually you will create with one
    step. You should give maintenance screen number. After clicking on create button,
    a table maintenance generator will be created.
    To check it go to SM30 . In SM30, you find display, Maintain options.
    You can view the table contents by choosing Display and  supplying the selection criteria of dates.
    Regards
    Apoorva

  • While generating reports in Oracle BI Publisher in pdf format, the generated pdf reports have hindi  इ matra displaced by one character. For example, रिपोर्ट is printed as रपेिोरट.  Word file generated of the same report have correct hindi इ  matra positi

    While generating reports in Oracle BI Publisher in pdf format, the generated pdf reports have hindi  इ matra displaced by one character. For example, रिपोर्ट is printed as रपेिोरट.  Word file generated of the same report have correct hindi इ  matra position and also pdf generated from this word file also contains the same.

  • How To Generate And Print Reports In PDF Format From EBS With The UTF8 Char

    Hi,
    I want to know How To Generate And Print Reports In PDF Format From EBS With The UTF8 Character Set in R12.0.4.
    Regards

    Refer to Note: 239196.1 - PASTA 3.0 Release Information
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=239196.1
    Or, you can use XML Publisher.
    Note: 551591.1 - Need Latest XML Publisher / BI Publisher Patches For R12
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=551591.1

  • Please suggest the URL to display JSP report

    Hi Experts,
    Last week, we tried to change the memory of Response Cache and buffer Cache to increase the speed of the Excel report. But it didn’t work out.
    And from the below link, I understood we can convert the oracle 9i report to excel by converting the Oracle 9i report to JSP report.
    http://www.oracle.com/technology/products/reports/htdocs/getstart/demonstrations/index.html
    I’ve converted the Oracle 9i report to JSP report and finding the way to display the JSP report using Application Server. I am trying to find out the REPORT URL of simple JSP report and using Reports Servlet . Right now I am trying the below steps to display the JSP report in Application Server.
    Please suggest the URL for displaying the JSP report
    Thanks & Regards

    Please explain how any of this relates to the topic of this forum: "Database Upgrade."
    If you repost your question in the correct forum, or perhaps with the correct company, will be more likely to find the help you need. For example ... what App Server (make and model).
    Thank you?

  • Hi, i am using SAP by Design in india. I am trying to get GL entry report in which i require a field "Approved by" but unable to find - please suggest.

    Hi, i am using SAP by Design in india. I am trying to get GL entry report in which i require a field "Approved by" but unable to find - please suggest.

    Hi hanmant,
    You could find GL Line item report under General ledger WOC => Reports => List=> G/L Line Item Report, but this report does not have filter parameter "Approved by".
    May I know what was the use case behind "Approved by" field?
    BR, Rakesh

  • HT4356 I have iPad2 V 5.1.As suggested in the approved printer list took HP Photosmart 6510 (but B211e as B211a is upgraded by HP). Airprint doesnot find this printer. Please help.

    I have iPad2 V 5.1.As suggested in the approved printer list took HP Photosmart 6510 (but B211e as B211a is upgraded by HP). Airprint doesnot find this printer. Please help

    Have you checked the HP support website to see if there is a Firmware upgrade for your new printer?  In most instances, a Firmware upgrade is needed before you can use Airprint.
    On the product control panel, touch the ePrint icon ( ).
    Touch Settings , and then touch Product Update .
    Touch Check Product Update to apply the available update

  • Everytime I print a document my printer prints out a print report. I spoke with Brother and they said it is something in the computer set-up-any suggestions?

    I have a imac osx 10.7.5…for quite some  time now whenever I print a document my Brother printer spits out a  print report…I don't need it. I spoke with Brother and they said it is not the printer set-up, but something in the computer. I don't know how to turn-off this function if it really is a computer set-up problem. any suggestions? I'm wasting a ton of paper.
    Thanks.
    Paul

    Try Mac OS X: How to reset the printing system

  • XML PO PRINT REPORT for different Operating Units

    Hi all,
    We are stuck at a point, hope someone helps us out.
    Requirement : We need to generate PO print report in pdf format for US and Mexico , both having different layout.
    Things done : We customized standard PO Print report to fetch XML output from it, and attached rtf(developed) to it.
    Things working fine : For US , report is perfectly fine and looks good.
    Issue : We need to generate for Mexico as well with different format.
    We have value in xml tags which can distinguish between US and Mexico OU's and we can simple use if else condition in the template itself .
    Here limitation is we have made MS word header as the PO header so we are not able to create different header for Mexico in the same rtf.
    We dont want to complicate the rtf much with more loops by removing it from Header and then page break and all.
    Can someone suggest something like use one rtf which handles both the format OR two different rtf registered for same concurrent program and which are called on the base OU.
    We are totally fine if we can do something while registering to Apps.
    Please let me know if any one wants more information.
    Hoping for a positive reply.
    Thanks in advance.

    Hi Vishal,
    Assuming you are using R12+, you can have seperate templates used for differrent OUs. In the PO Approval workflow it shall pick the respective template.
    During submission of concurrent program "PO Output for Communication", you can specify the right template in the input parameters.
    Regards,
    G V Ranjith

  • Print Report data directly to  a printer

    Hi
    we are working on forms11g reports11g and oracle11g DB. working in AIX system. My client system is windows7.
    when printing reports, once clicks the print button iam generating the PDF report (actually generate in server) using webuitl bring it to client and printing the report connected to the user system.
    But if a printer is installed in the server(may be many printers are installed), how can print the report to my desired printer. how can be achieved this .
    please suggest your valuable solution with example.
    a..

    Hi,
    check this link. Re: How can I  Send report output to  3 different printer programatically
    http://docs.oracle.com/cd/E21764_01/bi.1111/b32121/pbr_dest.htm
    Edited by: HamidHelal on May 2, 2012 11:43 AM

  • How to generate 8D Report

    Dear All,
    Iam trying to generate 8d report in Quality Notification...
    I created Quality notification with the notification type Q1 but after completing the notification when i take print preview for 8report only defect causes and defect desciption comes.Corrective tasks and actions does not come.Could you please tell me where am i missing something...
    Can anyone tell step by step procedure to generate 8D Report....with screen shots would be helpful
    Regards
    JR

    Hi, JR,
    I think you should refer the following links along with the other champions have suggested.
    [Shop Papers for Quality Notifications|http://help.sap.com/saphelp_47x200/helpdata/en/a5/a5e1f6547911d295ad00a0c930e04c/frameset.htm]
    [Creating an 8D report (notification type Q1, customer complaint)|http://help.sap.com/saphelp_47x200/helpdata/en/a0/c1636cd81711d1953800a0c930e04c/frameset.htm]
    [SDN Thread|8D Summary Report]
    Regards,
    Shyamal

Maybe you are looking for