Skip to Content
avatar image
Former Member

Printing Bar code

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

7 Answers

  • avatar image
    Former Member
    Feb 26, 2008 at 01:46 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 26, 2008 at 07:48 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 27, 2008 at 03:44 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      ALSO PLZ CHEK WHETHER THE BARCODE SOFTWARE ALREADY INSTALLED ON THE FORNT END PC ITZ THE JOB OF THE ADMIN SO KINDLY CHECK WITH THEM......

      REGARDS

      DEVANAND

  • avatar image
    Former Member
    Feb 28, 2008 at 05:49 AM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 28, 2008 at 05:55 AM

    Hi

    goto se71-- ->in character format -


    >select a character format >there is a check box BARCODE select that --> select the barcode format u want to apply.

    now save and activate.

    call this character format in the feild where u want to print the barcode.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 28, 2008 at 06:05 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 28, 2008 at 11:16 AM

    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

    Add comment
    10|10000 characters needed characters exceeded