‎2007 Jan 30 6:21 PM
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.
‎2007 Jan 30 6:26 PM
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
‎2007 Jan 30 6:26 PM
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
‎2007 Jan 30 6:37 PM
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.
‎2007 Jan 30 6:42 PM
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
‎2007 Jan 30 6:54 PM
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.
‎2007 Jan 30 7:14 PM
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
‎2007 Jan 30 8:06 PM
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.
‎2007 Jan 30 8:24 PM
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
‎2007 Jan 30 8:46 PM
‎2007 Jan 30 9:31 PM
‎2007 Jan 30 6:27 PM
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