Skip to Content
avatar image
Former Member

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Dec 10, 2008 at 07:21 AM

    hi,

    If it's ALV then use FM 'REUSE_ALV_COMMENTARY_WRITE'

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 10, 2008 at 07:33 AM

    Hi,

    Please follow the links below

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Manish,

      I tried the following sample program in SAP as it is:

      *new-page print on.

      *

      *FORMAT COLOR OFF INTENSIFIED OFF.

      *WRITE : /.

      *PRINT-CONTROL FUNCTION 'SBP01'.

      WRITE : '123456789*' NO-GAP.

      *PRINT-CONTROL FUNCTION 'SBS01'.

      *WRITE:/.

      *new-page print off.

      However,it's not giving me the desired output i.e. it's not printing the barcode, neither in the generated spool nor on the printer.

      Please let me know If anything else requires to be done.

  • avatar image
    Former Member
    Dec 11, 2008 at 07:08 AM

    Hi,

    Did you check this thread??

    bar-code-generation-in-abap-report

    Thanks

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Nitesh,

      Thanks for your reply.

      But I have already tried this code as well. As mentioned in the Thread which you have given, the whole SAP report is not provided(only a part of it).

      Can you please provide me the exact code through which I would be able to print the barcode on my SAP screen?

      Thanks in advance.

  • avatar image
    Former Member
    Jan 02, 2009 at 08:47 AM

    download barcode.dll

    from this site

    http://www.zdnet.co.uk/tsearch/abap.htm

    Add comment
    10|10000 characters needed characters exceeded