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

BArcode in Smartforms

Former Member
0 Likes
1,148

Hi I am having problem with barcodes in smartforms.

in Se73 i created a barcode type used in smartstyles in the character format.

In my smartform i am using the smartstyle and i am able to see the barcode created in SE73.

In Smartforms i created a window for displaying the barcode and i created a text and with the text i am unable to select the character format. It shows the character but i am unable to select it.

Any suggestions and is there a example in SAP which also prints the barcode in smartforms.

THanks,

Madhu.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,047

HI Madhu,

u can write as...

<b>PR Material Code is: < LI > &WA_ITAB-MATNR&< / ></b>

where PR is paragraph format and LI is character format

pls remove the spaces between < LI > and < / >

and in output options u have to provide the style name and be sure that both character formats are assigned to same style in t-code SMARTSTYLES.

If u want to assign them directly in editor it dont accept.

Regards

SAB

10 REPLIES 10
Read only

Former Member
0 Likes
1,048

HI Madhu,

u can write as...

<b>PR Material Code is: < LI > &WA_ITAB-MATNR&< / ></b>

where PR is paragraph format and LI is character format

pls remove the spaces between < LI > and < / >

and in output options u have to provide the style name and be sure that both character formats are assigned to same style in t-code SMARTSTYLES.

If u want to assign them directly in editor it dont accept.

Regards

SAB

Read only

0 Likes
1,047

Thanks Syed for the suggestion.

However i dot see any LI when i manually type in LI it pops an error saying an Unknown Format.

ANy suggestions.

Madhu.

Read only

0 Likes
1,047

HI Madhu..

I mean Instead of LI u have to type ur characterformat which is assigned to Barcode in smartstyles.

and in output options u have to provide the style name and be sure that both character formats are assigned to same style in t-code SMARTSTYLES.

If u want to assign them directly in editor it dont accept.

Reagrds

SAB

Read only

0 Likes
1,047

I have tried that as well it says the same error. Unknown format.

In the text general attributed tab in the editor i am trying to put the character format. it dosent except. However when i type the paragraph format it accepts and in the result i see the number not the barcode.

IS there an example in SAP which prints the bar code.

Thanks,

Madhu.

Read only

0 Likes
1,047

hi.

ok... i give the check list..

1. SE73.... create ZBARCODE

2. SMARTSTYLES : create character format, paragraph format under <b>ZSTYLE</b>. and assign the character format to ZBARCODE.

3.SMARTFORMS: In <b>Output options</b> TAB ... STYLE : ZSTYLE --> SAVE

in General attributes... Give the paragraph format given in ZSTYLE .

I hope u can see the Character formats by drop down in character format field.

and give in command prompt script editor..

<b>PR < LI > &ITAB_MATNR& < / ></b>

Regards

SAB

Read only

0 Likes
1,047

Thanks Syed for your patience and effforet for wriing all the steps.

I have done everythign similar as you specified. I can also see the character in the character format dropdown. However i am unable to select it in the dropdown. So i clicked the editor but here i dont see the character format. SO i typen in manually but when i click back button it pops with an error message saying unknown format.

ANy Suggestions.

Madhu.

Read only

0 Likes
1,047

hi Madhu,

OK last try...

when u can see the characterformat in drop down..

then first select the variable which u want to display as barcode... and then select the characterformat in dropdown.

then the variable will be displayed underline as <u>&WA_ITAB-MATNR&</u>.

if doesn't solve ur problem... can u send some screen shots..to my email.. to have look... email is sabteam4u@yahoo.com

Regards

SAB

Read only

0 Likes
1,047

Thanks I am mailing u the screen shots.

Madhu.

Read only

0 Likes
1,047

Thaks Syed.

It works.

Madhu.

Read only

Former Member
0 Likes
1,047

Hi,

Check this link it gives some info regarding barcodes and uplex printing:

http://solutions.brother.com/Library/pdf/SAP_install_latest.pdf

Regards

Subramanian