Set Cursor to the next field after scanning first field in RF programming

Hi,
I have requirement where i need to set the cursor to the second field i.e. Purchase order after scanning the first field i.e. Material
in RF programming with out user interaction.
I kept the material visible length to 6 chars instead of 18 on the screen as user is having material length is occupying 6 chars.
Thanks in advance.
Regards,
Suvarchala

Hi Group,
Finally I got the solution for this, here is the stuff we need to do:
***********04/03/2010
*----Get the current cell
            CALL METHOD wa_grid->get_current_cell
              IMPORTING
                es_col_id = li_col
                es_row_no = li_rows.
**--Get Scroll Position
            CALL METHOD wa_grid->get_scroll_info_via_id
              IMPORTING
                es_col_info = ls_col
                es_row_no   = ls_num.
***********04/03/2010
            CALL METHOD wa_grid->refresh_table_display.
           CLEAR: wa_profile1.     ", wa_pro_new.
********04/03/2010
*--Set Scroll Position
            CALL METHOD wa_grid->set_scroll_info_via_id
              EXPORTING
                is_col_info = ls_col
                is_row_no   = ls_num.
*----Set the cell information
            ls_row-index = li_rows-row_id.
            CALL METHOD wa_grid->set_current_cell_via_id
              EXPORTING
                is_row_id    = ls_row
                is_column_id = li_col
                is_row_no    = li_rows.
********04/03/2010
Hope this info might be useful to anyone facing the similar issue.
Cheers,
Jagan.

Similar Messages

  • Alv grid: how to set cursor to the next field

    Hi Abapers,
    When I input the data in first cell and do a tab for coming to next cell to give the input it is coming back to my first cell in the ALV grid.
    Any idea's on how do I deal with this.
    Many Thanks,
    Jagan.

    Hi Group,
    Finally I got the solution for this, here is the stuff we need to do:
    ***********04/03/2010
    *----Get the current cell
                CALL METHOD wa_grid->get_current_cell
                  IMPORTING
                    es_col_id = li_col
                    es_row_no = li_rows.
    **--Get Scroll Position
                CALL METHOD wa_grid->get_scroll_info_via_id
                  IMPORTING
                    es_col_info = ls_col
                    es_row_no   = ls_num.
    ***********04/03/2010
                CALL METHOD wa_grid->refresh_table_display.
               CLEAR: wa_profile1.     ", wa_pro_new.
    ********04/03/2010
    *--Set Scroll Position
                CALL METHOD wa_grid->set_scroll_info_via_id
                  EXPORTING
                    is_col_info = ls_col
                    is_row_no   = ls_num.
    *----Set the cell information
                ls_row-index = li_rows-row_id.
                CALL METHOD wa_grid->set_current_cell_via_id
                  EXPORTING
                    is_row_id    = ls_row
                    is_column_id = li_col
                    is_row_no    = li_rows.
    ********04/03/2010
    Hope this info might be useful to anyone facing the similar issue.
    Cheers,
    Jagan.

  • Cursor postion on next line after scanning

    Hi All,
    My requirement is to automatically set the cursor position on the next line in SALES tab of standard sales order. once the material barcode is scanned and the material number, quantity and price get populated , the cursor position should be set to next line on material column, is it doable with ABAP? if yes, kindly suggest how.
    thanks,
    Binita

    Hi,
    We can set the cursor postion using this statement SET CURSOR FIELD f LINE lin [OFFSET off].
    We need to use this in custom Programs.
    Please reffer the links below:
    [Cursor Position In TABLE CONTROL;
    [How to set cursor on next  row in TAble control?;
    [http://help.sap.com/saphelp_nw70/helpdata/en/9f/dbac9f35c111d1829f0000e829fbfe/content.htm]
    I hope this may helpfull.
    Thank you,
    Thanks,
    AMS

  • How do you move automatically to the next field of a form after scanning a barcode?

    Hi, I have been playing around with a barcode scanner (by the way I dont have a clue) and I've converted a form into a PDF document. I'm trying to move to the next field after the data has been populated in a previous field automatically. I'm not sure if this is done within Adobe Acrobat it self or on the scanner.
    The scanner has several different modes, TERMINATION CHAR - CR, TERMINATION - LF, TERMINATION CR+LF and DISABLED.
    I believe one of them put a ENT after the data from a barcode and one of the others doesnt. Any ideas?

    Are you using a handheld scanner and scanning the barcode on screen and wanting the focus to be in the next field after scanning the barcode?
    Otherwise, I am not sure what you are asking. The scanner itself won't do this for you if you actively filling out a form. The field which receives the scanned data could have an exit event which has a setFocus method taking you to the field it specifies. (haven't tested this in a long time, so my presumption is once the data is received it will exit, but focus could remain. In that case, another event would be needed. However, A manual <TAB> will force an exit of the field, and the setFocus() function will excute taking you to the field specified in the method.

  • How to submit a page and set the focus on the next field?

    Hello,
    I have a form with some fields and below this a report with a column link. If I change values in the form fields and I click the on a column link the changes in the fields are lost because the page is not submitted.
    I try this: I set on the fields in HTML Form Element Attributes the following:
    onchange="doSubmit('AENDERUNG_UEBERNEHMEN');"
    And I create a branch to the same page. This works great, I dont lost the changes in the fields and I can use the column links.
    But: If I want to walk through the form with the key "TAB" I have to press the key 2 times to come to the next field.
    How can I submit the page and go to the next field?
    Regars,
    Mark

    Hello Mark,
    how about submitting the page when the column link in the report is clicked. To do this, create a column link with an URL target and specify a target like
    javascript:doSubmit('#ID#_AENDERUNG_UEBERNEHMEN').After that I would create a process, that checks if
    substr(:REQUEST,instr(:REQUEST,'_')+1) (or something like that)
    equals 'AENDERUNG_UEBERNEHMEN'. If so, save the change, set the PK value of your target page to
    substr(:REQUEST,1,instr(:REQUEST,'_'))  (to extract the ID)
    Afterwards, create a branch that jumps to the target page.
    Hope that helps
    Stephan

  • How do I set up iTunes to automatically move on to play the next album after the last one has finished? (in Album view)

    How do I set up iTunes to automatically move on to / play the next album after the last one has finished? (in Album view).
    This used to happen automatically in Genre view.

    Hi Henryhippo,
    If you have questions about play order in iTunes, you may find the following article helpful; I believe you can use the Play Next or Add to Up Next to add albums as well as songs.
    iTunes 11 for Windows: Ways to play songs
    Regards,
    - Brenden

  • SET CURSOR in to commando field

    Hi!
    I wont set cursor in to commando field (the truncation field eg: /nSE80).
    Is it possible?
    I have tried it with SET CURSER FIELD u2018DUMMYu2019 but I donu2019t now the technical name of this field.
    Thanks
    Hermann

    hi
    even i did one table control.
    like i create the new data.
    i type some value in the table control line which in turn is the work area.
    say after one record i press enter.
    then the ok_code will have the previous value. i.e. if ok_code for the create new is say &CRE1. then after typing the data in the record the value ok_code will be &CRE1 only.
    so for that either you have to read the record st in some other internal table and flag is set when user presses the enter.
    say if the user presses the enter many times then modify the other internal tables.
    i suggest if you work with flag and internal table concept then your Table control will not change in GRAY.
    if you have any doubt then i could share with you my code as well because my problem solved like this only.
    thanks
    ekta

  • How do i automatically start the next slide after the video on the prevues slide is finished

    I have slide 1 with a video loop witch tranistion to the next on a click. the next slide (slide2) automaticlly starts plays. I want to know how to start Slide 3 automaticlly after the video on slide 2 is done playing. Slide 3 is also on a loop. and start slide 4 on a click. then repeats......  

    I once had the same problem, but it was worse because the length of the video was more than the maximum delay that could be set (Keynote'08, I do not know if this changed in '09). I was helped by someone of this community. She suggested adding invisible text fields, each having a delay, sequenced one after the other. Together they added up to a sufficient delay to play my video and go to the next slide after that. I hope this information will be of use, if need arises.

  • I can not use the tab key to move to the next field or use the shift and tab to move to the prior field in forms.

    After updating to 7.0.1 I can not always use the tab key to move to the next field or use the shift and tab to move to the prior field in forms. This always worked in previous versions and it's much needed for my type of work. Does anyone know of a setting to activate this? If not can the Firefox developers work on this issue (please). I love Firefox but desperately need this feature to work correctly. Thanks!

    I tried in safe mode and the tab key worked just fine. I'm not sure about all web forms I've only recently updated to 7.0. The wen form I was using was for appraisal purposes and it has multiple data fields to fill in and also drop down menus to select from. Might I always have to use Firefox in safe mode to be able to utilize the tab between field feature? Thanks for your help!

  • Global binding text disappears once you move to the next field

    I have created this pdf form using Acrobat 7 Professional. now I have ver.8. I also have Adobe Desinger 8.0. I wanted two field to have the same data, so I used global binding. In the preview mode, it works fine. I have add reader extension rights and security to the document. Now when I open it in Adobe Reader 8 and fill the form, it will let me type in and shows up in both the fields, once I move to the next field, the name in the field disappears from both the fields. Any idea?
    Thanks in advance.

    I'm having the same issue. Fields are named independently (my one and only global field is set on the master page, named "Beryllium"). Other fields function as they should and binding is set to normal.
    When I type into my Beryllium global field, then move into another text field below, the typing I entered into "Beryllium" disappears and does not carry over to subsequent pages.
    Anyone help with this frustrating issue?

  • How to programmatically move the cursor to the "To" field of a new AppointmentItem?

    I need to move the cursor to the "To" field of all new AppointmentItems which are created through my Outlook Addin. How I can achieve this?
    Thanks in advance.
    Thanks Prasad

    Hello Prasad,
    The Outlook object model doesn't provide anything for that. You need to use Windows API functions or use
    Accessibility API to set the cursor programmatically.

  • Data with "," overflows to the next field when importing data with DTW

    Dear all,
    When I tried to import data with DTW, for the data that includes ",", the data after "," all jumps into the next field after import.
    E.g. Column A(memo): bank, United state
           Column B(project code): blank
           Result in SBO: Memo field : bank
                                  Project code: United state
    I  have tried 2 ways.
    1. Save the file as csv, and adding double quote(") at the beginning and ending of the data. However, it didn't work. It didn't work with single quote as well.
    2. Save the file as txt, without amending the data at all.
    It worked, however, in SBO, double quote is auto added, it becomes "bank, United state".
    Please kindly advise how to handle such case.
    Thank you.
    Regards,
    Julie

    Hi,
    Check this if it is useful :
    Upload of BP Data using DTW
    Rgds,
    Jitin

  • To advance to the next field

    Hello folks.
    How can I do to advance to the next field ? The limit the
    caracteres 10 go to next field.
    Best
    Rgds

    It sounds like you want to create a sort of serial number
    array of entry fields. Here's a behavior that you could drop on a
    set of text or field sprites. It will not prevent the last sprite
    in the series from accepting more than its fair share of
    characters, but it will get you started:

  • What is the next step after editing or triming a video ? What type of file format to save and what to do after that ?

    what is the next step after editing or triming a video?
    what type of file format should be save and what to do after that?

    In the early days of digital video editing, an export render could take hours!  Not many applications are as hard on system resources as video editing, and rendering the final edit is probably the most system intense action of all.  
    Head on over to the Premiere Pro Hardware forum to see what sort of computer hardware the pros use for NLE (non linear editing), or to the PPBM5 site for a better look.
    PPBM5 Benchmark
    Also check out the specs on the Video Guys website

  • After updating to iOS 6.1.5 on my iPod Touch 4th Gen, Some of my songs are skipping to the next song after 30 seconds of play...

    After updating to iOS 6.1.5 on my iPod Touch 4th Gen, some of my songs are skipping to the next song after 30 seconds even though the iPod appears to be playing the current song. Some of my songs are mp3 files that have been playing fine for years...
    Anybody else experiencing this issue?
    I'm using the latest version of iTunes and i don't have that problem on my PC. The only difference as far as i can tell is the updated iOS & firmware...
    AJ

    Yes, other have. If the songs play OK in iTunes on the computer
    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsync all music and resync
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up                                                                
    - Restore to factory settings/new iOS device.             
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar                                      

Maybe you are looking for

  • I GOT THIS BLACK FRIDAY AND I ALREADY HAVE A PROBLEM COME ON REALLY

    I Want my money back how can u be so mean to a 14 year old it say my fan wont work how i just bought it like awww im mad know i got to tell my dad u no how scary that is he is 300 LBS

  • Problem with logging

    Hi, I have a problem with logging into PSN. When I want to log into in there comes an error which is NW-31456-9. I have something like that for 1 day. Anyone know how to fix this? I tried manual settings for my internet but it doesn't work.

  • Connecting an HD monitor to intel iMac

    Hi, I think this is a fairly simple question--I'm going to be editing some footage in HD and the director is planning on renting an HD monitor to use. What I need to know is what kind of cables I would need to get this system up and running. Is there

  • PowerPC server distro

    I have an old G4 PowerMac. I'm thinking of turning it into a headless server/ backup control. Though I'd like to be able to use it as a desktop in a pinch. I'm looking for a fast, stable Linux distro. It should have a full complement of server softwa

  • Best way to write this sql ?

    Please let me know best way to write this SQL. select col1, count(*) from TableA group by col1 having count(*) = (select max(vals) from select col1, count(*) as vals from TableA group by col1 having count(*) > 1 )