How to shift cursor from one field to another on selection screen

Hi,
On the selection screen, I have many fields, like material code, plant, valuation type etc.
Materoal Code,
Serial Number
Plant
Valuation type,  and many other fields
those fields are on selection screen my requirement is when user enter the material code in Material code field and when he press the enter the cursor should come in the second filed Plant and so on, how to do this i dont want to use keyboard keys lik TAB, Arrow key, because I am entering the data on selection screen., with a scanner device and on that device there is one command which act as ENTER key of the keyboard. after after entring the data in first field when the scanner gives the enter command i am doing som e validation for the given field value then want to shift the curson position to next field..
regards,
zafar

Hi,
after entring the data in first field when the scanner gives the enter command i am doing som e validation for the given field value then want to shift the curson position to next field
After doing the validation, write the code - SET CURSOR FIELD 'SELECTION_SCREEN_FIELD_NAME'.
Eg - SET CURSOR FIELD 'P_SERNR'.
Thanks

Similar Messages

  • How to move cursor from one textfield to another textfield byusing enterkey

    hii all,
    I have a problem in java script.
    To move cursor from one textbox to another text box ,I have take the length of the textboxes of the first column.I used onkeyDown event .
    in the function ,firest i checked the condition like
    for(i=0;i<form1.box.length;i++) //box is the name of the textboxes
    if(event.keyCode==13)
    form1.box[i+1].focus();
    return false;
    by using this the cursor is moving from first text box to secon textbox and stops.
    if i use event.returnValue=false; instead of return false ,then the cursor automatically going to the laxt textbox of the column.
    my problem is how i can focus the cursor from one textbox to another textbox one after the other till the end.
    if any one has solution please help me.
    also if we can do in another way also,please help me.
    thanx.>

    try the following code :
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
    <HEAD>
    <TITLE> New Document </TITLE>
    <META NAME="Generator" CONTENT="EditPlus">
    <META NAME="Author" CONTENT="">
    <META NAME="Keywords" CONTENT="">
    <META NAME="Description" CONTENT="">
    </HEAD>
    <SCRIPT language="Javascript">
    function fnTest(str)     {     
              if(event.keyCode==13)          {
                   if(str == 4)     {
                        formHeader.box[0].focus();
                   else     {
                        formHeader.box[parseInt(str)+1].focus();
                   return false;
    </SCRIPT>
    <BODY>
    <FORM name="formHeader">
    <CENTER>
    <INPUT TYPE="TEXT" name="box" value="" onKeyDown="javascript:fnTest('0');">
    <br>
    <INPUT TYPE="TEXT" name="box" value="" onKeyDown="javascript:fnTest('1');">
    <br>
    <INPUT TYPE="TEXT" name="box" value="" onKeyDown="javascript:fnTest('2');">
    <br>
    <INPUT TYPE="TEXT" name="box" value="" onKeyDown="javascript:fnTest('3');">
    <br>
    <INPUT TYPE="TEXT" name="box" value="" onKeyDown="javascript:fnTest('4');">
    </CENTER>
    </FORM>
    </BODY>
    </HTML>
    ----------------------------------------------

  • How to copy value from one field to another in a Apex Form

    Hello guys,
    There are 2 addresses one is shipping and other is billing. I do not want the customer to re-enter all the details if it is the same address. So based upon an action, it should take the live values from one address field and populate the other address field. I know in JS you can do it, but how to implement that in Apex?
    I guess using Dynamic Actions to achieve this in Version 4 but do not know how. Read quite some info but no luck.
    Thanks in advance!

    Hi,
    I have assumed that you have your shipping address at the top of the page, and then further down the page you have your billing address that you want to enable the users to copy (if this is in reverese, you will need to switch the js variables in the code following).
    I would create a Select List item above the 'Billing Address' details, called PX_SAME_ADDRESSThis select list would be static, with the options Null.
    I also assume you would have pairs of address page items such as:
    PX_SHIPPING_ADDRESS_L1
    PX_BILLING_ADDRESS_L1
    PX_SHIPPING_ADDRESS_L2
    PX_BILLING_ADDRESS_L2
    PX_SHIPPING_POST_CODE
    PX_BILLING_POST_CODEThen copy the following code into the HTML Header of the page definition:
    <script language="JavaScript" type="text/javascript">
    function copyAddress()
       if( $x('PX_SAME_ADDRESS').value == 'YES')
         $x('PX_BILLING_ADDRESS_L1').value = $x('PX_SHIPPING_ADDRESS_L1').value;
         $x('PX_BILLING_ADDRESS_L2').value = $x('PX_SHIPPING_ADDRESS_L2').value;
         $x('PX_BILLING_POST_CODE').value = $x('PX_SHIPPING_POST_CODE').value;
       else //Clear Address Fields
         $x('PX_BILLING_ADDRESS_L1').value = " ";
         $x('PX_BILLING_ADDRESS_L2').value = " ";
         $x('PX_BILLING_POST_CODE').value = " ";
    </script>Then, in your PX_SAME_ADDRESS item, copy the code below into the Element > HTML Form Element Attributes field.
    onChange="copyAddress();"Hopefully this works for you too, and should give you some basis to play around with.
    Amanda.

  • About photoshop organizer: how can I shift pictures from one catalogue to another one?

    how can I shift pictures from one catalogue to another one?

    Sync to computer then from there to other device.  Photo stream can be used to sync between devices, but that has to be set up BEFORE the photos are taken.
    Read this...  import photos to your computer...
    http://support.apple.com/kb/HT4083

  • Need help for focusing the cursor from one textbox to another textbox

    hii all,
    I have a problem in java script.
    Note:The textboxes are generated dynamically.it is not having fixed length.(the number of textboxes generated may be 3,2,4....etc.it is not fixed.
    To move cursor from one textbox to another text box ,I have taken the length of the textboxes of the first column.I used onkeyDown event .
    in the function ,first i checked the condition like
    for(i=0;i<form1.box.length;i++) //box is the name of the textboxes
    if(event.keyCode==13)
    form1.box[i+1].focus();
    return false;
    by using this the cursor is moving from first text box to second textbox and stops.
    if i use event.returnValue=false; instead of return false ,then the cursor automatically going to the laxt textbox of the column.
    my problem is how i can focus the cursor from one textbox to another textbox one after the other till the end.
    if any one has solution please help me.
    also if we can do in another way also,please help me.
    thanx.>

    thanx .u helped me so much.
    i have to check another condition. see the code below
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
    <HEAD>
    <TITLE> New Document </TITLE>
    <META NAME="Generator" CONTENT="EditPlus">
    <META NAME="Author" CONTENT="">
    <META NAME="Keywords" CONTENT="">
    <META NAME="Description" CONTENT="">
    </HEAD>
    <SCRIPT language="Javascript">
    function fnTest(str) {
    if(event.keyCode==13) {
    if(str == 4) {
    formHeader.box[0].focus();
    else {
    formHeader.box[parseInt(str)+1].focus();
    return false;
    </SCRIPT>
    <BODY>
    <FORM name="formHeader">
    <CENTER>
    <INPUT TYPE="TEXT" name="box" value="" onKeyDown="javascript:fnTest('0');">
    <br>
    <INPUT TYPE="TEXT" name="box" value="" onKeyDown="javascript:fnTest('1');">
    <br>
    <INPUT TYPE="TEXT" name="box" value="0" disabled="false" onKeyDown="javascript:fnTest('2');">
    <br>
    <INPUT TYPE="TEXT" name="box" value="" onKeyDown="javascript:fnTest('3');">
    <br>
    <INPUT TYPE="TEXT" name="box" value="" onKeyDown="javascript:fnTest('4');">
    </CENTER>
    </FORM>
    </BODY>
    </HTML>
    suppose if some of the fields are disabled,then the focus must skip to the next one.i have written disabled for box2.if the cursor focuses in box1,then the cursor should move to box3 escaping box2.
    if u know plz tell me.

  • How to move iTunes from one user to another on the same Windows 7  computer

    How to move iTunes from one user to another on the same Windows 7 computer? Thanks, Bob

    Move the iTunes library to a shared area and then into the desired location. If this isn’t the default one, launch iTunes with the Shift key held down and choose that library.
    (122379)

  • How to transfer pictures from one itunes to another?

    I have most of my iPod stuff on my laptop, but my pictures are on my mac. I just got a new iPod, and I did what I normally do to get my pictures onto it- go into itunes, go into my pictures, and apply it. This time, however, not all of the pictures got transferred. I think it would be easier to have all my pictures on my laptop, but I do not know how to transfer them from one computer to another. How can I do this?

    If they are synced photos just copy the folders with the photos to the new computer. Synced photos are not associated with iTunes or the iTunes library.

  • How to transfer Signatures from one Mac to another

    In Mail, if I go to Preferences > Signatures, I see in the left column *All Signatures*, and signatures for various accounts.
    How would I transfer the signatures in *All Signatures* from one Mac to another?
    The names of files in the folder ~/Library/Mail/Signatures are all cryptic.
    Moreover, since each signature is tied to a certain account, I don't think that I can just copy these files into the Signature folder of the 2nd Mac.

    Simply moving these cryptic files did not work, in the sense that these signatures did not show up in the right-most column of the Signatures pane.
    I made sure that I did not move the SignaturesByAccount.plist file in the ~/Library/Mail/Signatures folder.
    So, would someone please share with me how to transfer signatures from one Mac to another, with both running Mail?

  • How to transfer photos from one rhyme to another?

    how to transfer photos from one rhyme to another?

    Can you connect the phone to the computer as a disk drive using the usb cable supplied with the phone? Copy the files from the first phone. Disconnect it properly. Connect the second phone in the same manner. This time copy the files from the computer to the phone in the same place where you found them on the other phone.

  • How  to transfer data from one system to another by datamart please give de

    how  to transfer data from one system to another by datamart please give details

    Hi Deba,
    Find the below SAP help doc which may help u...
    http://help.sap.com/saphelp_nw70/helpdata/en/12/43074208ae2a38e10000000a1550b0/frameset.htm
    Also find the below threads...
    Loading data from one cube to another cube.
    data copy from infocube to infocube in two different BW systems
    Delta when loading from ODS to ODS
    reg datamart
    Data mart flag
    Regards,
    KK.

  • How to transfer bookmarks from one computer to another?

    how to transfer bookmarks from one computer to another?

    Export your bookmarks (file menu in Safari, from the Show All Bookmarks option in Firefox) and save to your HD. Copy the saved .html file to the other Mac over the network, or by copying the file to a USB stick and copying to the other Mac, or emailing them to the other Mac. On the other Mac import the Bookmarks file into your browser of choice,

  • How to transfer photos from one make to another

    How to transfer photos from one mac to another wirelessly

    I can give you a few ways to so:
    First (and my favorite way) is the one said above.  First, on the computer with the photos on it, you have to do is turn on file sharing (go to system preferences, sharing, file sharing) and have both computers on the same network.  Second, have the computers you want the photos on, and launch finder.  On the sidebar, there should be a "sharing" category, and below it should be the computer with the photos on it.  Click on it, and you will be prompted for the computer username and password.  It will then show all of the files on your computer.  Then, just find the files, copy them (command-C) and paste them to where you want them! (If this confuses you, I can upload a video step-by-step on how to do this).
    My second way is to use air drop. To start, Both computers must be on the same network.  Then, on the computer with the photos on it select all of the photos you want to send to the other computer (you can select many photos by holding the command key and clicking on photos), right-click (control-click) on the selected photos, find the button share, and click air drop.  On the computer you want the photos on, go to air drop on the side bar.  You should see the name of the computer on the radar-looking screen.  Click your computer.  The photos should begin to download to the downloads folder. (This feature is only compatible with certain computers)

  • How to transfer photos from one computer to another

    How to transfer photos from one computer to another fast from iMac to MacBook both on lion
    help. Tried airdrop to slow

    Hi roseabe
    Please give us more details. What kind of computer (model, speed) are you trying to transfer from and to?
    Besides, you don't hold down cmd/apple+"T" on the target computer - just the "T" key.
    Matt

  • How to transfer songs from one iPad to another iPad using iTunes?

    How to transfer songs from one iPad to another iPad using iTunes?

    You can't without a third party app. If you didn't purchase the Music with your Apple ID or if the music was imported from CD's on your friends iTunes library, syncing will not work ....nor will transferring purchases.
    Look at this app .... TouchCopy
    http://www.wideanglesoftware.com/touchcopy/index.php

  • How do I move from one website to another using Safari, while still allowing Pandora to provide music in the background? It seems that when ever I open a new URL, I lose Pandora.

    How do I move from one website to another using Safari, while still allowing Pandora to provide music in the background? It seems that when ever I open a new URL, I lose Pandora.

    Try running Pandora in its own tab and leaving that tab open (Safari 7.1.5, OS 10.9.5).  I don't have Pandora to try this, but it works for me otherwise.
    Good luck
    srb

Maybe you are looking for

  • Question about VPN on RV082

    Question about VPN on RV082 i connect like diagram when i use shrewsoft for vpn ipsec i can not connect across rv082 to next hop on wan 1 but when i use PPTP on windows 7 for vpn PPTP i can connect across rv082 but high latency on this connection ple

  • BO 4.0 CRJob server not picking correct numbr of CPU

    Hello All, I have installed BO 4.0 SP02 patch 11. I have seperated the CR Scheduling service as a seperate job server form AJS. My CR jobs are running fine however, I have 8 CPU on that machine but in matrics page of Job server, it is showing only 4

  • Orange light constantly blinking; computer no longer recognizes shuffle

    I just purchased an IPod Shuffle, connected it to my MAC, downloaded podcasts and was waiting for it to fully charge. It charged, but I left the Shuffle in the docking station. Now, it has been blinking orange for 24 hours and the device no longer ap

  • IMPORT QUICKTIME 7.01 FILES INTO AVID EXPRESS??

    Can anybody help me with importing FCP files (quicktime 7) into Avid Express?

  • Error Message in Livecycle

    Hello. We have a problem and we dont understand how to correct it. It was working fine and now we are getting an error message that we dont understand. We have attached the error message and any help is appreciated. The calculation works when you hit