`
touchinsert
  • 浏览: 1319849 次
  • 性别: Icon_minigender_1
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论

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 BarcodeReference 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:

Abarcode 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 Saveand activatethe 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: Ihereby declare that thisBLOG 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.

source url:https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/13553

Relation Url: https://www.sdn.sap.com/irj/scn/wiki?path=/display/Snippets/barcode+creation

分享到:
评论

相关推荐

    ABAP751 ABAP - Keyword Documentation

    ABAP - Keyword Documentation This documentation describes the syntax and meaning of the keywords of the ABAP language and its object-oriented part ABAP Objects. Alongside this, language frameworks ...

    sap-abap打印条码教程

    SAP-ABAP打印条码教程是一个详细的教学指南,旨在指导开发者如何使用SAP-ABAP语言创建自定义的打印条码收藏在Smartforms中。本教程将从基本概念开始,介绍条码的定义、应用场景、打印条码软件、打印机和扫描器等,...

    ABAP-培训教材目录

    ABAP-培训教材附录 ABAP-培训教材ABAP-培训教材ABAP-培训教材ABAP-培训教材

    CD260-ABAP-in-Eclipse-开发-CN

    CD260-ABAP-in-Eclipse-开发-CN CD260-ABAP-in-Eclipse-开发-CNCD260-ABAP-in-Eclipse-开发-CNCD260-ABAP-in-Eclipse-开发-CN

    eclipse-abap-keywordcolors-master.rar

    eclipse-abap-keywordcolors eclipse-abap-关键字颜色

    ABAP-WebDynpro实例.pdf

    ABAP-WebDynpro 实例是 SAP 中的一种开发技术,允许开发者创建基于 Web 的应用程序。该技术将 SAP 中开发的程序在 Web 中运行,从而不需要在客户机上安装 SAPGUI。 在本实例中,我们将创建一个 WebDynpro 程序,该...

    SAP中文教材全系列之ABAP-BC400_ZH

    本文档是《SAP中文教材全系列之ABAP-BC400_ZH》,为SAP ABAP编程语言的学习提供参考。文档包含了详细的ABAP课程内容,旨在帮助学员理解并掌握ABAP编程的基础知识和高级技能。以下将详细阐释文档所涵盖的知识点。 ...

    SAP-ABAP-OO-实现-CL-SALV-TABLE

    - **自定义屏幕上的网格**:这种形式允许开发者将 ALV 嵌入到自定义的屏幕布局中,以满足特定的需求。 这些不同形式的 ALV 显示可以通过配置 `CL_SALV_TABLE` 的实例属性来实现。具体的配置细节可以在 SAP 官方文档...

    ABAP-ALV进阶

    "ABAP-ALV进阶知识点详解" ABAP-ALV进阶是指在SAP系统中使用ABAP语言开发的高级列表查看器(ALV)。ALV是SAP系统中心的列表标准,可以在ABAP程序中进行报表输出。下面是ABAP-ALV进阶的知识点详解: 一、ALV概要 ...

    ABAP-学习笔记-通用

    ABAP-学习笔记-通用

    SAP-ABAP-Certification-Review.pdf

    SAP-ABAP-Certification-Review.pdf

    web-dynpro-abap-ui-element-tree_Ch01_CV_Introduction_

    Web Dynpro ABAP是SAP开发的一种用于构建企业级Web应用程序的技术,主要用于创建复杂的、交互式的用户界面。在“web-dynpro-abap-ui-element-tree”这个主题中,我们主要探讨的是Web Dynpro ABAP中的UI元素树结构,...

    ABAP-数据类型学习笔记

    ABAP-数据类型学习笔记

    ABAP-OLE开发[汇编].pdf

    1. **CREATE OBJECT**:这个关键字用于创建一个OLE对象实例,即在ABAP程序中实例化一个外部应用程序的对象。这通常是启动OLE服务器应用程序的第一步。 2. **SET PROPERTY**:设置OLE对象的属性。这允许你改变对象的...

    abap-ALV.rar_ABAP系统ALV_abap_abap开发alv

    标题“abap-ALV.rar_ABAP系统ALV_abap_abap开发alv”暗示我们将深入探讨ABAP ALV的使用,特别是在ABAP系统中的应用以及如何进行开发。 描述中提到“ABAP ALV总结,ALV格式,REUSE_ALV_GRID_DISPLAY_LVC函数使用”,...

    SAP ABAP-采购申请释放后到更新发布标识.zip

    其次,我们需要查看与采购申请状态管理相关的表和事务码,如ME21N(创建采购申请)、ME22N(更改采购申请)和ME29N(审批/取消审批采购申请)。这些事务码背后的ABAP程序可能需要调试,以确定为什么发布标识没有在...

    SAP中文教材全系列之ABAP-BC401

    3. 报表开发:SAP ABAP的一个重要应用是报表开发,教材中应该包含了如何使用ABAP进行报表的创建,包括交互式报表、列表报表、打印报表等的开发技巧。 4. 数据访问与操作:在ABAP程序中,对数据库的访问和操作是核心...

    ABAP-4目前最完美学习手册

    - **ABAP/4基础**:介绍了创建简单ABAP/4程序的方法,包括命名规则、程序属性指定等。 #### 创建简单的ABAP/4程序 - **命名程序**: - 程序名称必须遵循特定的规则,例如避免使用SAP保留的名称。 - **命名规则**...

    ABAP-透明表学习笔记.py

    ABAP-透明表学习笔记.py

Global site tag (gtag.js) - Google Analytics