‎2006 Aug 23 7:33 PM
Hi all,
I need to print a barcode in my smartform. I need the information of material number MATNR and batch number CHARG to be printed in this barcode.
I never worked with barcodes. Can someone please give me all the steps required to print a barcode in smartform.
Waiting for replies.....
‎2006 Aug 23 7:44 PM
Hi,
Check the OSS Note#645158. If you need anymore details please let me know.
reward if it helpful.
thanks,
Bt
‎2006 Aug 23 7:54 PM
hi!
create a smart style and in that create a character format, use the barcode u required.
‎2006 Aug 23 8:40 PM
Hi Raju,
From 4.6c on, you can use smartforms to print barcodes without buying any barcode.dll software nor hardware extention like Bardimm on any laser/inkjet printer (Please Note that I haven't mentioned Zebra printers here!). To do this, you have to create a <b>smartstyle -> character format with the desired barcode font (defined within sap</b>). Then in the <b>smartform, create a window, put the field and associate it the character for</b>mat. That's all (I mean, that's all we do at least :-). I think, you have to consider the barcode specifications before sending the barcode value to the smartform (Just an example, if you're using 3 of 9, the code should start and end with an asterisk - '*' -) We're printing an interleaved 2 out of 5 barcode in our invoices due to a legal requirement, and we did it this way
<u>More information for you</u>
If you have a barcode scanner, then you should not need reading the barcode into an ascii file to get the data read in an standard or custom screen field. You can read it directly to the field you want. (unless... you have complex data coded in the barcode - for example if you're using an ean-ucc 128 compliant code and you're sending several fields in a single code ... In this case, an interface is almost mandatory because you must interpret the data fields according to the ucc standard, split the code into several fields .... and .... pure programming logic ).
To put it clear: if you have to read, for example, a barcode that holds the legal number of an invoice using a barcode scanner and this number should be sent to migo-> bktxt then you don't need an interface. The scanner itself acts like a fast operator entering the characters using a keyboard and filling in the field.
We're reading barcodes in several places (when we finish each pallet, when we receive an invoice, and so on. Each case is a different screen. We arent using an ascii file to read these barcodes. Furthermore, we read the invoice legal number into migo bktxt field (Head Text).
Have a look at OSS notes 750772
Thanks
Sudheer
‎2006 Nov 02 1:51 AM
Hi Sudheer,
I am doing a barcode program now and have some enquiry to ask you, hope that you can give me a helping hand.
When you say we dont need any interfaces for barcode reading, it means the barcode scanner itself will send the information into SAP? I am still unclear on this part.
Furthermore, after the barcode scanner read the barcode, where it will store? Do we need to connnect the barcode scanner to our local pc?
‎2006 Nov 02 3:51 AM
Hi Raju,
Simple.
Create a character format. Assign a barcode to it.
Goto Transaction SMARTSTYLES.
Create a character format .. . in standard setting tab
assign barcode to it.
and then in form whatever number you want to print in barcode ... just assign this character format to that.
Your question will be solved.
*REWARD if this helps