Barcode in a Report

Hi friends,
  I am trying to print Order Number in barcode.Even though i am able to print it in the output i am not able to display the whole report.
Suppose i am writing barcode in the report after displaying 5 lines of data,  I am able to print the the whole report perfectly but when it comes to display on the screen, all the lines after the barcode are not displayed.
My requirement is i should be able to display whole report and also be able to print whole report.
Here is the code:
WRITE:/ ' Customer : ',15 dcust,  80 fmatno.
SKIP.
WRITE:/ ' Plant :', 15 gs_plant,
          60 'Customer part #:', 80 gs_cust_part.
SKIP 1.
  WRITE: / ' Order : ',21 sorder ,
            32 'Total Qty :', 45 qty.
  SKIP 1.
  WRITE:/ ' Order# : ',15 gv_orderno.
NEW-PAGE PRINT ON NO-HEADING LINE-SIZE 132.
  FORMAT COLOR OFF INTENSIFIED OFF.
  PRINT-CONTROL FUNCTION 'BC25I'.
  WRITE: gv_orderno NO-GAP.
  PRINT-CONTROL FUNCTION 'ESCAP'.
  WRITE: ' ' NO-GAP.                  
   ..............rest of the report code.
I am able to print whole report but report display i sonly upto 3 lines .
Once 'new-page print on' statement begins rest of the report is not displayed.
I tried omiting this line but the print command on the LIST menu on the report doesn't print the order in barcode. It is just displayed as normal order number.
I am not sure how to proceed further.
Thanks,
Dev

I found the solution by putting a checkbox on the selection screen whether to print or not.
Here is the code:
if cb_print = space.
NEW-PAGE .
else.
NEW-PAGE PRINT ON IMMEDIATELY 'X'
                      NO-HEADING LINE-SIZE 132.
endif.
If print only option is selected, report will be printed directly else report out put is displayed on the screen
Thanks for your suggestion Seshu.

Similar Messages

  • Barcode in a Report program

    Hi Experts !
    We have a requirement to print a Barcode ( Code 39) in the report program. Customer has a existing report in which they would like to add the barcode. Barcode would be displayed as text when the report is executed & when he clicks on PRINT from the menu bar, he wants the report to be printed along with the barcode.
    We do not want to use SAP Script/Smartform.
    Any pointers to call a barcode from the report program would be appreciated.
    The sample program which we created but not displaying barcode :-
    REPORT  ztest_barcode1.
    *NEW-PAGE NO-HEADING PRINT ON LINE-SIZE 80.
    WRITE :/ 'Test printing a barcode without *'.
    FORMAT COLOR OFF INTENSIFIED OFF.
    WRITE :/.
    PRINT-CONTROL FUNCTION 'BARON'.
    PRINT-CONTROL FUNCTION 'SBP11'.                             
    WRITE : '12345678' NO-GAP.
    PRINT-CONTROL FUNCTION 'SBS11'.                             
    PRINT-CONTROL FUNCTION 'BAROF'.
    WRITE :/.
    WRITE :/ 'Test printing a barcode with *'.
    FORMAT COLOR OFF INTENSIFIED OFF.
    WRITE :/.
    PRINT-CONTROL FUNCTION 'BARON'.
    PRINT-CONTROL FUNCTION 'SBP11'.                            
    WRITE : '*12345678*' NO-GAP.
    PRINT-CONTROL FUNCTION 'SBS11'.                             
    PRINT-CONTROL FUNCTION 'BAROF'.
    WRITE :/.
    Thanks,
    Best regards,
    Prashant

    Hi Prashant,
    I did work on barcodes, but unfortunately i haven't tried out ever in ABAP reports.
    You can check this link i found on SCN. It has a sample program and gives complete idea on how to work on barcodes via ABAP Reports.
    [How to display barcode in ABAP report|How to display barcode in ABAP report;
    Refer the link which Gautham has recommended too.

  • 2-D Barcodes in Oracle Reports

    Hi All,
    I am trying to implement 2-D Barcodes on a text field in Oracle Reports 10G. Can someone please let me know how this can be acieved ?
    Thanks
    Fm

    Hi,
    unfortunately that option is still not supported. There is an enhancement request filed for that feature.
    For more information please check the following Support note.
    Reference
    Support For 2D Barcode in Oracle Reports (Doc ID 1269490.1)
    Thanks, RZ

  • Barcode problem on report 10g r2

    Dear all,
    I am testing on a solution provided by IDAutomation. I followed the tutorial with the following page: http://www.idautomation.com/oracle/java_barcode.html
    However, I am not able to generate the barcode. The Report Builder returned a REP-2103: Column 'CF_1' : PL/SQL formula returned invalid value or no value.
    I have the PL/SQL as below:
    /*name of temp file*/
    ImageFile VarChar2(250);
    /*object containing barcode properties*/
    BarcodeObject ORA_JAVA.JOBJECT;
    /*object that creates jpeg of barcode based on BarcodeObject*/
    BarcodeEncoderObject ORA_JAVA.JOBJECT;
    begin
    /*Get a temporary file name for the jpeg*/
    /*On Solaris Unix, use the following code to create the temp file: ImageFile := srw.create_temporary_filename() || '.jpg'; */
    imageFile := srw.create_temporary_filename();
    /*Create the barcode object*/
    BarcodeObject := Barcode.new();
    /*Set the symbology*/
    Barcode.setSymbologyID(BarcodeObject, Barcode.CODE128);
    /*set the data to encode*/
    Barcode.setDataToEncode(BarcodeObject, to_char(:ProductID));
    /*Create the jpeg*/
    BarcodeEncoderObject := BarcodeEncoder.new(BarcodeObject, 'JPEG',ImageFile);
    /*If, for some reason, the barcode is not created, return null
    otherwise, return the name of the barcode image jpeg that was
    created */
    if ORA_JAVA.IS_NULL(BarcodeEncoderObject) then
    return(NULL);
    else
    return(ImageFile);
    end if;
    Is there anything wrong with it?
    Thanks

    I did another test on the code. I replaced the
    imageFile := srw.create_temporary_filename();
    with
    imageFile := 'c:\temp\a.jpg';
    The report runs and generates a barcode. So, does it mean that my report builder is not able to generate a temporary filename?

  • Gs1 ean128 barcode from crystal report 2011

    Hello
    I am trying to produce a gs1 ean128 barcode from crystal report 2011 using 'Change to barcode' and choosing 'Code128 UCC/EAN-128'
    If the barcode is made up of 2 different pieces of information, and the first one has a variable length ( for instance (20)25620(400)125411258 ) I have to put a separator character ( FNC1 ) before the second application identfiers, but I don't find any documentation about what character is to be used.
    Moreover, it seems that the only available choice for GS1
    ('Code128 UCC/EAN-128') supply a CodeSet C barcode, and this can be used with even length strings only. If my string may have a odd length I have to use A or B Code , but I don't find other available function
    Marco Terribilini

    hi Marco, if you're using azalea barcode fonts,  azalea has custom functions which can be used in conjunction with the fonts. you would put your data into a formula which uses the custom function and base the "change to barcode" on that formula. the link above will take you to their custom functions and downloads for various fonts. if you're using another provide, please consult their faq.
    -jamie

  • Issue with display of Barcode in the report output from different Machines

    Hi ,
    I have developed a BI Publisher report to print barcode on the output.
    I have configured the necessary setup in XML Publisher Responsibility
    by following the steps
    1) Home --> Administration
    a)     Create Font Files
    Uploaded the ttf file
    2. Create Font Mapping Set
    "Special Fonts"
    3.Created font Mapping under the Mapping set of type "Special Fonts"
    4.Provided the Value of Font Mapping Set to ‘FO Processing ‘ under Configuration
    Font Mapping Set : Special Fonts
    The above configuration works fine and I am able to view the Barcode in the output.
    Issue : When I try to run the same concurrent porgram from a different PC ,and if I view the output, I am not able to see the barcode.
    Please let me know if anyone has faced issue of such kind.
    I guess the above cannot be system specific and please let me know where it is going wrong.
    Thanks,
    Seshu

    Hello again
    I have the font file and I already put it into C:/Windows/Font folder. I just don't have the option to "Create Font Files".
    I try to use this code in a xdo.cfg file:
    <config version="1.0.0" xmlns="http://xmlns.oracle.com/oxp/config/">
    <fonts>
    <font family="Free 3 of 9 Extended" style="normal" weight="normal">
    <truetype path="FRE3OF9X.ttf"/>
    </font>
    </fonts>
    </config>
    but i just can't make the bar code appear in PDF.
    Thanks a lot
    Edited by: pedropereira on 22/Fev/2012 12:51
    Edited by: pedropereira on 22/Fev/2012 12:57

  • Printing barcode in oracle report 6i in character mode

    Hi there,
    I am new in oracle reports, especially in printing it in character mode.
    I am trying to create a report for ticketing purposes, so I have to put barcode on it.
    So far, I did follow this link Printing in character mode (urgent)
    and yes, I didn't get it. I been doing this 3 days already and no successful result.
    I just don't get the commands in .prt file and how could i integrate it in oracle report 6i.
    The printer I use : epson LX-300+
    windows OS.
    Your help is highly needed, any opinion will do. I just need help that bad.
    Thanks..
    Edited by: shynn on Jul 18, 2012 6:56 PM

    Hi guys,
    I already get the character mode using ESC character.
    Just this, I need your help.. Do you know the ESC code for the barcode that we could add in .prt file?
    Just the ESC code, but if there is needed for configuration for that, kindly add it up.
    Thanks,

  • Print html file with barcode from abap report

    hi
    i am printing html file from abap program using gui_execute.
    i am using netscape.exe , its printing first time and when reprint its not working
    basically html file contains gif file which has fedex barcode.
    could you please let me know how to print html file from report

    DGU wrote:
    where to check RAW or TEXT? the print report vi only asks for file name and printer name.
    When I print from notepad, everything just goes by default. This is a label printer, so I never need to specify printing parameter such as size, orientation, etc in the past
    Famous last words go something like this: "...never had to do that before."  Maybe you have to do that now.  It's worth at least comparing the defaults settings for bothe generic drivers.  It could save you a lot of headache if you notice something different.
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • How to display barcode in ABAP report

    Hi Experts,
    I want to display the barcode of process order number in ABAP report without using SAP script or smart form. Please let me know how is it possible to display and print the barcode in the ABAP report.
    Thanks in advance.

    Hi,
    Please follow the links below
    Re: Bar Code  Generation in ABAP Report
    Create Barcode in ABAP : conversion to PDF
    also chk the link below, It also gives info about barcodes..
    http://www.mecsw.com/info/appnote/app_024.html
    hope it helps
    Regards,
    Manish

  • Actual Text is displayed instead of Barcode in PDF report

    Hi All,
    I have used the Java class "oracle.apps.xdo.batch.DocumentProcessor" to create a PDF report. The "rtf" template contains barcode , When generating the report from standalone the PDF file contains the actual value instead of the Barcode.
    I have used the font "3OF9.TTF"
    Please update if anyone know the solution.
    Thanks in Advance.
    Karai

    Hi,
    According to your description, my understanding is that when you click the item in Managed Navaigtion to a Page, the Page title space displays as the "%2520".
    The issue is related to the html element is being double encorded, here is a similiar thread for your reference:
    http://stackoverflow.com/questions/16084935/a-html-space-is-showing-as-2520-instead-of-20
    In my environment, I create the managed navigtion with the settings like below without problem, I suggest you can try to follow to test if it works:
    Thanks
    Best Regards
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jerry Guo
    TechNet Community Support

  • Embed fonts(Barcode) while generating Reports in PDF

    Hi Everyone,
    I have browsed through the similar topics and found that many have the opinion that embeding the fonts in Reports is not possible. But What if there is a report in PDF with a number in Barcode font to be mailed to a destination which does not have the font installed on the PC. Fonts cannot be sent across as they are protected by copyright. Thousands of recipients cannot be asked to buy the font.
    Please help me with a work around.
    Thanks
    Brijesh
    null

    hello,
    starting with 9i, oracle reports is able to embed fonts into PDF files. it uses font subsetting to add the font definitions used in the particular file to the file itself, so you can display the document although you might not have the fonts installed.
    at the moment (in 6i) this feature is not there. a way around that yould be to use adobes PDFwrite to produce the PDFs. it is also able to embed fonts into the document.
    regards,
    the oracle reports team

  • Barcode in BusinessObjects report becomes text when report is saved as PDF

    We have a BusinessObjects report that produces information as both text and barcodes. The barcode portion uses the "Code 3 of 9" (Code 39) font to represent the information.  When the report is saved as a PDF from BusinessObjects, the barcode portion appears as text.  Has anyone experienced this with BusinessObjects, and is there a solution?
    Thanks.
    Richard E. Adams
    Applications Developer
    Las Vegas Valley Water District
    Las Vegas, NV
    (702) 856-3627

    Post Author: Ted Ueda
    CA Forum: JAVA
    The PSReportFactory service, CR Page Server, is only for viewing Crystal Report formats, and not instances in other formats.
    For the other formats, ensure you list the SI_FILES property in the InfoStore query, then cast the resulting InfoObject to IContent.  The IContent interface support methods to stream the file content from the File Repository Server.
    Sincerely,
    Ted Ueda

  • Barcode printing on report

    Hi,
    have any one tried printing a barcode in a classical abap report? if yes, then send procedure & piece of code for it

    hi ginni,
    refer the following thread it contains the sample code of printing barcode in reports:
    Re: Barcodes on reports (NOT SAPSCRIPT)
    it will definately help u
    regards
    rahul

  • Generate barcode in oracle Report 10g

    hi all,
    i want to generate some of my ID's number in barcode. i have searched and followed the idautomation.com i want to download the font file.
    is there any freeware solution available ?
    or any one has simple solutoin. i need very simple barcode generation.
    Thanks,
    Suhaib

    You could use the java-library barbecue to generate an image from your number and then include that image in your report.

  • BI Publisher Java API not displaying Barcode in PDF Report

    Hi Team,
    I have used BI Publisher java API in my ADF Application to generate PDF reports. It is not displaying barcodes in the PDF Reports. I have included Code 39 ttf file in my java home as well. Please let me know if any other configuration needs to be done.
    I am using jdev version 11.1.2.0.0. Please help me out if anyone knows the solution to this problem.
    Thanks in advance,
    Kavitha

    {forum:id=245} is the BIP forum.

Maybe you are looking for