Horizantal Tab in Barcode

Hi All ,
If we need a horizantal tab in SAP , we use cl_abap_char_utilities=>HORIZONTAL_TAB.
What we should enter if we need to enter same value using keyboard.
The requirement is to insert horizantal tab between two values (manually entered in an excel ).
And this horizontal tab should get recognized by barcode reader as horizontal tab.
Thanks and Regards ,
Vivek

Dear Vivek,
   For putting TAB and NEWLINE in Barcode we can use Hexa Decimal. I am giving example , i am using ~ tiled sign for field seperation, this can be used as per required guide line.:
   CONCATENATE g_docno '~' exdat_c '~' blwbno '~' j_1iexchdr-exnum  '~' exdat_c '~' '\0x09' '\&' 
                             vbak-bstnk '~' poitem '~' barcodeqty '~' 'TO' '~' lips-aeskd '~' batchno '~' manufdate_c '`'
  INTO barcodetext.
Please Note that:
1. This Hexa decimal '\0x09' is used for TAB definition
2.  '\&' is used for new line feed, this is basically (Carriage Return + Newline) as per SAP Note 645158 - New bar code technology.
   On place of '\&' we can use these two code with togather '\0x0D' '\0x0A' which means we give instruction first do Carriage Return ('\0x0D') then feed the New line '\0x0A' .But intresting part is that UNIX based system understand '\0x0A' means (Carriage Return + Newline) where as window based system does not so we have to give to Hexa decimal like '\0x0D' '\0x0A' together.
I have seen This class cl_abap_char_utilities=>HORIZONTAL_TAB does not work properly nither for TAB nor For NEWLINE.
Hope this will help to many who got problem with BARCODE (NEWLINE and TAB)
Regards
Vinod K Dwivedi

Similar Messages

  • Tab in Barcode

    Hi All
    We are facing a very typical problem with barcodes.
    Till this date we were printing a barcode on an output which contained a tab feed between two fields, to enable automatic switch to the next field upon scanning by a RF device. This worked perfectly.
    The tab has been inserted using cl_abap_char_utilities=>horizontal_tab.
    Recently, we upgraded our system (ECC 5.0) to SP24 and now the tab character is no longer recognised by the RF device.
    I created a report to write a file on appl. server with tab separated values, and when i download the text file to my windows pc, the text is tab separated. However if i take a print of an output using similar code, i see a '#' instead of a tab space.
    I suspect it is due to some changes in the way SAP interprets the hex characters in the kernel while printing. Also checked OSS, but found nothing relevant to printing.
    Any pointers will be useful.
    Regards
    Dev Team

    Hi
    Use "\0x09" for tab delimitor in string while barcoding
    Regards,
    Subba.R

  • Read Tab delimited File from Application server

    Hi Experts,
    I am facing problem while reading file from Application server.
    File in Application server is stored as follows, The below file is a tab delimited file.
    ##K#U#N#N#R###T#I#T#L#E###N#A#M#E#1###N#A#M#E#2###N#A#M#E#3###N#A#M#E#4###S#O#R#T#1###S#O#R#T#2###N#A#M#E#_#C#O###S#T#R#_#S#U#P#P#L#1###S#T#R#_#S#U#P#P#L#2###S#T#R#E#E#T###H#O#U#S#E#_#N#U#M#1
    i have downloaded this file from Application server using Transaction CG3Y. the Downloaded file is a tab delimited file and i could not see "#' in the file,
    The code is as Below.
    c_split  TYPE abap_char1 VALUE cl_abap_char_utilities=>horizontal_tab.
    here i am using IGNORING CONVERSION ERRORS in order to avoid Conversion Error Short Dump.
    OPEN DATASET wa_filename-file FOR INPUT IN TEXT MODE ENCODING DEFAULT IGNORING CONVERSION ERRORS.
          IF sy-subrc = 0.
            WRITE : /,'...Processing file - ', wa_filename-file.   
           DO.
          Read the contents of file
              READ DATASET wa_filename-file INTO wa_file-data.
              IF sy-subrc = 0.
                SPLIT wa_file-data AT c_split INTO wa_adrc_2-kunnr
                                                   wa_adrc_2-title
                                                   wa_adrc_2-name1
                                                   wa_adrc_2-name2
                                                   wa_adrc_2-name3
                                                   wa_adrc_2-name4
                                                   wa_adrc_2-name_co
                                                   wa_adrc_2-city1
                                                   wa_adrc_2-city2
                                                   wa_adrc_2-regiogroup
                                                   wa_adrc_2-post_code1
                                                   wa_adrc_2-post_code2
                                                   wa_adrc_2-po_box
                                                   wa_adrc_2-po_box_loc
                                                   wa_adrc_2-transpzone
                                                   wa_adrc_2-street
                                                   wa_adrc_2-house_num1
                                                   wa_adrc_2-house_num2
                                                   wa_adrc_2-str_suppl1
                                                   wa_adrc_2-str_suppl2
                                                   wa_adrc_2-country
                                                   wa_adrc_2-langu
                                                   wa_adrc_2-region
                                                   wa_adrc_2-sort1
                                                   wa_adrc_2-sort2
                                                   wa_adrc_2-deflt_comm
                                                   wa_adrc_2-tel_number
                                                   wa_adrc_2-tel_extens
                                                   wa_adrc_2-fax_number
                                                   wa_adrc_2-fax_extens
                                                   wa_adrc_2-taxjurcode.
    WA_FILE-DATA is having below values
    ##K#U#N#N#R###T#I#T#L#E###N#A#M#E#1###N#A#M#E#2###N#A#M#E#3###N#A#M#E#4###S#O#R#T#1###S#O#R#T#2###N#A#M#E#_#C#O###S#T#R#_#S#U#P#P#L#1###S#T#R#_#S#U#P#P#L#2###S#T#R#E#E#T###H#O#U#S#E#_#N#U#M#1
    And this is split by tab delimited and moved to other variables as shown above.
    Please guide me how to read the contents without "#' from the file.
    I have tried all possible ways and unable to get solution.
    Thanks,
    Shrikanth

    Hi ,
    In ECC 6 if all the unicode patches are applied then UTF 16 will defintly work..
    More over i would suggest you to ist replace # with some other  * or , and then try to see in debugging if any further  # appears..
    and no # appears then try to split now.
    if even now the # appears after replace statement then try to find out what exactly is it... wheather it is a horizantal tab etc....
    and then again try to replace it and then split..
    Please follow the process untill all the # are replaced...
    This should work for you..
    Let me know if you further face any issue...
    Regards
    Satish Boguda

  • Removal of TABS from File Upload

    Hi all,
    I made an upload of a local file with TAB spaces in an internal table .I am required to remove the TABs from the records.I tried to used command REPLACE '/h' by single space, where '/h' being the TAB , but it did not work.
    How can I achieve the requirement?
    Your ideas are appreciated
    Thanks,
    stock

    first you wil call GUI_UPLOAD in normal way.
    <b>if you are in UNICODE system,</b>
    CLASS CL_ABAP_CHAR_UTILITIES DEFINITION LOAD.
    CONSTANTS: X_DELIM  TYPE C VALUE CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB.
    this X_DELIM is to store HORIZANTAL TAB value.
    <b>if you are in a NON UNICODE SYSTEM,</b>
    you can use,
    data X_DELIM type x value '09'.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          FILENAME                = V_FNAME
          FILETYPE                = 'ASC'
        TABLES
          DATA_TAB                = IT_READFILE
        EXCEPTIONS
          FILE_OPEN_ERROR         = 1
          FILE_READ_ERROR         = 2
          NO_BATCH                = 3
          GUI_REFUSE_FILETRANSFER = 4
          INVALID_TYPE            = 5
          NO_AUTHORITY            = 6
          UNKNOWN_ERROR           = 7
          BAD_DATA_FORMAT         = 8
          HEADER_NOT_ALLOWED      = 9
          SEPARATOR_NOT_ALLOWED   = 10
          HEADER_TOO_LONG         = 11
          UNKNOWN_DP_ERROR        = 12
          ACCESS_DENIED           = 13
          DP_OUT_OF_MEMORY        = 14
          DISK_FULL               = 15
          DP_TIMEOUT              = 16
          OTHERS                  = 17.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        EXIT.
      ENDIF.
    *--Delete any Empty lines in the input file,if any
      DELETE IT_READFILE WHERE LINE IS INITIAL.
      LOOP AT IT_READFILE INTO X_READFILE.
        SPLIT X_READFILE-LINE AT X_DELIM
                            INTO  X_INPUTFILE-F1
                                 X_INPUTFILE-F2
                                X_INPUTFILE-F3.
        APPEND X_INPUTFILE TO IT_INPUTFILE.
        CLEAR X_INPUTFILE.
      ENDLOOP.
    HERE IT_INPUTFILE IS the internal table with your fields.
    IT_READFILE IS a character type internal table
    data : BEGIN OF IT_READFILE occurs 0,
              LINE(1000) TYPE C,
            END OF IT_READFILE.
    or you can put HAS_FIELD_SEPERATOR = 'X' in calling the above function module.
    Regards
    Srikanth
    Message was edited by: Srikanth Kidambi

  • Problem in uploading text file to itab

    Hi experts,
    I declared a itab with two fields which refers a a dB table fields.Then i created a excel file: In the firest column i placed entry for the first field
    and in the second column  i placed entry for the second field.Both fields i have taken from thatDB table.Then i saved that excel file as type text-tab delimited.Then i called GUI_UPLOAD.
    So when exicute my pgm i see the contents in the itab as follows:
    Field1          field2
    kv_sub_area0    004#descvription by ravikumar.
    But i should get like this:
    Field1            field2
    kv_sub_area0004   descvription by ravikumar.
    Why # is coming and it is taking some characters from field1 to filed2.
    I am using version 4.7 Actually field1 is of length 30 as per DB table.
    If i reduce the length in the itab declaration then it is giving corect..
    can any body tellme why this problem occurs?
    Regards

    in GUI_UPLOAD
    mention as
    FILE_TYPE = 'ASC'.
    HAS_FIELD_SEPERATOR = 'X'.
    if you provide the above both, i believe your problem will be solved.
    that '#' special symbol is for horizantal tab.
    regards
    srikanth
    Message was edited by: Srikanth Kidambi

  • # At the end of record in .txt file on server

    I am reading a .txt file on server ..
    Spliting the recoed at horizantal tab.
    everything is fine but the # at the and of record is not getting eliminated.
    I have tried with CR_LF and NEWLINE tooo ... no use....
    I have to be able to delete this..

    Hi Kalyan Mohan Venigalla,
    if you open dataset in text mode and read dataset into <textvar or string>, the linefeeds should not be read but used to distinguish lines of (possible) different line length.
    The # character just means non-displayable character. Depending on where the file comes from and how it was created and/or transfered to SAP server, this may be anything.
    In debugger, you may switch to hex view and see what it is. Compare to the attributes of CL_ABAP_CHAR_UTILITIES and choose the right one for deletion or replacement.
    Regards,
    Clemens

  • Table formats

    Hi All,
    I have a report in vertical tab format.
    There are 2 users and they want to see the same report in 2 different formats like
    user1 wants to see the same report in Horizontal Table format
    user2 wants to see the same report in any other format but not in vertical tab..
    Please help .

    In the same report, create two tabs name it vertical and horizantal
    one tab for Vertical format and the other for Horizantal tab format.
    So users depends on their requirement, they can view the right one.

  • Issues with AR Invoice form after sending barcode and tab data to PC

    Hi,
    We have a barcode system to scan ItemCodes and send 5 x tabs 'keypresses' to the checkout users PC.
    This basically populates all the required fields on the AR Invoice row and jumps down to the next row ready for the next barcode.
    We have recently upgrading to 8.8, and we have developed an annoying issue.  Intermittently, the PCs not behaving as expected.  Here are some of the bad results we have experienced:
    1. The barcode scan is done, but the tabs being sent to the PC are not registered..  The PC just sits there with the cursor at the end of the (populated) ItemCode box without recognising that tabs have been sent
    2. The barcode scan is done and the ItemCode box is populated as expected.  However SAP has not processed all the expected tabs and the cursor remains one of the next few fields awaiting user input.
    3. As above the barcode scan is done and the ItemCode box is populated as expected.  However SAP has not processed all the expected tabs.  Also, the cursor is not present within the current 'selected' field - it seems to have almost lost focus from the fields on the form.  Note: the SAP window remains the active Window.
    All of this means that the processing of Invoices is being delayed as tabs are not being processing and form focus is being lost.
    The form settings are correct as they are unchanged from being working to suddenly stopping working.  The issue is occasionally resolved by a reboot of the client PC in question. 
    Is this a known issue in 8.8?  If not, is this most likely to be caused by display issues or SAP 8.8 not being able to handle the receipt of tab commands in such quick sucession?
    Any pointers or comments from your experience would be appreciated.
    Regards
    OB

    Which patch level are you using as this should be fixxed. I would also look if there are any conflicts with the add-ons as there some major changes in the SDK.

  • How to print Barcode data in Oracle XML Publisher Report

    Hi,
    We have an rdf report which prints Bar code in the starting page based on a custom procedure from MarkView. It works well with Oracle Reports.
    But since the current report was a matrix report, we are changing it to a Linear report through Oracle XML Publisher Report.
    We have all the things possible in the new Oracle XML Report.. But we are unable to print the Bar code data which is BLOB in the XML Report..
    Can anyone help me on this? We have UAT dates around the corner..
    We have an RTF Template .
    Help asap.
    Thanks
    Abhilash

    Hi Abhishek,
    Bar code Registration Steps in XMLPublisher responsibility:
    1.    Go to responsibility XML Publisher Administrator
    2.    Open Administration
    3.    Open Font Files Tab
    4.    Create Font File
    5.    Give Font Name : XX_BARCODE
    6.    File : Browse Barcode file
    7.    Apply
    8.    Go to Font mapping Tab
    9.    Open Create Font Mapping Set
    10.    Give Mapping Name: XX_BARCODE
    11.    Give Mapping Code: XX_BARCODE
    12.    Type : FO TO PDF
    13.    Apply
    14.    Open Tab Create Font Maping
    15.    Font Family: Code39-Digits(This name should be exactly the font name comes in word)
    16.    Style: Normal
    17.    Weight: Normal
    18.    Target Font Type: Truetype
    19.    Continue
    20.    Font : XX_BARCODE
    21.    Apply
    1.    Go to Template Tab
    2.    Query for your template
    3.    Open Edit Configuration
    4.    Click on FO Processing
    5.    In Font Mapping set Give XX_BARCODE
    RTF Template (word):
    1.Design the RTF template
    2.Insert the barcode against reqd field
    3.Make sure to put an * before and after the barcode so that scanner understands the beginning and end
    Please send your rtf ,xml file if you are still facing issues.
    Rgds,

  • Not able to Display Barcode in PDF

    Hi Gurus
    I created a BIP report where in I am displaying a barcode in place of PO number. I selected 3 0f 9 barcode. I have a sample output and trying to view the preview in PDF. It is not displaying barcode in PDF format. How ever it is displaying the barcode in rtf, explorer etc. Please help me in solving this. Am I missing any setup after installing Font and BI Publisher desktop..
    Thanks
    Ahmed

    Hi Ahmed,
    Are you able to see the bar-code in pdf output in rtf layout (not thru concurrent request submission)?
    Please check the following steps and see if you have missed one of these set-ups in XML Publisher administrator:
    XML Publisher Administrator-->Administration
    Font File--->Give font file name and Browse the bar code (3 of 9 in your case)--->Apply
    Font Mapping-->Mapping Name--->Mapping Code
    Type--->FO to PDF--->Apply
    Open Tab Create Font Maping
    Font Family: Code39-Digits(This name should be exactly the font name which comes in word)
    Style: Normal
    Weight: Normal
    Target Font Type: Truetype
    Continue
    Font : font file name
    Apply
    Go to Template Tab
    Query for your template
    Open Edit Configuration
    Click on FO Processing
    In Font Mapping set :associate your file
    Please let me know if you are still unable to view the barcode.
    Rgds,
    skaundinya.

  • How can i display barcodes in scripts

    hi
    experts can u help me for this

    A barcode label is a special symbology to represent human readable information such as a material number or batch number
    in machine readable format.
    There are different symbologies for different applications and different industries. Luckily, you need not worry to much about that as the logistics supply chain has mostly standardized on 3 of 9 and 128 barcode symbologies - which all barcode readers support and which SAP support natively in it's printing protocols.
    You can print barcodes from SAP by modifying an existing output form.
    Behind every output form is a print program that collects all the data and then pass it to the form. The form contains the layout as well as the font, line and paragraph formats. These forms are designed using SAPScript (a very easy but frustratingly simplistic form format language) or SmartForms that is more of a graphical form design tool.
    Barcodes are nothing more than a font definition and is part of the style sheet associated with a particular SAPScript form. The most important aspect is to place a parameter in the line of the form that points to the data element that you want to represent as barcode on the form, i.e. material number. Next you need to set the font for that parameter value to one of the supported barcode symbologies.
    The next part of the equation can be a bit tricky as you will need to get a printer to print that barcode font. Regular laser printers does not normally print barcode fonts, only specialized industrial printers that is specifically designed to support that protocol and that uses specialized label media and heat transfer (resin) ribbon to create the sharp image required for barcodes.
    Not to fear though, there are two ways to get around this:
    - You can have your IT department do some research -
    most laser printers can accept a font cartridge/dimm chip (similar to computer memory), called a BarDIMM that will allow a laser printer to support the printing of barcodes.
    - Secondly, you can buy software that you can upload in your SAP print Server that will convert the barcode symbology as an image that will print on a regular laser printer. I found that this option results in less sharper barcodes. This option is really if you need to convert a large quantity of printers (>10) to support barcodes.
    - Thirdly, you can buy a third party software like Barcode.dll and install on your frontend PC connected to the laser printer.
    To Create a Bar code prefix:
    1) Go to T-code - SPAD -> Full Administration -> Click on Device Type -> Double click the device for which you wish to create the print control -> Click on Print Control tab ->Click on change mode -> Click the plus sign to add a row or prefix say SBP99 (Prefix must start with SBP) -> save you changes , it will ask for request -> create request and save
    2) Now when you go to SE73 if you enter SBP00 for you device it will add the newly created Prefix
    Create a character format C1.Assign a barcode to the character format.Check the check box for the barcode.
    The place where you are using the field value use like this
    <C1> &itab-field& </C1>.
    You will get the field value in the form of barcode.
    Which barcode printer are you using ? Can you download this file and see.
    http://www.servopack.de/Files/HB/ZPLcommands.pdf.
    It will give an idea about barcode commands.
    Check this link:
    http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
    Check this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
    Detailed information about SAP Barcodes
    A barcode solution consists of the following:
    - a barcode printer
    - a barcode reader
    - a mobile data collection application/program
    A barcode label is a special symbology to represent human readable information such as a material number or batch number
    in machine readable format.
    There are different symbologies for different applications and different industries. Luckily, you need not worry to much about that as the logistics supply chain has mostly standardized on 3 of 9 and 128 barcode symbologies - which all barcode readers support and which SAP support natively in it's printing protocols.
    You can print barcodes from SAP by modifying an existing output form.
    Behind every output form is a print program that collects all the data and then pass it to the form. The form contains the layout as well as the font, line and paragraph formats. These forms are designed using SAPScript (a very easy but frustratingly simplistic form format language) or SmartForms that is more of a graphical form design tool.
    Barcodes are nothing more than a font definition and is part of the style sheet associated with a particular SAPScript form. The most important aspect is to place a parameter in the line of the form that points to the data element that you want to represent as barcode on the form, i.e. material number. Next you need to set the font for that parameter value to one of the supported barcode symbologies.
    To create barcode go to transaction se73 Then System Bar codes.
    There are some barcodes already present.
    If they solve your purpose,use them otherwise create new ones.
    The main characteristics of barcodes are
    1) Min. Char
    2)Max Char
    3)Width
    4)Height
    Now in your sapscript create a character format.
    There you can see an option to select barcode.
    From there select the appropriate type.
    Now use this character format for the field you want to display the barcode.
    U can also refer to
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
    Re: barcode for script
    regards,
    srinivas

  • How to print  the barcode in a smartform satisfying specific condition

    Hi
    I have a requirement where I need to print the barcode System Bar code = BC_93
    satisfying the following requirement:
    The Bar code is made up of the concatenation of “code1 ”, “dash character”
    and “ code2”. The two codes ( that is some field in a custom table) should be
    eight char long each (put leading zero if the length of the code is shorter).
    This barcode shall be printed always apart from:
    a) code1 material type is ZCPF
    b )Is a combi order, with no code2 stored in storage location “abc”
    please help with example . its very urgent , points will be rewarded.
    Thanks

    To Create a Bar code prefix:
    1) Go to T-code - SPAD -> Full Administration -> Click on Device Type -> Double click the device for which you wish to create the print control -> Click on Print Control tab ->Click on change mode -> Click the plus sign to add a row or prefix say SBP99 (Prefix must start with SBP) -> save you changes , it will ask for request -> create request and save
    2) Now when you go to SE73 if you enter SBP00 for you device it will add the newly created Prefix
    Create a character format C1.Assign a barcode to the character format.Check the check box for the barcode.
    The place where you are using the field value use like this
    <C1> &itab-field& </C1>.
    You will get the field value in the form of barcode.
    Which barcode printer are you using ? Can you download this file and see.
    http://www.servopack.de/Files/HB/ZPLcommands.pdf.
    It will give an idea about barcode commands.
    Check this link:
    http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
    Check this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
    Hope this link ll be useful..
    http://help.sap.com/saphelp_nw04/helpdata/en/66/1b45c136639542a83663072a74a21c/content.htm
    go through these links and cose u r previous threads,
    http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
    smartform - barcode
    http://www.erpgenie.com/abap/smartforms.htm
    http://sap.ittoolbox.com/groups/technical-functional/sap-basis/print-barcode-with-smartform-634396
    http://sap.ittoolbox.com/groups/technical-functional/sap-dev/printing-barcode-733550
    Detailed information about SAP Barcodes
    A barcode solution consists of the following:
    - a barcode printer
    - a barcode reader
    - a mobile data collection application/program
    A barcode label is a special symbology to represent human readable information such as a material number or batch number
    in machine readable format.
    There are different symbologies for different applications and different industries. Luckily, you need not worry to much about that as the logistics supply chain has mostly standardized on 3 of 9 and 128 barcode symbologies - which all barcode readers support and which SAP support natively in it's printing protocols.
    You can print barcodes from SAP by modifying an existing output form.
    Behind every output form is a print program that collects all the data and then pass it to the form. The form contains the layout as well as the font, line and paragraph formats. These forms are designed using SAPScript (a very easy but frustratingly simplistic form format language) or SmartForms that is more of a graphical form design tool.
    Barcodes are nothing more than a font definition and is part of the style sheet associated with a particular SAPScript form. The most important aspect is to place a parameter in the line of the form that points to the data element that you want to represent as barcode on the form, i.e. material number. Next you need to set the font for that parameter value to one of the supported barcode symbologies.
    Re: how to print barcode using smartform and sapscript...?

  • How to print a Barcode VERTICALLY in a SAP Script ?

    Dear Experts..
    I have to print a Barcode <b>vertically</b> in a SAP Script.
    Could you please help me regarding this.
    Thanks in advance.

    Hey SR,
    follow these steps :
    Bar code  in Smartform :
    General definition of Bar code:
    Bar codes are standardized characters of a symbol made up of a group of lines and spaces that can be recognized by an optical scanner. Bar codes uniquely identify article data, production numbers or transport units, for example. They can also contain additional information such as batch number, expiration date or weight.
    Example
    In the Logistics Execution System (LES), certain field entries can be represented by bar codes and printed on the transfer documents. This simplifies certain data entry processes such as order confirmation.
    Type of bar code:
    Bar codes are based on a binary principle and consist of a series of stripes/gaps of different widths. The sequence of the stripes or gaps results in an (alpha) numeric statement. Bar codes are read optically. Due to varying requirements, bar codes may differ with regard to the following aspects:
    •     printer tolerance
    •     decoding tolerance
    •     character width
    •     automatic check
    •     number of characters
    Steps to implement bar code in the smartform:
    •     Use the transaction code smartstyle. Give a suitable name .Choose create.
    •     In change mode of the Smart Style select the Character formats node and choose Create.
    •     In the Character format field enter a two-character character key.
    •     Select the desired attributes of the Bar Code on the tab Standard Settings.
    •     Choose Activate.
    •     Assign the character format to the field or character string in the smartform.
    •     Activate the smartform.
    •     Test the same.
    Regards,
    Kunal.

  • Barcoding -- Special Characters

    I am using Oralce 10g Reports Builder to build a report, that would barcode some special characters like TAB, CARRIAGE RETURN, LINE FEED(NEW LINE) etc. I am currently using the oraclebarcode.jar(java bean) method to develop such barcodes. But this ends up with an error!
    REP -1401 'formulacol' fatal PL/SQL error occured
    ORA-39565 Message 39565 not found Product=RDBMS; Facility=ORA
    My code that i use for this formula_col is
    function CF_1Formula return Char is
         myFileName varchar2(500);
         result varchar2(500);
         barcodeData VarChar2(50) := :chr_008;     
         begin
              if :chr_008 is not NULL then
         myFileName := srw.create_temporary_filename;
         barcodemaker.setBarWidthInch_8345(globals.bcobj, 0.005);
         barcodemaker.setBaseCodeData_6913(globals.bcobj,barcodeData);
         barcodemaker.setBarCodeType_6913(globals.bcobj,globals.barcode_to_use);
         barcodemaker.setFullPath_6913(globals.bcobj, myFileName);
         barcodemaker.renderBarCode_9797(globals.bcobj);
         return(myFileName);
              else
                   return(' ');
              end if;
    end;
    the same code produces barcode for any othe characters(normal characters, 0-9, A-Z, a-z), but spits the above error only if i try it for special characters.
    Any help to generate barcodes for such special non-printable characters would be greatly appreciated
    Srivatsan

    I can't find any .plist files in
    Home/Library/Preferences that refer to CharPalette,
    Surely you must have one called
    com.apple.CharPaletteServer.plist?
    also how can I find files which start with a period
    We're not talking about files that begin with a ., but rather files that end in .plist.

  • How to print Barcode in te SAP SCRIPTS?

    Hi All,
    Can anyone of you let me know how to print the Barcode in the SAP SCRIPT? This is the first time I'm working on the Barcode. I've to print many fields data into one barcode. Like PO number, Material Number, Plant, Company code..etc..
    Best Regards,
    Venkatesh Eddala.

    Hello Venkat,
    Creating Bar code:
    -->From trans code - SPAD -> Full Administration -> Click on Device Type -> Double click the device for which you wish to create the print control -> Click on Print Control tab ->Click on change mode -> Click the plus sign to add a row or prefix say SBP99 (Prefix must start with SBP) -> save you changes , it will ask for request -> create request and save
    --> when you go to SE73 if you enter SBP00 for you device it will add the newly created Prefix
    -->Create a character format C1.Assign a barcode to the character format.Check the check box for the barcode.
    -->The place where you are using the field value use like this
    <C1> &itab-field& </C1>.
    You will get the field value in the form of barcode.
    Which barcode printer are you using ? Can you download this file and see.
    http://www.servopack.de/Files/HB/ZPLcommands.pdf.
    It will give an idea about barcode commands.
    SAP Barcodes
    -->Barcode solution consists of the following:
    barcode printer
    barcode reader
    mobile data collection application/program
    A barcode label is a special symbology to represent human readable information such as a material number or batch number
    in machine readable format.
    There are different symbologies for different applications and different industries. Luckily, you need not worry to much about that as the logistics supply chain has mostly standardized on 3 of 9 and 128 barcode symbologies - which all barcode readers support and which SAP support natively in it's printing protocols.
    You can print barcodes from SAP by modifying an existing output form.
    Behind every output form is a print program that collects all the data and then pass it to the form. The form contains the layout as well as the font, line and paragraph formats. These forms are designed using SAPScript (a very easy but frustratingly simplistic form format language) or SmartForms that is more of a graphical form design tool.
    Barcodes are nothing more than a font definition and is part of the style sheet associated with a particular SAPScript form. The most important aspect is to place a parameter in the line of the form that points to the data element that you want to represent as barcode on the form, i.e. material number. Next you need to set the font for that parameter value to one of the supported barcode symbologies.
    for your reference check the below links:
    http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
    for smart, please check the below link:
    http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
    See the below program forbarcode in sapscript for your reference:
    DATA: BAR_CODE1(16) VALUE `ABC01230123A01'
    NEW-PAGE PRINT ON IMMEDIATELY `X'.
    FORMAT COLOR OFF INTENSIFIED OFF.
    If the barcode is the first element on the page, the following Write
    statement is needed (otherwise you get a date in the first print
    control.
    WRITE:/
    Turn on the barcode font, print the data, and switch back to the
    printer's default font. Be sure to use NO-GAP to avoid unwanted
    characters or CR/LF.
    PRINT-CONTROL FUNCTION `BCPFX'
    WRITE: BAR_CODE1 NO-GAP
    PRINT-CONTROL FUNCTION `BCSFX'
    Add a Write statement to prevent insertion of CR/LF into the barcode.
    WRITE:/
    Sample SAPSCRIPT
    Variable BAR_CODE1 contains the barcode data, including asterisks.
    The & is needed to avoid unwanted spaces or CR/LF characters
    /E LINE
    /: PRINT-CONTROL BCPFX
    = &BAR_CODE1&
    /: PRINT-CONTROL BCSFX
    Venkat - Please reward points for previous therad if you feel good answer ...
    Thanks
    Seshu

Maybe you are looking for

  • Data sync

    Hi Experts, I want to use java methods below! 1) to fetch data from a SQL datasource internally and 2) using the selected result to do an update sforce API. i have currently generated something like this! package api.sforce.com; import java.sql.Conne

  • Starting and Stopping an FMS Instance?

    Hi there, I'm sorry if this issue has already been answered somewhere else, but my Google skills are up to par and I was unable to find a documented resolution to this problem within the last few days.  Opening a new topic was my last resort. I am de

  • Date and time Arithmetic

    Hi am facing a problem in date tim e arithmetic i have date field like '01/01/1900 8:00:00 AM' . i want to add this date filed with 30 minutes to this time field. means '01/01/1900 8:00:00 AM' + 30 min = '01/01/1900 8:30:00 AM' what are the possible

  • Double click on the text to call the other values

    Hi Alll, The list of entries are displaying on Adobe form, User want to select one of the key value name displayed on Adobe form. When he clicks he need to get the details of that value in a window. Just like the Interactive report. Ex as below : tab

  • Screen Saver Preference Crashes

    When I try to open the Desktop & Screensaver prefs in the System Prefs the preference window crashes. It opens for about 2 seconds and then closes the whole System Preferences window. Any suggestions? I only have two ScreenSaver files in the actual S