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

BAR CODE in Sap Script

Former Member
0 Likes
1,071

Hai All,

I have to print some bar code in SAP Script.The Bar Code is comming correctly, but along with it the value of the bar code is also getting printed as subscript.

How can I avoid this so that only the bar code will be printed and not the value.

Regards

Binoo

12 REPLIES 12
Read only

Former Member
0 Likes
1,032

Hi

your code should be like <BC>vbak-vbeln</bc>. This will print the barcode for VBAK-VBELN.

Thanks

Tharani

Read only

0 Likes
1,032

Here <BC> implies the character string which defines the bar code, right ?

In this case only the value also is getting printed along with the BAR CODE. I want to avoid that.

Binoo

Read only

0 Likes
1,032

hi

in the character format, turn the marker On and in the standard attributes below,check the marker box and add your barcode element name in the barcode box.

Please check if you have done all these.

Thanks

Tharani

Read only

0 Likes
1,032

Hi,

My BAR CODE is printing perfectly. The problem is suppose I am trying to print the barcode for 2000.The output will be like

!!!!!! (just think that ! stands for the

2000

barcode) Taking this as a case I want to avoid 2000 getting printed.

Now please help.

Read only

0 Likes
1,032

Do you mean now its printing as !!!!!2000?

Read only

0 Likes
1,032

the numerals 2000 comes below the barcode just like a sub script. The barcode and the numerals are printed as one single piece of data.

Read only

0 Likes
1,032

which bar code type u have applied

Check with different Bar codes.

Read only

0 Likes
1,032

can you paste the piece of code where you tried to print the barcode

Read only

0 Likes
1,032

is your barcode element defined in SE73 ?

Thanks

Tharani

Read only

Former Member
0 Likes
1,032

hi,

check whether it is placed properly in the charecter tags and see that if the barcode type is selected for that charecter type or not.

Read only

Former Member
0 Likes
1,032

hi do one thing just pass the value which u want to display as barcode to a variable and then place that variable between the charecter tags.

i think this will help u.if not let me know

Read only

0 Likes
1,032

I have done just like that only. Then also the value is appearing along with the bar code.