ABAP--如何创建自定义打印条码

 

ABAP--如何创建自定义打印条码

BARCODE in Smartforms: How to create customize BARCODE for Smartforms.

1 Introduction

(a)  Barcode Software

(b)  Barcode Printers

(c)  Barcode Scanners

2 How to Display the Standard SAP Barcode in Smartform.

3 How to create our own customize Barcode Reference of some standard barcode family.

4 How to create a new Barcode.

5 Change TIME-ZONE in SAP R/3.

 1. INTRODUCTION 

A barcode is a machine-readable representation of information (usually dark ink on a light background to create high and low reflectance which is converted to 1s and 0s) or in other words we can say Barcode is the Universal Product Code (UPC) is a series of lines at various widths that is a representation of information, which is read by an optic scanner called a barcode reader or scanned for an image by special software. The information can be price, destination, or other vital information concerning the product. Initially, barcodes contained the data within the widths and spacing of the parallel lines, today that's no longer true. Today, the information is concealed in patterns of dots, concentric circles, and hidden in images.

 Barcodes can be used to track inventory, luggage, and even mail. Warehouses can use barcodes for organizing and providing accurate status reports for individual packages or shipments. Post-production companies use barcodes to track videotapes, film reels, as well as other products. First barcode software is required to generate a barcode, and then we require a barcode printer which will print the bars with the same resolution and size, then the scanner to read the unique value of barcode and validate it. Hence there are three broad applications which deal with Barcodes:

 

Barcode Software:Software to design your barcode labels and manage your bar code label printing system. 
Whether you need to print bar codes, text, graphic images, or from databases, labels has the features to help you design and print labels with ease. These software’s supports over various barcode symbologies, TrueType fonts, and over 1000 thermal and laser printers, providing the flexibility to handle all of your barcode labeling applications - today and in the future. 

Barcode Printers:

A barcode printer (or bar code printer) is a computer peripheral for printing barcode labels or tags that can be attached to physical objects. Barcode printers are commonly used to label cartons before shipment, or to label retail items with UPCs. 

Barcode Scanners:

A barcode reader (or barcode scanner) is an electronic device for reading printed barcodes. Like a flatbed scanner, it consists of a light source, a lens and a photo conductor translating optical impulses into electrical ones. Additionally, nearly all barcode readers contain decoder circuitry analysing the barcode's image data provided by the photo conductor and sending the barcode's content to the scanner's output port.

 

2. How to Display the Standard SAP Barcode in Smartform: 

 

Press Save  and activate  the Smartstyle.

 T-Code: Smartforms

 

 

 

 

Now the value of the W_EKKO-EBELN (Purchase Order No.) is 4500006371When we display the print preview of the smartform now the value of the PO is displayed in the form of BARCODE as shown below:

 

 

 

3. How to create our own customize Barcode with the reference of some standard barcode family:

 

 

 

 

Minimum number of characters in a bar code:

Minimum number of characters which can be transferred to a bar code for printing. Most bar codes have a fixed number of characters which needs to be entered, or a minimum and maximum number of characters. If there is a fixed number of a character, the minimum and maximum numbers are the same.                                                    

Maximum number of characters in a bar code

Maximum number of characters which can be transferred to a bar code for printing. If there is a fixed number of a character, the minimum and maximum numbers are the same.  

T-Code: Smartforms:

 

 

 

4. How to create a new Barcode:

 

The mapping between messages and barcodes is called a symbology. The specification of a symbology includes the encoding of the single digits/characters of the message as well as the start and stop markers into bars and space. 

 

 

 

When we display the print preview of the smartform now the value of the PO is displayed in the form of BARCODE as shown below: 

 

5 Change System Time Zone :

To change system time zone, you have to maintain SAP Table

 TTZCU via SM30 like maintain tools. 

1. Login system and call transaction SM30. 

2. Enter Table Name TTZCU and press maintain. 

 

  

 

Disclaimer: I hereby declare that this BLOG is based on my personal experiences and / or experiences of my project members. To the best of my knowledge, this BLOGt does not contain any material that infringes the copyrights of any other individual or organization including the customers of SAP.

 

posted @ 2014-04-24 09:18  Slashout  阅读(1016)  评论(0编辑  收藏  举报