Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to display barcode in ABAP report

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi,

If it's ALV then use FM 'REUSE_ALV_COMMENTARY_WRITE'

8 REPLIES 8

Former Member
0 Kudos

hi,

If it's ALV then use FM 'REUSE_ALV_COMMENTARY_WRITE'

0 Kudos

Hi Neha,

I am not using ALV in my report. Its just a simple ABAP report.

0 Kudos

hi,

check this post which describes about bar code with sample program.

[https://forums.sdn.sap.com/click.jspa?searchID=19739413&messageID=3787152]

Former Member
0 Kudos

Hi,

Please follow the links below

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

0 Kudos

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.

Former Member
0 Kudos

Hi,

Did you check this thread??

Thanks

0 Kudos

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.

Former Member
0 Kudos

download barcode.dll

from this site

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