Tuesday 30 March 2021

Generation of QR code in SAP S/4 HANA

Significance of QR code in SAP industry

Nowadays QR codes are everywhere, from products to websites and their marketing. Many businesses and applications have increased the use of QR readers and scanners. Smartphones and tabs come with built-in QR readers these days. Unlike barcodes which are vertical stripes, QR codes are made up of square-shaped patterns. Barcodes are read in one direction from top to bottom hence only a small amount of information can be stored. QR codes are read in two directions which makes it two -dimensional from top to bottom and right to left. This means it can store more data. When compared to bar codes, QR codes are protected against duplication and less error-prone. Consumer-facing marketing campaigns have increased usage as smartphones and tabs with digital cameras can easily read and interpret using this technology. It is also because of the major advantage of QR code that it can be scanned from both papers and from a screen, unlike barcode which can be only scanned from paper.

QR code has also become popular and is used in applications including the automotive industry, product tracking, item identification, plant maintenance, time tracking, warehouse management, document management, and general marketing. Thus, most of the organizations using SAP solutions have stepped up and are using a QR Code generator and readers in their warehousing applications for enterprise management solutions. It has empowered the warehouse workers and operators with efficiency, data accuracy, and stock estimation by quick data entry with no manual errors.

Brief on SAPscript

SAPscript programming is a special code that enables SAP systems to print the content to specific printers. Each model of the printer has a specific script developed that supports the required formats. SAPscript programming very transparent to users because of its seamless integration. It is very beneficial for organizations that rarely change their printer and label formats. For any additional label output, the organization might need an additional solution which might be a drawback.

Steps to generate QR code in SAP S/4 Hana

In this blog, I will show you the steps to generate a QR code with the help of S/4 Hana screens. Although it is a technical solution, it does not require knowledge of ABAP or programming. I have covered all the steps to create a QR code in SAPscript and print it. So, to print a QR code, let us begin with creating one.

Step 1: Go to transaction SE73 (SAPscript Font Maintenance) then select the radio button for “System Bar Codes” and click the “Display” button as per the below screen.

SAP S/4HANA, SAP HANA Certification, SAP HANA Learning, SAP HANA Guides, SAP HANA Career, SAP HANA Preparation, SAP HANA Study Material

This will open a new screen with a list of all the existing Bar code templates as shown in the below screenshot.

SAP S/4HANA, SAP HANA Certification, SAP HANA Learning, SAP HANA Guides, SAP HANA Career, SAP HANA Preparation, SAP HANA Study Material

Step 2: Now click on the “Create” button. It will open a pop-up to choose the Barcode methods to be created. Here click on the “New” button to create a new Barcode.

SAP S/4HANA, SAP HANA Certification, SAP HANA Learning, SAP HANA Guides, SAP HANA Career, SAP HANA Preparation, SAP HANA Study Material

Step 3: Provide the new “Bar code name” in the input box and a suitable description in the input box provided for “Short Text” and click on the “Continue” button as shown in the screenshot.

For Example: ZQRCODE and QR Code-2021

SAP S/4HANA, SAP HANA Certification, SAP HANA Learning, SAP HANA Guides, SAP HANA Career, SAP HANA Preparation, SAP HANA Study Material

Step 4: In this step, select the supported Bar Code Symbologies as “QR Code 2005” in the pop-up and click on the “Continue” button.

SAP S/4HANA, SAP HANA Certification, SAP HANA Learning, SAP HANA Guides, SAP HANA Career, SAP HANA Preparation, SAP HANA Study Material

Step 5: Next pop-up appears on the screen to select the Bar code alignment. Select the radio button for “Normal” and click on “Continue”.

SAP S/4HANA, SAP HANA Certification, SAP HANA Learning, SAP HANA Guides, SAP HANA Career, SAP HANA Preparation, SAP HANA Study Material

Step 6: This is next pop-up for setting up the QR code 2005 Bar code Parameters. For the input box for Mode, I have provided “A” as in Automatic. There are other modes available as below:

A – AUTOMATIC

N – NUMERIC

L – ALPHANUMERIC

B – BYTE_LATIN1

K – KANJI

U – BYTE_UTF8

1 – FNC1_POS1 (FNC1 in first position)

2 – FNC1_POS2 (FNC1 in second position)

For the Module Size input, provide a Numeric Entry such as “00025”.

In the Error Correction Level input, I have provided H, below are the other options.

L – 7 % Error Correction capability

M – 15% Error Correction capability

Q – 25% Error Correction capability

H – 30% Error Correction capability

Click the “Continue” button to proceed.

SAP S/4HANA, SAP HANA Certification, SAP HANA Learning, SAP HANA Guides, SAP HANA Career, SAP HANA Preparation, SAP HANA Study Material

Step 7: Save the Bar Code definition by clicking on “Yes” button then click “Continue”.

SAP S/4HANA, SAP HANA Certification, SAP HANA Learning, SAP HANA Guides, SAP HANA Career, SAP HANA Preparation, SAP HANA Study Material

Step 8: This will ask for a Workbench TR to capture the configuration. Provide a TR or create a new TR and save.

SAP S/4HANA, SAP HANA Certification, SAP HANA Learning, SAP HANA Guides, SAP HANA Career, SAP HANA Preparation, SAP HANA Study Material

Step 9: In this step you will see the created QR code in the list as you can see in the below screenshot. Select the QR code you have created and click “Test Bar code.

SAP S/4HANA, SAP HANA Certification, SAP HANA Learning, SAP HANA Guides, SAP HANA Career, SAP HANA Preparation, SAP HANA Study Material

Step 10: In this step, you can see your Bar code Name and Bar code Data. Click “Execute”.

SAP S/4HANA, SAP HANA Certification, SAP HANA Learning, SAP HANA Guides, SAP HANA Career, SAP HANA Preparation, SAP HANA Study Material

Step 11: Provide the output device as ‘LP01” and click “Print preview” button.

SAP S/4HANA, SAP HANA Certification, SAP HANA Learning, SAP HANA Guides, SAP HANA Career, SAP HANA Preparation, SAP HANA Study Material

It will create the QR code as you can see on the preview screen.

SAP S/4HANA, SAP HANA Certification, SAP HANA Learning, SAP HANA Guides, SAP HANA Career, SAP HANA Preparation, SAP HANA Study Material

Finally we have created a QR code in SAPscript.

No comments:

Post a Comment