Generating Bar-code with barcode no.

Hi Experts,
          my requirement is to generate bar-code for data from certain fields like material no,batch no, expiry date etc. Well i am
          able to generate the bar-code with the help of smart style but i am not getting any no below the generated bar-code as
          bar-code no. As i have come across that there are basically 2 types of bar-code no. 1) UPC   and   2) EAN
          Please help me in generation of bar-code with its no below (either in UPC   or   EAN )  type.
Thanks.
Praveen Kumar.

Hi, Praveen,
I am more a barcode expart than SAP expert.  Here is a link to an article that may be helpful:
[Printing barcodes from SAP|http://www.makebarcode.com/info/appnote/app_024.html]
You mentioned using UPC-A or EAN-13.  I recommend that you do not use these symbologies for general-purpose fields like material no,batch no, expiry date etc.  Both of these codes are fixed length, numeric only.  It will be much better if you use a variable-length, alpha-numeric symbol like Code 39 or Code 128.  Code 39 is the easiest to work with; Code 128 requires a little more work to set up your software, but it supports a wider range of characters (lower case, symbols, etc.). 
Here is a link to a barcode comparison chart.  From there you can find details about these codes.
[Barcode comparison chart|http://www.makebarcode.com/specs/barcodechart.html]
Bob

Similar Messages

  • Studio 12: C compiler generates bad code with -m64 -KPIC -xO2

    Hello,
    after upgrading my Solaris 10/x64 machine from Studio 11 to Studio 12 some problems were fixed, but others came up; like this one:
    I have a code snippet that obviously causes the C compiler to generate wrong code if compiled with options -m64 -KPIC -xO2. If any of these options are missing, it runs fine. Here's the example code:
    #include <stdio.h>
    #include <strings.h>
    static int do_something() { return 0; }
    static int foo() {
        fprintf(stderr, "\n!! BUG: BAD CODE! unexpected function call foo()!\n\n");
        return 222;
    static int bar() {
        fprintf(stdout, "\nOK: bar() called\n\n");
        return 0;
    static const struct {
        const char* name;
        int (*func)();
        int flag;
    } tab[] = {
        { "foo",  &foo,  0 },
        { "bar",  &bar,  0 },
        { 0, 0, 0 }
    int main(int argc, const char** argv) {
        int i;
        for (i=0; tab.name; i++) {
    if( strcmp(tab[i].name, "bar") == 0 ) {
    if(tab[i].flag) {   /* not reached */
    if(!do_something()) {
    return 2;
    return (*tab[i].func)();
    return 1; /* not reached */
    Many lines seem to be bogus, but they are actually needed to reproduce the problem.
    This is what happens:# cc -m64 -KPIC -xO2 bug.c && ./a.out ; echo $?
    !! BUG: BAD CODE! unexpected function call foo()!
    222
    If I compile with debugging information (-g), I get expected behavior, which is:# cc -m64 -KPIC -g bug.c && ./a.out ; echo $?
    OK: bar() called
    0
    While creating the test case I've also seen SIGSEGV at runtime in the bug case - which is probably due to a wrong calculated function address for jmp (just guessing).
    Does anyone know if this is a known bug?
    Any help is appreciated.
    The rest of this posting is information about my system and Studio 12 patch level:# uname -a
    SunOS v20 5.10 Generic_137112-08 i86pc i386 i86pc
    # /usr/SUNWspro/bin/version
    Machine hardware: i86pc
    OS version: 5.10
    Processor type: i386
    Hardware: i86pc
    The following components are installed on your system:
    Sun Studio 12
    Sun Studio 12 C Compiler
    Sun Studio 12 C++ Compiler
    Sun Studio 12 Tools.h++ 7.1
    Sun Studio 12 C++ Standard 64-bit Class Library
    Sun Studio 12 Garbage Collector
    Sun Studio 12 Fortran 95
    Sun Studio 12 Debugging Tools (including dbx)
    Sun Studio 12 IDE
    Sun Studio 12 Debugger GUI
    Sun Studio 12 Performance Analyzer (including collect, ...)
    Sun Studio 12 X-Designer
    Sun Studio 12 VIM editor
    Sun Studio 12 XEmacs editor
    Sun Studio 12 Performance Library
    Sun Studio 12 LockLint
    Sun Studio 12 Building Software (including dmake)
    Sun Studio 12 Documentation Set
    Sun Studio 12 /usr symbolic links and GNOME menu item
    version of "/usr/SUNWspro/bin/../prod/bin/../../bin/cc": Sun C 5.9 SunOS_i386 Patch 124868-07 2008/10/07
    version of "/usr/SUNWspro/bin/../prod/bin/../../bin/CC": Sun C++ 5.9 SunOS_i386 Patch 124864-08 2008/10/16
    version of "/usr/SUNWspro/bin/../prod/bin/../../bin/f90": Sun Fortran 95 8.3 SunOS_i386 Patch 127002-04 2008/04/16
    version of "/usr/SUNWspro/bin/../prod/bin/../../bin/dbx": Sun Dbx Debugger 7.6 SunOS_i386 Patch 124873-06 2008/08/20
    version of "/usr/SUNWspro/bin/../prod/bin/../../bin/analyzer": Sun Analyzer 7.6 SunOS_i386 Patch 126996-04 2008/09/03
    version of "/usr/SUNWspro/bin/../prod/bin/../../bin/dmake": Sun Distributed Make 7.8 SunOS_i386 Patch 126504-01 2007/07/19

    I'm watching Bug ID: [6774287|http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6774287] for quite a while and it seems to be fixed some time ago (State: 8-Fix Available, bug). Does anybody know if the fix made it in some officially available SunStudio 12 C compiler (backend) patch already? I'm using this SS12 patch-level meanwhile:
    # /usr/SUNWspro/bin/version
    version of "/usr/SUNWspro/bin/../prod/bin/../../bin/cc": Sun C 5.9 SunOS_i386 Patch 124868-08 2008/11/25
    version of "/usr/SUNWspro/bin/../prod/bin/../../bin/CC": Sun C++ 5.9 SunOS_i386 Patch 124864-09 2008/12/16
    version of "/usr/SUNWspro/bin/../prod/bin/../../bin/f90": Sun Fortran 95 8.3 SunOS_i386 Patch 127002-05 2008/10/21
    version of "/usr/SUNWspro/bin/../prod/bin/../../bin/dbx": Sun Dbx Debugger 7.6 SunOS_i386 Patch 124873-06 2008/08/20
    version of "/usr/SUNWspro/bin/../prod/bin/../../bin/analyzer": Sun Analyzer 7.6 SunOS_i386 Patch 126996-04 2008/09/03
    version of "/usr/SUNWspro/bin/../prod/bin/../../bin/dmake": Sun Distributed Make 7.8 SunOS_i386 Patch 126504-01 2007/07/19

  • How to generate a Code 39 barcode?

    We want to print our Service Order Numbers as a Code 39 bar-code.
    I read that you can print the bar-code in the report (as a graphic) by downloading a Code 39 barcode font.
    But first I have to convert our SO Number to a Code 39 barcode.
    Is there is a Oracle PL/SQL function to do this?

    Hello,
    http://www.idautomation.com/fonts/tools/oracle/
    Oracle Reports Barcode Font Tutorial & Integration Guide
    This IDAutomation tutorial is designed for implementing barcodes in Oracle Reports with the IDAutomation PL/SQL Barcode Library and IDAutomation barcode fonts. The barcode library is a PLL file that formats data from fields in the report to the barcode fonts, to create a correct barcode. The library contains functions for Code 128, Code 39, GS1, Codabar, UCC/EAN 128, Interleaved 2 of 5, UPC and EAN barcodes.
    Regards

  • How to generate Bar codes from Crystal Report

    I understand that Bar Codes can be genrated from Crystal reports. I am using CR 2008 and trying to convert my Inventory items to bar codes. it does convert it and I can see the bar codes but it looks like; just a garbage and scanner does not recognze it plus the numners are missing @ the bottom.
    Anybody has ever tried this and have some simple instructions to start with.
    Any help will  be appreciated highly.
    Regards,

    Hi,
    What barcode are you using and what barcode font? 
    If you are using Code39 or Postnet then you need to make sure your values are formatted properly by creating a formula and using the barcode functions. 
    Have a search in the forum for barcodes.  It's been talked about a lot and you should find your solution. 
    Good luck,
    Brian

  • Error with EURO-character in pdf417 bar code with adobe forms

    Hi,
    we have a problem with the Euro-Sign (u20AC) in the bar code type pdf417. The encoding is set to  "ISO-8859-15", but after creating the barcode and scan this, instead of the u20AC-character the ?-character appears. Is this a bug in the encoding-routine? Or have we to set some special parameters?
    Can anybody help?
    Thanks!
    Andreas
    Edited by: Andreas Hempel on Nov 28, 2011 9:43 AM

    Hi,
    thanks for your reply, unfortunately the oss note doesn't solve the problem.
    We print the barcode on a A5 formular with a HP Laserjet printer series.
    Regards
    Andreas

  • Generate bar codes in smartforms

    Hi,
    I wonder to know how can I add bar codes to a smartform. Bar codes should be generated in a automatic sequence and its number should be printed too.
    Thanks a lot,
    Nuno Moreira

    Hi Gregor,
    Let me try to explain better.
    1. I'm using the bar code in smartforms and I'm able to generate the bar code graphic. But I want to print the bar code graphic and the bar code number, so what I was asking is if there is some way to associate automatically the number with bar code graphic, instead of write the number again with a regular font format, because like this is very difficult to format properlly the graphic with the associated number.
    2. What I want to do is, print daily several letters identified with a bar code, so it'll be nice if the system could generate a automatic sequence of number to convert in bar code graphics.
    I hope you could understand my doubts.
    Thanks again,
    Nuno Moreira

  • Generate bar codes in mail forms

    Hi,
    I know how to insert Bar codes in smartforms, but I need to print the bar codes in Mail Forms, is that possible?
    Thanks a lot,
    Nuno Moreira

    Hi Gregor,
    What I need to do is:
    I have several mail forms treated as a standard response in ICWC. We are using the e-mail view (in ICWC) mainly to print the forms, via smartforms or in “online” mode without smartforms.
    So, at the moment, I have two questions:
    1) If I use a smartform to print the mail form, even if I create the form in plain text and create the bar code into mail form, when I print the “number” it is not converted in a bar code;
    2) If I generate the bar code in a mail form and I try to print it in ICWC e-mail view the number is not printed as a bar code too;
    Thanks a lot for your help and interest,
    Best Regards,
    Nuno

  • Random generated number along with barcode in smartforms

    Hi All,
    Is it possible to add some random generated number by system to add along with the end of the barcode in smartforms. (what could be the field) If so how it can be done. Tanks in advance
    Regards
    GK

    Hi Tankx man 4 the valuable reply,
         I am able to get that, but what my problem is,
    Eg: In my GR a item with 10 qty, so i made the qty as input and based upon that i am printing 10 labels. for ur ref the code is below"
    menge = TRUNC( is_mseg-menge ).
    DO menge TIMES.
    header-slno = header-slno + 1.
    APPEND header TO itab.
    the complete program is like as follows;
    menge = TRUNC( is_mseg-menge ).
    DO menge TIMES.
    header-slno = header-slno + 1.
    APPEND header TO itab.
    CALL FUNCTION 'QF05_RANDOM_INTEGER'
    EXPORTING
    RAN_INT_MAX   = '999999999'
    RAN_INT_MIN   = '100000000'
    IMPORTING
    RAN_INT       = RANINT
    EXCEPTIONS
    INVALID_INPUT = 1
    OTHERS        = 2.
    IF SY-SUBRC EQ 0.
    ENDIF.
    WRITE :/ RANINT.
    ENDDO.
    but in my barcode all the label has the same random number, can u say how to solve this.

  • Generated consumer code with GWPA

    Hi,
    We are developing an android application using GWPA(The oData toolkit for android).
    Our oData service is modeled with Complex types that their properties are also Complex types. (hierarchy of  complex types).
    When trying to do requests using the generated code, I saw that the parsing is not working for this type of complex types.
    Is anyone familiar with this issue? Is this type of complex types supported by the oData protocol?
    Thanks,
    Ifat.

    You seem to have chosen the wrong space. Moving to SAP NetWeaver Gateway Developer Center.

  • Using Bar Code with RF devices in ECC 6.0

    Dear all,
    We have recently installed SAP ECC 6.0 in our company and we want use RF devices for reading barcodes (not RFID). According to SAP documentation this is what they say:
    " ... Currently, two device types are supported:
    - GUI devices (with graphical user interface)
    - Character devices (character-based) under terminal emulation mode
    GUI Devices
    These devices are connected to the SAP System just like any other
    client-depented PC. ...
    Character-Based Devices
    These devices are linked to the system through an SAP standard
    interface called the SAPConsole. ..."
    However I took SAP SCM631 Course and the instructor said that SAP console is mandatory even in release ECC 6.0 for graphical devices. He checked with SAP and thy confirmed, I wrote a message to SAP and as usual they give me an ambiguous answer.
    If some one can give me an idea on this subject it will be highly appreciatted.
    Thanks to all,
    Alex

    Hi Alex,
    For Character devices, you have to use SAPConsole. 
    For GUI devices if you want to use online, it should be ITSMobile(Earlier this was WebSAPConsole).
    Thanks.
    with regards,
    Muthu Ganapathy.

  • JAXB generating incorrect code with mixed type element extending abstract

    Hello,
    I am using JAXB v 2.0, and trying to generate proper Java classes, from the following snippet of my schema:
    <xsd:complexType name="abstract-query" abstract="true" mixed="true">
    <xsd:annotation>
    <xsd:appinfo>
    <jxb:class name="QueryElement">
    </jxb:class>
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:attribute name="name" use="required"/>
    <xsd:attribute name="datasource" type="report:datasource" use="required"/>
    </xsd:complexType>
    <xsd:element name="query">
    <xsd:annotation>
    <xsd:appinfo>
    <jxb:class name="PreparedQueryElement">
    </jxb:class>
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:complexType mixed="true" >
    <xsd:complexContent>
    <xsd:extension base="report:abstract-query">
    <xsd:sequence>
    <xsd:element name="input-ref" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
    </xsd:sequence>
    </xsd:extension>
    </xsd:complexContent>
    </xsd:complexType>
    </xsd:element>
    When generating Java, the PreparedQueryElement class does not include a list of input-ref's.
    If I remov the two "abstract="true"" annotations, the PreparedQueryElement will get the input-ref's list, but the QueryElement will not have the getContent/setContent I need.
    Does anyone know what I'm doing wrong?

    Sorry, third time's a charm!
    Hello,
    I am using JAXB v 2.0, and trying to generate proper Java classes, from the following snippet of my schema:
        <xsd:complexType name="abstract-query" abstract="true" mixed="true">
            <xsd:annotation>
                <xsd:appinfo>
                    <jxb:class name="QueryElement">
                    </jxb:class>
                </xsd:appinfo>
            </xsd:annotation>
            <xsd:attribute name="name" use="required"/>
            <xsd:attribute name="datasource" type="report:datasource" use="required"/>
        </xsd:complexType>
        <xsd:element name="query">
            <xsd:annotation>
                <xsd:appinfo>
                    <jxb:class name="PreparedQueryElement">
                    </jxb:class>
                </xsd:appinfo>
            </xsd:annotation>
            <xsd:complexType mixed="true" >
                <xsd:complexContent>
                    <xsd:extension base="report:abstract-query">
                        <xsd:sequence>
                            <xsd:element name="input-ref" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
                        </xsd:sequence>
                    </xsd:extension>
                </xsd:complexContent>
            </xsd:complexType>
        </xsd:element>When generating Java, the PreparedQueryElement class does not include a list of input-ref's.
    If I remove the two mixed="true" annotations, the PreparedQueryElement will get the input-ref's list, but the QueryElement will not have the getContent/setContent I need.
    Does anyone know what I'm doing wrong?

  • Moving an arrow image pointing to generated bar graph with 11 levels.

    Hello all,
    I am writing a JSP page in which i am rendering single bar graph image which has 11 levels, now depends on the value of the level which is coming from the database, i.e. 1-11, I have to point an arrow to that particular level. I need arrow image for this.
    For level value 1, it should point to exact 1 on bar graph image.
    How can I implement this in JSP?
    Thanks,
    Bhaskar

    Instead of arrows, why don't you use some color coding as shown below ?
    Message Edité par chilly charly le 09-01-2006 11:01 PM
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    Color coding solution.png ‏26 KB

  • How to print BAR code in SMART Form

    Hi All,
    I have the requirement to print BAR CODE in Smartforms.
    For this, I create a character format with Bar code in style forms and create a text element in Smart form and associate bar code character format with this text element.
    Now when I look the print preview for the data, then it shows me data in bar code format but not in right format i.e. its shows me all the similar block in bar code.
    If you look the bar code in SAP script, its always show you bar code with similar block, but in SMART FORM it will show you exact bar code; as in SAP Script, bar code is generated at printer end and in SMARTFORM bar code is generated as graphic in SAP and then sent to printer for print.
    PLease let me know, why in SMARTFORM its not showing BAR CODE in correct format in print preview.
    Thanks
    Piyush Mathur

    Hi,
    To Create a Bar code prefix:
    1) Go to T-code - SPAD -> Full Administration -> Click on Device Type -> Double click the device for which you wish to create the print control -> Click on Print Control tab ->Click on change mode -> Click the plus sign to add a row or prefix say SBP99 (Prefix must start with SBP) -> save you changes , it will ask for request -> create request and save
    2) Now when you go to SE73 if you enter SBP00 for you device it will add the newly created Prefix
    Create a character format C1.Assign a barcode to the character format.Check the check box for the barcode.
    The place where you are using the field value use like this
    <C1> &itab-field& </C1>.
    You will get the field value in the form of barcode.
    Which barcode printer are you using ? Can you download this file and see.
    http://www.servopack.de/Files/HB/ZPLcommands.pdf.
    It will give an idea about barcode commands.
    Check this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
    Detailed information about SAP Barcodes
    A barcode solution consists of the following:
    - a barcode printer
    - a barcode reader
    - a mobile data collection application/program
    A barcode label is a special symbology to represent human readable information such as a material number or batch number
    in machine readable format.
    There are different symbologies for different applications and different industries. Luckily, you need not worry to much about that as the logistics supply chain has mostly standardized on 3 of 9 and 128 barcode symbologies - which all barcode readers support and which SAP support natively in it's printing protocols.
    You can print barcodes from SAP by modifying an existing output form.
    Behind every output form is a print program that collects all the data and then pass it to the form. The form contains the layout as well as the font, line and paragraph formats. These forms are designed using SAPScript (a very easy but frustratingly simplistic form format language) or SmartForms that is more of a graphical form design tool.
    Barcodes are nothing more than a font definition and is part of the style sheet associated with a particular SAPScript form. The most important aspect is to place a parameter in the line of the form that points to the data element that you want to represent as barcode on the form, i.e. material number. Next you need to set the font for that parameter value to one of the supported barcode symbologies.
    reward if useful
    regards,
    ANJI

  • Bar code number generation

    Please suggest how can we auto generate bar code # in item master in SAP-B1.

    You can setup a formatted search containing the logic of barcode number calculation. With a click on the barcode field the system will generate a new barcode based on the "logic".
    The downside of this solution is that no validation exists for a duplicate barcode. You can overcome the validation issue using the SP Transaction Notification procedure.
    George Z

  • Bar code generation in Materials

    Hi Friends
    I wanted to generate Bar code in Materials. can any one please guide me how to do this configuration.
    if you have any document pl send to my ID : [email protected]
    Sakthi.K

    Hi Sathish
    The requirement is at very high level.
    Pl analyse why you want to barcode, what do you want to achieve with bar code.
    Do you want to print bar code for material code ? In which form ? Do you want to print it on Material receipt tag ? or material issue slip or packing slip ?
    Do you also want to read it ? In which transactions ?
    What should barcode consists of -- material code ? What other information is required ?
    For technical details, see the link below:
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
    Best regards
    Ramki

Maybe you are looking for

  • I saved a PDF doc in adobe and then added text to the form. But every time I try an email it it only

    I saved a PDF doc in adobe and then added text to the form. But every time I try an email it it only sends the original form without text. Once I've changed a doc in Adobe, how can I save it so that I'm able to use it with added text and notes? Also,

  • Lost pictures from restore from backup

    I had to use the restore from backup feature due to contact being lost from some reason, but at the same time lost pictures

  • Error on export to Excel 2003

    Hello, I have Crystal Reports 8 installed on a Windows 2003 Citrix server along with Office 2003 SP3.  Whenever I try to export any report to Excel, I get the following error: File error: Data may have been lost I found elsewhere that this may be fix

  • Unable to discover AP350 using WLSE

    Hi, I am using WLSE 1.3 and using AP350 12.01T. It always give me snmp unreachable. unable to read cdp cache. What can be the problem. I put the seed device as the switch that is connected to the AP and the device credential is the AP that I am going

  • After upgrading to Belle, not able to view number ...

    I recently upgraded my Nokia E6-00 to Belle OS. After upgrading, i am not able to view number of characters remaining while composing text msg. While composing a text msg, we see number of word characters remaing to complete the first part of msg. If