Application Development and Automation 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: 
Read only

Adding a barcode in smartfroms

Former Member
1,595

Hello there,

I want to add a barcode in my smartform for material number and plant. I tried adding the text,

<BC>&wa_marc-matnr&</>

<BC>&wa_marc-werks&</>

but still the barcode in not getting displayed.

1 ACCEPTED SOLUTION
Read only

Dominik_Tylczynski
SAP Champion
SAP Champion
1,441

Please refer to SAP support note: 645158 - New bar code technology

The barcode needs to be defined in SE73 transaction.

Then your character format i.e. <BC> needs to point to the barcode. Character formats are defined in a style assigned to your smartform. Here is an example from SYSTEM style:

HTH

Dominik Tylczyński

4 REPLIES 4
Read only

Dominik_Tylczynski
SAP Champion
SAP Champion
1,442

Please refer to SAP support note: 645158 - New bar code technology

The barcode needs to be defined in SE73 transaction.

Then your character format i.e. <BC> needs to point to the barcode. Character formats are defined in a style assigned to your smartform. Here is an example from SYSTEM style:

HTH

Dominik Tylczyński

Read only

0 Likes
1,441

Thanks, now I am able to display the barcode. But it is missing human readable information that comes just under the barcode in subscript format. Is it possible to display the material number with the barcode like the below image?

Read only

Dominik_Tylczynski
SAP Champion
SAP Champion
1,441

Hi there, human readable information should be displayed automatically. That depends on barcode definition - refer to note 645158 - New bar code technology, sections on Code39 and Code93:

The start and stop character for the Code39 bar code is usually represented by an asterix (*) in the text view of the bar code data (also called "human-readable text" or "interpretation line").

The start and stop characters in the Code93 bar code are represented as # sign in the text view of the bar code data (also called "human-readable text" or "interpretation line").

If your barcode type doesn't support human readable information you can always print that under the barcode as a separate text element in your smartform.

Read only

0 Likes
1,441

Thank you very much for your help. My Issue is solved.