Use of bar code value in apex

Hi experts,
I am building an employee attendance system in apex.
When an employee enters or leave the office, the bar code reader captures the value (i.e employee id) based on the bar code sticker on employee i-card. So after getting the employee id, I want that value in first item on apex form.
Based on this value a function/procedure should be called which stores employee details (e.g. name, date, time etc) into the table without any manual interaction. Also the value of item should be null/clear after entry in table.
I tried it using windows hooks, but it is not working properly. (e.g. It doesn't fetch the value when computer is locked.)
Is it possible to fetch the value ( employee id) directly into the form item and at the same time insert the values in the database based on the employee id...???
This is just an general overview of how it want to be work. Please provide your valuable suggestions for any other way to implement the same.
Thanks in advance
Chetan

I assume you are just using a generic bar code reader that effectivly acts like a keyboard typing the relevant bar code value?
I really don't think APEX is the right environment to be doing this sort of thing in.
Unless I've misunderstood the hardware you are using though I really think you are going to struggle getting enything to happen when the machine is locked...

Similar Messages

  • How to use PDF417 Bar Code in Oracle Reports 6i

    How to Use PDF417 Bar Code in Oracle 6i. One of my clients has a requirement that Customer Name and Address to be converted into PDF417.
    Any help greatly appreciated.
    Thanks,
    PN

    You will need to add this font to the system and Reports configuration files.
    For adding font to the system, refer to your system specific guidelines for installing new fonts.
    After you have installed this font on the system, you should be able to see the font in Reports builder font picker dropdown box. or with unix 'xlsfonts' command
    For adding this font to the Reports application.
    1. Modify the printer definition file ( you can get this info from uiprint.txt file for the .ppd or .hpd file used )
    if the printer defination file is .ppd then look for "*Font Information" section and add the new font name there
    like *Font <new_font_name> Standard '(00.1001)" Standard ROM
    If hpd add the new font tfm file as
    FONT= new_font_name
    /tfm=new_font_tfm file.tfm
    2. Copy the AFM or TFM ( these are fonts metrics files, which font vendor will provide ) into the relevant directory so the the Reports application should pick them up.
    3. If necessary, make changes in the alias file (uifont.ali ) for mapping to this font. If the layout objects in your report are associated with the same font name as the new font then mapping is not required. But if the fonts for the layout objects are different then you need to map the original fonts to the new ones. Make sure that the mapping rules should be defined in the right section depending on the printer type being used.

  • The bar code value should be displayed in the popup window again

    hi ,
    I am using function module 'POPUP_GET_VALUES' inorder to enter a barcode value in MIRO transaction.
    When I stimulate(Stimulate button ) the MIRO , a popup comes and I enter the bar code and click enter, the popup disappears. Then when I click the Stimulate button once again ,the popup comes and NOW THE ENTERED BARCODE(entered barcode previously) SHOULD BE DISPLAYED.
    how can this be done?????????????
    Kindly help me soooooo
    Points will be rewarded

    In the table parameter you can pass the value for the table FIELDS.
    Tabname
    Field
    Value --> initialise your previous value in the particular field.
    It would display the same when the message pops up.

  • Use of Bar Codes in reports and fonts

    Hi,
    I've copied Word fonts for the bar codes in the folder "Windows font "on mi pc. Then I opened a DESKI report and I used the same font in the report. I must repeat the same operation on all pc's in the company and on the Application Server where is located the CMC?
    Thanks in advance and best regards,
    Andrea Cozzani

    Hi Edmar
    I think the solution is for every user who is seeing the Reports PDF output in the browser, to have the relevent font in Acrobat. We have introduced Single Byte Type 1 Font Embedding and True Type font subsetting features in Reports 9i and if the resultant pdf output has any of these font types, you can use these features. In this case, user does not need to have the Font installed.
    Also In Reports 9i, you can create a bar code font report using Barcode bean. Please have a look at
    http://otn.oracle.com/products/reports/htdocs/getstart/examples/index.html
    for more detail.
    Thanks
    The Oracle Reports Team

  • Printing tab in Bar Code using SAPScript

    Hi,
    We are trying to print information from multiple fields in Bar code (using Code128 symbology) on our Utility Invoices, printing of which is done using SAPScript.
    Our objective is that when accepting payment using FPCJ transaction, the Cash Desk Operator will use a Bar Code Scanner and import relevant invoice data into multiple fields.
    However, for that to happen, it is necesary to print tab feeds between data of contiguous fields using Bar code.
    We have tried printing tab feeds in Bar Code using hexadecimal '09'. But it has not helped. Can anybody suggest how one can print tab feeds in Bar Code using SAPScript?
    Thanks in advance,
    Arijit Mitra

    Hi
    See the doc related to BARCODE printing and do accordingly
    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.
    Reward points if useful
    Regards
    Anji

  • How we can use Bar codes in Sap-script?

    Hi,.
    Can any body please tell me how  we can use <b>Bar codes in Sap-script</b>?
    Please tell me the steps .
    Regards,
    Prabhudutta

    Hi,
    Check this link
    http://help.sap.com/saphelp_nw04/helpdata/en/de/ee0769ebd211d18e370000e83dd9fc/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94fc51ea11d189570000e829fbbd/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/68/4a0d5b74110d44b1b88d9b6aa1315b/content.htm
    Regards,
    Sonika

  • Bar code using Oracle+linux?

    Hi,
    I has been asked to implement a bar code for my company using
    linux&oracle..the idea is that by using a bar code scanner , we
    can keep the count of our product+ information into the oracle
    database.
    I really quite new on this topic and i have not too much idea
    about it.
    I would appreciate any informartion or tips..
    thanks a lot..it is quite urgent!!
    Victor Alamo
    DB Admin
    null

    Jose Teixeira Junior (guest) wrote:
    : Victor,
    : The Bar code is just a piece of information printed on paper.
    : You can print/read numbers and/or text , depending on the type
    : of barcode you need (I25, Cod39, UPC, EAN, cod128, PDF417), and
    : i think you should store it as a char field in the database.
    : You would read the barcode as if you were typing that
    : char field. So you can enter the codes of products by
    : reading the barcode or typing it by hand.
    : If you need to print barcodes, you should better write a
    : C funtion yourself, or use some soft fonts.
    : Best regards
    : Teixeira.
    : Victor Alamo (guest) wrote:
    : : Hi,
    : : I has been asked to implement a bar code for my company
    using
    : : linux&oracle..the idea is that by using a bar code scanner ,
    : we
    : : can keep the count of our product+ information into the
    oracle
    : : database.
    : : I really quite new on this topic and i have not too much
    idea
    : : about it.
    : : I would appreciate any informartion or tips..
    : : thanks a lot..it is quite urgent!!
    : : Victor Alamo
    : : DB Admin
    thanks for your reply..
    but i just found out if i am not wrong that oracle database does
    not know from where it is coming from.. I mean..from keyboard or
    bar code reader.
    thanks again
    Victor Alamo
    null

  • Article master - bar codes

    Hi All,
    i want to delete bar code value for Generic  and  variant articles.
    I Have to delete more 2000 article , i can delete bar code in mm42 manually . but it is takeing so much time.
    but we can't use BDC or lsmw . variant article bar code values got wrong bar code and right bar code ,
    we have to delete wrong bar code and click right bar code and we have to save it in mm42.
    can any body please let me know , how to delete bar codes.
    Thanks,
    venu.

    Venu,
    I think you can write a simple program using bapi BAPI_MATERIAL_MAINTAINDATA_RT, here you can pass article info with dummy EANs in table parameter INTERNATIONALARTNOS.
    -Chenna.

  • 3D Bar code printing

    Hi,
    I was asked to print sample documents using 3D Bar code. Does anyone have any idea on this? Any hints would be really helpful.
    Thank you,
    Chandra

    Hi
    Do u want it in scripts or smartforms???
    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.
    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.
    Now you have a barcode printed - what next?
    Well there are two options, depending on your business requirements:
    - You can use an existing SAP transaction on a regular workstation and get a barcode wedge reader to hook up between the keyboard and the PC. These wedge readers comes in a wand or scanner format. There are even wireless wedge scanners available that allows you to roam a few yards from the workstation to scan a label. This approach is mostly used where you want to prevent human errors in typing in long material, batch or serial numbers in receiving or issuing of material. The problem is that it's just replacing the keyboard input and you are basically locked down in one location and have to bring all the material to that location to process.
    - Another solution is to use SAPConsole transactions
    or write your own ABAP Dialog programs that will fit onto a barcode enabled wireless handheld terminal and that will follow the business logic as executed on the shop floor. 
    These programs are highly complex exercises in industrial engineering and ergonomics because of the limited screen sizes and limited ability to accept keyboard input. The user is instructed step-by-step and only scan and push F-keys to interact with the SAP system. Scan, scan, beep, beep, enter - highly automated.
    Only Se71 is used to create a barcode
    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
    Check this link
    http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
    http://www.erpgenie.com/products/synappcode.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/68/4a0d5b74110d44b1b88d9b6aa1315b/content.htm
    New barcode printing for smartforms
    http://help.sap.com/saphelp_nw04/helpdata/en/66/1b45c136639542a83663072a74a21c/content.htm
    http://www.zebra.com/cpgn/pdfs/SAP_universal.pdf
    Reward all helpfull answers
    Regards
    Pavan

  • Bar code question

    I haven't done anything with bar codes but I know one can do bar codes in Designer. I also know that in order to use dynamic bar codes I have to pay more money in order to use them. But I can add bar codes that are not dynamic that someone would be able to scan with out having to lay out any additional cost?
    We use bar codes on many of our items that are generated by a bar code software which are then made into eps files and brought into QuarkXPress documents then printed. Now I hear that all forms we do are going to need a bar code.

    You can certainly use most barcodes in Designer without having to pay extra. All the barcodes are located in the Barcodes tab in the Library palette.
    I believe the extra costs come into effect when you start using our Paper Forms Barcode technology which lets you encode field values into a 2D barcode on a form which will be filled-in electronically, then printed, signed (manually with a pen) and mailed/faxed back to your company. I believe you would then need our software to decrypt the encoded field values.
    Other than that, you can put barcode objects on the form and set their properties using the Object palette. In particular, you can set their values at design-time (using the Object palette) as well as at runtime (using script) so if you know the value of the barcode that your form requires, it's simple.
    Stefan
    Adobe Systems

  • Bar Codes(Help Please)

    Hi,
    I want my application to read bar codes of items and to store them to my database.Please, can you tell me if it is possible with Forms6 or Forms6; if so, please explain me the procedure even I want to insert records or I want to make updates(for example the quantity of an item with its bar code).
    Thank you to answer me.Regards.

    You mean store the image of the bar code ? Why do you want to do that ? A bar code is just the graphical representation of a number. Use a bar code scanner to translate the bar code to a number and store that. It will be much better. At least then you will be able to search for your product by that number and update the record with the qty as and when you wish.

  • E71 Bar code scanner versus camera quality

    So I just updated my E71 from an older firmware to the latest: 501.21.001 and it's a RM-357 (E71-2; 270.07).  I've been playing around with it to see the changes and I noticed that when using the bar code scanner, the quality of the picture is incredibly strong!  I don't remember it being that good. 
    Now, when I load the camera, it's the same quality as previous firmware versions, fairly poor.  "Close-up mode" is very blurry with anything closer than a few inches or 20+cm.  This is very different from the bar code scanner.
    Why is this so different and how to fix it?  Can anyone else verify this as well?

    I use Scandit for barcodes and it works great on my fascinate.  I have no problems.

  • Activate Bar Code Entry in GR and IV

    HI guru
    In IMG I have activated storing with bar codes to GR and IV by business object type.
    When an application document is saved during normal operation, the system checks whether bar code entry is activated for the business object type and a dialog box is displayed for the user to enter the bar code value (bar code manually).
    This is OK.
    But now I want to assign internal Bar code.  (so no dialog box and barcode manually) but automatic generation of Bar code.
    Is it possible???

    Hi,
    Please put this question in Technical ABAP Forum , you may get some answers there
    Thanks
    Diwakar

  • 10.1 Bar Code 3 of 9 Font Problem

    We have several forms that use the bar code font 3 of 9. Since the 10.1 release the bar code has stopped rendering correctly. At the moment we are rolling back to 10.0.1 and that appears to resolve the issue however, it is a band-aid and I would like a real fix. Any advice is appreciated.

    Looks like SKANDATA C39 Normal font.  This form has two bar codes on the
    bottom.  One is static and that one works fine the other populates based
    data entered into a form field and that is the one that breaks.  It looks
    more like multiple box's rather than a bar code after it populates.
    From:   George Johnson <[email protected]>
    To:     Aaron Clevenger <[email protected]>
    Date:   07/07/2011 12:02 PM
    Subject:        10.1 Bar Code 3 of 9 Font Problem
    Which bar code font are you using, exactly? Have you tried a font from a
    different vendor/creator to see if a different font works?
    Some of the free bar code fonts are not the highest quality. Since they
    are so simple and easy to make, quality can suffer if the creator is not
    aware all the issues.

  • Bar Code in Assets

    Hi experts,
    Has anyone used the bar code functionality in Fixed Assets?
    I don't have any documentation on it but it would be very helpful in order to print labels for our assets.
    Any help would be appreciated.
    Thanks a lot,
    Drazen

    Hi,
    Please refer to SAP note Note 172251 - Physical inventory and inventory systems, extract of which is below:-
    I have got in touch with the vendor as well who support this process and i can forward you the extract tomorrow.
    Summary
    Symptom
    How can executing a physical stock entry be supported by the R/3 system within a physical inventory for assets?
    Additional key words
    Cause and prerequisites
    Solution
    In Release 4.5A, standardized interfaces (BAPIs) are available which permit a connection of a corresponding non-SAP software to the R/3 system. You can use these BAPIs for example if the physical inventory for assets should be executed with the help of an external system. The BAPIs allow the transfer of the current asset portfolio of the R/3 System to the non-SAP software and permit processing of information collected in the external system in Asset Accounting of the R/3 System.
    The following BAPIs may be of interest to you in the context of a physical inventory for assets:
    BAPI_FIXEDASSET_GETLIST
    (Information on selected assets)
    BAPI_FIXEDASSET_CHANGE
    (Asset master records can be changed with this method)
    BAPI_ASSET_RETIREMENT_POST
    (An asset retirement is posted within Asset Accounting with the help of the method "Post", and the update in Financial Accounting is triggered by the document resulting from this transaction.)
    BAPI_ASSET_ACQUISITION_POST
    (An acquisition is posted within Asset Accounting with the help of the method "Post", and the update in Financial Accounting is triggered by the document resulting from this transaction.)
    BAPI_ASSET_POSTCAP_POST
    (A post capitalization is posted within Asset Accounting with the help of the method "Post", and the update in Financial Accounting is triggered by the document resulting from this transaction.)
    The procedure of an integrated inventory scenario could be as follows:
    1. First the external system receives an overview of the assets available in the R/3 system (BAPI_FIXEDASSET_GETLIST).
    The physical inventory is then executed in the external system.
    2. If the asset found is identical with how it is stored in the R/3 system, you can use the BAPI BAPI_FIXEDASSET_CHANGE to update the date of physical inventory in the asset master record.
    3. If the asset found differs from how it is stored in the R/3 system, you can use the BAPI BAPI_FIXEDASSET_CHANGE to make the change in the asset master record.
    4. If the asset is no longer found during physical inventory, you can post the retirement with the BAPI BAPI_ASSET_RETIREMENT_POST.
    5. If assets are found during physical inventory which are not stored in the R/3 system, you can create the asset master record with the BAPI BAPI_FIXEDASSET_CREATE1 and post the asset acquisition with the BAPI BAPI_ASSET_ACQUISITION_POST.
    Report RABARC01 offers you the option to print bar codes which can be used to identify the asset during the physical inventory for assets with the help of an external system.
    Suppliers of asset inventory software:
    Freudenberg Informatik KG
    Mobile Systeme
    Hoehnerweg 2-4
    D-69465 Weinheim
    Germany
    http://www.freudenberg-it.de
    mailto:[email protected]
    detzner systemtechnik gmbh
    Dornbluthstrasse 31
    01277 Dresden
    Tel.: 0351-3170616
    Fax: 0351-3170615
    e-mail: [email protected]
    homepage:http:// www.detzner.de
    Source code corrections
    Header Data
    Release Status: Released for Customer
    Released on: 11.09.2001  22:00:00
    Priority: Recommendations/additional info
    Category: Consulting
    Primary Component: FI-AA Asset Accounting
    Releases
    Software
    Component Release From
    Release To
    Release And
    subsequent
    SAP_APPL 45 45A 45B  
    SAP_APPL 46 46A 46B  
    SAP_APPL 46C 46C 46C  
    SAP_APPL 470 470 470  
    Rgds.

Maybe you are looking for

  • Importing video files into final cut express

    I am a pro tools engineer and have just dove into final cut express 4.0 to do some simple video editing.I have a cannon camera with a sd card.I archived the video to a hard drive so I could free up the card.I can not find a single piece of evidence t

  • Arch mirror to new drive [solved]

    Hi guys, a newbie question here. I wish move my current arch installation to a brand new drive using Clonezilla but the operation wasn't 100% successful. The mirroring operation from the old drive to the new one didn't give me any problems but I cann

  • Will creating playlists put songs on iPod twice?

    Will it use up more of my 4 GB?

  • Here is an odd one

    my brother-in-law in maine just got verizon DSL (after suffering with dial-up for a long time). connects to the internet fine. mail works fine. firefox works just fine. but safari will not connect. if he tries www.apple.com he gets apple.com server n

  • Shows my log in location as Richardson, Tx I am in New Caney, Tx

    On my home page the weather will be for Richardson Tex and it will show my current location as Richardson Tex. I am in the Houston area.