cancel
Showing results for 
Search instead for 
Did you mean: 

Printing QR-Code barcodes in SAP smartforms

Former Member
0 Kudos

Hi,

Is it possible to print QR-Code barcodes in SAP smartforms using system barcode font? Can anybody please let me know the font settings for QR-Code in SE73 font maintenance?

A sample QR-Code lablel can be found [here|http://images.orkut.com/orkut/albums2/ATUAAADhaahG5MxsqQ66lcSO9oHRWD3X8zh7yv1kEakKwMtVHchChN1WfZlM__2D0_o8H7AS4_UaTTCymQQtvXHb9-q3AJtU9VCWnzkZ4gC1sVnCekVuQ90qmhzeMw.jpg].

Regards,

Milan

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member

My 2 cents approach in 3 steps :

Step 1 : SNOTE

Install : SAP Note 2029824


Step 2 : SE73 -> Select System Bar Codes->Change

Create a ZQR barcode using New Technology ( I would recommend you to read SAP Note 2030263 . It explain very well QR possibilities )



Step 3 :

Select your ZQR Code -> Edit -> Test Barcode (F6)...voila ! ( even with your phone you should be able to scan the picture bellow )




Peter_Inotai
Active Contributor
0 Kudos

>Install : SAP Note 2029824

You need both of the following OSS notes, ABAP part only is not sufficient:

2029589 - Support for QR code and data matrix bar code (kernel part)

2029824 - Support for QR code and data matrix bar code (ABAP part)


Peter

0 Kudos

Hi Peter,

The specified note 2029824 said that to implement the kernel and ABAP support package or "implement the correction instructions" attached with the note.


I applied this through snote. But still no options to add 2D barcode in smart forms.

Any idea on this.. ?  or I have to upgrade  ABAP and kernel as specified in that note. ?

Regards,

Pandiyaraj Jayaprakash

Peter_Inotai
Active Contributor
0 Kudos

Hi,

>I applied this through snote.

Do you have the right kernel version, which is mentioned in note 2029589?


Applying OSS note 2029824 is not enough if you don't have the right kernel version.

Peter

Former Member
0 Kudos

Dear Octav Onu,

I have update SAP note and print qr code OK!

But the string length of QR code was cut down to 256. How to print more than 256 characters?

Regard,

Cuong Nguyen

Former Member
0 Kudos

Hi

I tried this method but getting an internal rfc error, please proivde some other ways through adobe or any other technique.

VAnchita

Former Member
0 Kudos

Dear Octav Onu,

we are using SAP system(ERP 6 EHP 6) below mentioned version.

is it possible to enable QR Barcode in the above sap version.if it is possible, please provide me the relevant steps.

Thanks

Regards,

Vijayakumar.

Former Member
0 Kudos

Dear Vijayakumar,

Yes you can enable the QR barcode in the ECC6 EHP6, but its only possible after you upgrade you current kernel from 720 to 721.

Steps:

1. Update your kernel from 720 to 721.

2. After your kernel update Implement the note 2029824 through SNOTE.

3. Go to SE73, choose system barcodes, there you can able to see the new symbologies that has QRcode 2005 & datamatrix.

Regards,

Mahendra

Former Member
0 Kudos

Dear Mahendra,

Thanks for your post. As per your post I have upgraded the Kernel 720 to 721 and implemented the snote 2029824.now QR Barcode has been enabled successfully.



Thanks and Regards,

Vijayakumar

former_member188065
Participant
0 Kudos

for older releases I'd recommend zint

you might want to put the zind executable on the server and use an external command SM49 to call the programm and pass the code to create a barcode symbology according to your needs.

for linux you need to compile with cmake, windows binaries and barcode studio are pre-compiled.

zint project page and downloads

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

hi

qr code is called quick response code. please refer to the link given below for step by step creation of qr code.

http://www.rjruss.info/2010/09/how-to-printpdf-qr-codes-in-standard.html#!/2010/09/how-to-printpdf-q...

With regrads

Suneesh

PatrickDean
Participant
0 Kudos

This is the easiest way in my opinion (particularly as the author has given all the code to cut and paste!)

Former Member
0 Kudos

Hi

I tried this method but getting an internal rfc error, please proivde some other ways .

VAnchita

Former Member
0 Kudos

Hi,

I need to create a dop down option status in that need to fill the value

Status = Status should have dropdown 3 drop down values like, Trip Completed/Open (3 and 0), Trip Completed and To be settled (3 and1), Trip Approved/To be settled (4and1) and Trip Approved/Settled (4and 2).



If we select any value and execute the report Trip details need to be identified & fetched from the table PTRV_CHANGE from Fields (ANTRG and ABREC).


i have created the drop down option but not getting how to fetch the values.Please help it out.




  CASE so_stat.

    WHEN 'A'.

      READ TABLE lt_ptrv_change INTO ls_ptrv_change WITH KEY pernr = ls_ptrv_head-pernr

                                                             reinr = ls_ptrv_srec-pernr.

      IF sy-subrc = 0.

     

      ENDIF.

  ENDCASE.



DATA : v_id TYPE  vrm_id,

            values TYPE  vrm_values.

  DATA : BEGIN OF vrm_value,

           key(40) TYPE c,

           text(80) TYPE c,

         END OF vrm_value.

  vrm_value-key = 'A'.

  vrm_value-text = 'Trip Completed/Open '.

  APPEND vrm_value TO values.

  vrm_value-key = 'B'.

  vrm_value-text = 'Trip Completed/To be settled'.

  APPEND vrm_value TO values.

  v_id = 'SO_STAT'.

  vrm_value-key = 'C'.

  vrm_value-text = 'Trip Approved/To be settled '.

  APPEND vrm_value TO values.

  vrm_value-key = 'D'.

  vrm_value-text = 'Trip Approved/Settled '.

  APPEND vrm_value TO values.

  v_id = 'SO_STAT'.

  CALL FUNCTION 'VRM_SET_VALUES'

    EXPORTING

      id              = v_id

      values          = values[]

    EXCEPTIONS

      id_illegal_name = 1

      OTHERS          = 2.

  IF sy-subrc <> 0.

* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

  ENDIF.

Former Member
0 Kudos

HI Vanchita ,

seems that your questions are not related to this topic !

SergioFerrari
Active Contributor
0 Kudos

Hi Milan,

I'll blog in SDN about my research that I presented at TechEd during session CD119 (blog) but I'll begin sharing with you some ideas.

Basically, without relay on any printer specific driver I would propose to follow the following steps:

1.Generate the QR Code image file (.PNG) with one of the methods presented in the following pages

2.Upload the image into the SAP system

2.1 Convert the generated file (file.png) to TIFF using SAP IGS class CL_IGS_IMAGE_CONVERTER (see GRAPHICS_IGS_IMGCONV_DEMO)

2.2.Upload. Use report RSTXLDMC to upload the image into SE78

3.Include the image into the Form:

3.1.SAPScript/:INCLUDE ZHEX-MARCO-name OBJECT TEXT ID ST

If everything is clear, the missing point should now be the first one. To generate the PNG from ABAP I found some options if you like, the better I think is presented in my open source project called abap2qrcode published here http://code.google.com/p/abap2qrcode/.

I know it's not trivial and I'm curious to know what do you think about it.

Sergio

Former Member
0 Kudos

A good way to do it is using the barcode Writer in Pure Postscript developed by Robert Russell. The blog entry is quite detailed and well documented

Regards,

Former Member
0 Kudos

This message was moderated.