on 05-24-2007 10:47 PM
Hello,
I have created a new barcode using SE73. I then included it in a SmartStyle and used that SmartStyle in my SmartForm. However the style doesn't seem to be working because it still displays as the delivery number and not a barcode (when printing and previewing it). I then tried using the style S_TEST (SAP supplied style for testing barcodes) and it acts the same way.
Both of the styles don't do anything except move the delivery number from its original position within the text node.
Regards,
Davis
Message was edited by:
Davis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can use transaction SE73 to create the custom Barcodes or else you can use the Barcodes that are already in system.
For Custom Barcode B1:
> Goto tcode SE73.
> Assign a character format to the barcode.
> Now create smart style and declare this at attribute level.
> Using the character format for barcode B1
> Characters which uses dat format willl print teh corresponding barcode.
to include it use the format.
<B1> Message to be in barcode </>.**
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Feb 25, 2008 3:03 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Davis,
Thats not the case. Irrespective of the type (Smartforms/Script etc) BARCODE fonts are printer dependent. So we need to first ensure that the printer supports the Font.
Best regards,
Prashant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Prashant,
I just reread SAP Note 645158 and it does state what you said. I took the SmartForms course and I was told that barcodes in SmartForms were not printer specific.
Also do I need to have a SIM card installed in the printer like you do with SAPScript? What is the advantage to using SmartForms over SAPScript in regards to Barcodes?
Regards,
Davis
HI,
in SMARTSTYLES, create character format and paragraph format. and for character format provide the barcode u created in SE73 or the barcode type u want.
In SMARTFORMS: provide the style created in SMARTSTYLES.
and provide the paragraph format and character format in Editor.
<b>PR < BC > &itab-matnr& < / ></b>
PR : paragraph format
BC : character format for Barcode.
remove the spaces and provide the variable in between *
Regards
SAB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Syed, thanks for the reply.
I tried to do what you posted. I have the paragraph format called PR and the barcode called BR. I then, created a new text node and on its output conditions I added the SmartStyle in the style box (Z_BC_Picklist). I then, in the text node, added the following code:
PR<BC>*&VBLKK-VBELN&*</>
I also tried (not knowing if the * should be there
PR<BC>&VBLKK-VBELN&</>
And, in both situations, it prints out the code verbatim and does not display a barcode.
Regards,
Davis
Davis,
<b>
PR <BC>&VBLKK-VBELN&< / ></b>
did u provide this code in editor or in command prompt editor.
If not: click on editor button left side of general attributes TAB. above syntax check button.
Now u get like ABAP Editor screen.
go to menuitem GO TO --> Change Editor
on left side u can provide command as paragraph format i.e. PR ( in small box).
and <b><BC>&VBLKK-VBELN&< / ></b> right to it.
Then also it is not working then check the smartstyles is ur style is activated or not and also check the paragraph format and character format and assigned barcode style in it.
last option: try with another barcode type C128 type for testing... if it prints then there is something wrong ur Barcode type like printer support or barcode assignment..
Regards
SAB
Syed,
I tried the code in a text node (I read somewhere that is what you used). After reading your reply I tried it in a "Program Lines" node but when I include it there I just get a sytax error on PR (the paragraph format). I could not quite follow your directions but I believe that you are telling me to do it in a "Program Lines" node.
Regards,
Davis
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.