Position Cursor on Field

Hi All,
I have a requirement to check if the field Delivery Note has a value when doing goods receipt via MIGO or MIGO_GR. If this field has a value, the system should issue an error message and the cursoe should be positioned in that field so that the users will know that they need to fill it in. My question is how will I make the cursor go to that field given that this is not a required field in MIGO?
Thanks,
Jim

hi,
use set cursor field for that particular field in the program.
regards,
keerthi

Similar Messages

  • How to Set Position Cursor Option to Non key fields in Table Maintenance .

    Hi,
    I have created a Ztable and i am using table maintenance for that table. In TMG ,by default  we have position cursor option to key fields only . User wants that position cursor option for non key fields also. Please help me out of this issue .
    How to provide Position Cursor option to Non key fields.
    Thanks & Regards,
    Prasad.

    Hi Nabheet,
    I tried using TYPE S DISPLAY LIKE E and am setting vim_abort_saving as X and sy-subrc as 4. However, this is also not enabling the fields. In this case, the first 2 fields - key fields are getting enabled but not the required ones. The above snapshot is for the same.
    lv_date1 = table1-date1.
       lv_date2 = table1-date2.
       lv_diff = lv_date2 - lv_date1.
       IF lv_diff LT 0.
         CLEAR: lv_err_msg.
         lv_err_msg = text-005.
         MESSAGE lv_err_msg TYPE 'S' DISPLAY LIKE  lc_e.
         vim_abort_saving = lc_x.
         sy-subrc = 4.

  • Position to first field in a form WITHOUT JAVASCRIPT

    DOes anyone know how to position to a field in a form without using javascript OR is there code that can be used in JSP to tell whether the browser is javascript enabled and within that block, use javascript to position to the field.

    Unfortunately, the only way I know how to do it is using JavaScript and the onLoad event. You can determine if a browser is JavaScript compatible simpley by looking in the request header for the type and version of the browser, and you know which browsers support javascript. But you'll need to use javascript to figure out if they actually have javascript turned on.
    -Derek

  • Position of a field on the layout

    Using Oracle 10 g, what code should I write in a trigger to make the position of a field on the layout dynamic (set location on the layout)

    At this time it is not possible to move the Description field in the page layout and you can not change the size of this field. I would recommend that you submit a enhancement request to CRM On Demand customer care.

  • Move cursor through fields in screen with ENTER like TAB

    Hello experts !
    I want to move the cursor between fields in a custom screen just like kay TAB do.
    I have used command:
    MOVE CURSOR TO FIELD mara-spart... but it doesnt work, Cursor remains in th first field..,
    any help?
    Thank you and regards,
    Ibrahim Andres

    For example, here is the exact code which is working in my system and has been for quite a while. 
    The screen flow logic.
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_1500.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_1500.
    The code for module status_1500.
    *      Module  STATUS_1500  OUTPUT
    module status_1500 output.
      set pf-status 'STDCONSOLE'.
      set titlebar '1500_07'.
    <b>  set cursor field cursorfield.</b>
    endmodule.
    The PAI module  USER_COMMAND_1500
    *      Module  USER_COMMAND_1500  INPUT
    module user_command_1500 input.
      case sy-ucomm.
        when 'ENTER'.
    <b>* Scroll thru fields when user hits enter
          get cursor field cursorfield.
          case cursorfield.
            when 'P_TICNO'.
              cursorfield = 'P_PERNR'.
            when 'P_PERNR'.
              cursorfield = 'P_WERKS'.
            when 'P_WERKS'.
              cursorfield = 'P_LGORT'.
            when 'P_LGORT'.
              cursorfield = 'P_AREAC'.
            when 'P_AREAC'.
              cursorfield = 'P_TICNO'.
          endcase.</b>
       endcase.
    Here I'm using the same variable CURSORFIELD for setting/getting. 
    Regards,
    Rich Heilman

  • Why does the "TAB" key no longer work to move the cursor from field to field with Firefox 17 in MAC OS 10.8?

    The "TAB" key will not move the cursor from field to field with Firefox 17 in MAC OS 10.8. You have to use the mouse to click on the new field to move the cursor.

    See:
    * http://kb.mozillazine.org/accessibility.tabfocus
    Note: In OS X (as of 2005-01), if this preference is not explicitly set, the “Full Keyboard Access” setting in System Preferences will be honored. All builds before that date (e.g., Firefox 1.0.x) will ignore that setting.
    This pref doesn't exist by default, so if you want to use it instead of the system settings then you need to create a new Integer pref with the name accessibility.tabfocus and set the value to what you want (7 is to tab through all the fields).

  • OVS - how to change the position of the fields in the OVS search criteria

    Hi,
    I have an OVS search screen where 4 search criterias are  there.Based on the search criteria , the values will be papulated in the OVS screen.
    Now I have to change the position of the fields in the search criteria.Means if the Maximum field (one of the search criteria) is in the first position,I need to put it in the last position.I have ro change the position of the search criteria field and not the result fields.
    Please suggest me how to do that.
    Regards
    -Sandip

    Hi Sandeep,
                      please go through this article for customizing Value Help:
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0c6132f-4ea3-2b10-4d8f-e68d2e96113d]
    Thanks and Regards

  • Position cursor in text field when form is opened

    Another newbee question I'm afraid!
    I want to position the cursor in a text field when a user opens the form. I can't find a way to do it but I'm pretty sure it's straightforward!
    Also, can I remove fields from the tab order?
    Thanks (for your help and patience!)

    Hi,
    You would select the object that you want to receive focus and put the following in the docReady event.
    xfa.host.setFocus("this");
    The docReady event is a good one to use, because it only fires once.
    The tab order can be set in the Tab Order tab. Depending on the version of LC Designer that you have, the flexibility will vary. However I would do this as a last step, as any changes can throw the tab order out of sequence.
    Note that tab order is greatly affected by the relevant x/y coordinates of objects and where objects are in separate subforms.
    Hope this helps,
    Niall

  • Positioning cursor in editable text-field

    It is almost impossible to position the cursor in a text-field. Even though I have very thin finger it takes me more than two tries to position the cursor. Would be nice if on a future PlayBook-update the behaviour of text-selection and cursor-positioning would be improved. Works much better on Android-devices (okey, they often have a scrollball) and iPhone.
    Check out my apps in the BlackBerry World
    Visit my developer blogs /dev/alopix and /home/alopix
    BBM Channel: C0047B612

    i dont have that issue with my fat fingers anymore with some practice. are you lightly touching or mashing while you select? i found mashing to make it less accurate. remember it is the first part that touches that makes the selection and not the top of your finger or thumb.
    Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
    Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
    BESAdmin's, please make a signature with your BES environment info.
    SIM Free BlackBerry Unlocking FAQ
    Follow me on Twitter @knottyrope
    Want to thank me? Buy my KnottyRope App here
    BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V

  • Setting the cursor position in a field in XD01 transaction

    Hi,
    I am trying to validate the field Customer type (Path : XD01 > Sales area data > Extras > Additional data) in the transaction XD01 ie: It is a mandatory entry for Customer creation.
    I tried displaying an error message which worked fine. But i want the cursor to be positioned in the Customer type field.
    Is there any possibility for this?

    Santhosh,
    I tried giving "GET CURSOR FIELD v_field LINE v_line" in the exit EXIT_SAPMF02D_001. But no values are getting captured in those variables.
    Moreover they have specified in the documentation as - "However, the variables specified during PAI processing are always initialized". Now this exit is getting called during PAI. Hence i believe that the values will be initialized! Moreover i think that getting the field & line information of the current cursor position is not going to help us!

  • Cursor not positioning on batch field MIGO after version upgrade to 6.4/7.1

    We recently upgrade SAPGui from v6.2 version to 6.4 and 7.1 and noticed the cursor not moving to the batch field in item level of the MIGO.
    While doing migo for for any movement type When we click on the item level of the material. the cursor should got the to empty field.
    Is there anyway we can do that?
    Example I open migo.for movement type 261 and manually add the item thorough the "+ green" symbol.
    then I click on the material tab in the item . - it goes to the field where i can enter the material number. same is the case with account assignement tab.
    But when clicked on the batch tab it does not go the the empty field to enter batch. It has to be manually clickeda and then entered.
    Are there any settings to control it and make it automatically move to the batch empty field.
    Thanks for your comments.

    Dear KK,
    Your problem is quit common problem when GUI 7.1 installed system
    best way  to remove GUI 7.1 or install patches of GUI 7.1
    Problem some times may come GUI 7.1 and IE 7 .so you check wich type version IE you using.
    Hope this helps you
    Prem.

  • Set cursor(caret) position in text field

    Hello !
    I have a <input type=text...> on a JSP Page with a default value...
    I want this: when the input get focus, it "sends" the cursor to the last position, so the user can continue the default value...
    setCaretPosition didn�t work...
    Any help???
    The better thing I did is to select the entire text, but when the user types something, the default text will be replaced... :(
    Any help?
    Thanks,
    Igor.

    I have a <input type=text...> on a JSP Page with a default value...
    I want this: when the input get focus, it "sends" the cursor to the last position, so the user can
    continue the default value..If this JSP page of yours is being run out of a browser, onFocus, the cursor (or Caret) will be positioned at the top left in NN and at the bottom right in IE. There is no getting around this.
    V.V.

  • Production order, put cursor on field in Assignment Tab

    Hi,
    I work on an enhancement for production order...
    When a user created a production order, if the "Profit Center" (in "Assignment" tab) is empty at saving, a popup is displayed to inform the user that he could filled this field. If he doesn't want to do this, he clicks on "Continue" button, elseif he wants to fill "Profit Center" field, he clicks on "Modify".
    My problem is when the user clicks on "Modify" button, I would like that the "Assignment" screen appears and the cursor is located on the "Profit Center" field. I take a look on technical information and the only info that I can use is the screen 0115. But I can't indicate the position to the cursor !
    Can anyone help me?
    Thanks in advance.
    Best Regards.

    Hello,
    You can try with 'Implicit Enhancement' in PBO of that screen 0115 and use 'SET CURSOR FIELD..statement' by checking user command..
    Thanks

  • Position Cursor on a specific SO line in VA01 / 02

    Hi,
      I have a requirement to do some validation in the User Exit, SAVE_DOC_PREPARE for VA01 / 02. If there is a Error, I want the cursor to be positioned on the specific line item which had this error. Please note the above exit gets called the user presses the 'Save' buttn, so this can happen from any screen.
    Regards,
    SG..

    why don't you do the same thing with incompletion log procedure...system will take the user to that particular field and he can proceed with 'save' option in both VA01/02.
    Reward Points if it helps,
    Regards,
    N

  • Position Cursor on GRAPH either by dragging it OR entering the dsired position in the Cursor legend

    I've written a VI that allows the user to import a dataset, view it on a graph, and then use cursors to "filter" the range of data that I'm interested in, by sending the cursor.index values from the first graph to an array subset function which feeds a second graph.  The problem is that I'd like to provide the user the ability to position the cursors on the first graph both visually - by dragging - (for "course" control) AND by entering the desired values directly into the cursor legend (for fine control).  The problem is that I cannot find a way to do this, since I have to have the Lock Ring set to “Lock to Plot” in order to capture the index information. According to the documentation, the only way to be able to position the cursors via the Cursor legend is to set the Lock Ring to “Free”, which means the index values are rendered useless, since the cursor is no longer locked to the plot.  If I leave the Lock Ring in "Lock to Plot", and enter a value in the cursor legend, it does move the cursor, but not to where it should.  If I enter a value an x value of 9.0 for cursor 1, the cursor goes to 10.2638.  The next time I enter 9.0, it goes to 9.82794.  I don't understand what the issue is.  Is there a way around this?
    Attachments:
    ppv data filter 3.vi ‏366 KB

    Yes Rudi:  What I want is for the operator to place the cursors by dragging them (just eye-balling it).  The, if they see that the Y cursor (horizontal) is at 10.234, and they want to make it 10, they could simply enter that value in the cursor legend, and the cursor would be placed exactly at 10.  The only way to do this seems to be to select the “Free” option for the cursor.  However, in order to use the first graph to set the boundaries of the second graph, I have to use the Cursor Index from the first as an input to the Array Subset that feeds the second graph.  In order to use the Cursor Index, the first graph has to have its cursor Lock Rings set to “Lock to Plot”.  Am I making this any more understandable, or just rambling?

Maybe you are looking for