on 02-26-2008 1:43 PM
Hi everybody,
can you please help me out in giving the details for printing the bar code in scripts.
i want to print the shipment number.
Thanks!!!
urs rico parker.
hi,
The SAP barcodes are not defined for a specific printer. A printer barcode is created by assigning a particular printer type and certain control sequences to this printer. Whether a barcode can be output on a certain printer depends on whether a corresponding printer barcode of the same name is maintained for this printer type.
1> Go for the transaction se73 (SAP script form maintainance)
select the radio button -
>system bar codes.(to create a barcode of ur choice)
2> Assign the character format B1 with the barcode(created in se73) in the smartstyyle transaction.
3>Now by using the character format B1,for which we have assigned the barcode you can use it like this
<B1> Hello world </>
Plz do reward if useful.
Regards
Archana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
check the following code
Code:
FO91,661ABB,11,7FDMODEL #FS
BY3,2.5FS
FO20,356BCB,51,N,N,YFD>:&W_MATNR&FS
hope it will help you.
Regards,
Sreelatha Gullapalli
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
goto se71--->in character format -
now save and activate.
call this character format in the feild where u want to print the barcode.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The question is for scripts. (Smartstyles are for Smartforms only)
Sudheer is correct, mostly.
You have to add </> after the field, so if you have a character format AN for the barcode, the code is
<AN>&fieldname&</>
Also, this is very printer specific. You must be sure the printer supports barcodes.
For example, HP printers need a special DIMM installed for SAP barcodes. (this is not the regular barcode DIMM. There is a specific one that SAP uses.)
There are OSS notes for more specific information on this.
Hope this helps.
Doug
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rico,
To create Bar code, first create a character format say BC in the smartstyle.
You can see a seperate small window for Barcode in the character where you can select a Bar Code which you like. Activate the smartstlye.
In the smartform, inside a text element suppose consider if u want to print the bar code for the Purchase order Number whose field name is V_PONUM.
To create a Bar Code for the Purchase Order Number, give in the text element as shown below:
<BC> &V_PONUM&
This will generate a Bar code for the PO Number.
Please Reward points if Useful.
Thanks,
karthik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You need to create a Chrecterformat, in the charecter format you need to select the BARCODE, then in the SAPSCRIPT you can write like below
<AN>&p_batch&
Where character format AN has BARCLVS under Barcode.
Regards
Sudheer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.