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

Similar Messages

  • I can't see the cursor on the logon screen with my MBP when using it in bright sunlight.

    I have a 15 inch MacBook Pro with an anti glare screen.  I am running Lion 10.7.3.  
    It is being used in bright sunlight in southern greece very sucessfully apart from the fact I cant see the cursor on the logon screen to select the user I want to log in as. .
    Setting the cursor to a larger size using the universal access options works really well once I have logged in but at the moment I have to dash for the nearest shade to be able to see the screen to log in.
    Any suggestions?    A key sequence to swap between users on the logon screen would do (there are only two) 

    If you're using it in bright light, you may be getting sunlight through the back of the machine which can wash out the display.  The Apple logo on the back of the lid is actually a cut-out that uses the systems back light to make it glow.  Bright light (especially sunlight) can actually shine through the back.  As the users in the login are typically in the middle of the display, this is the area most likely to be washed out as that is where the Apple logo is.  You can try just putting your hand over the Apple logo on the back to block the sunlight when trying to log in.

  • Error when displaying a field on Screen with Table Control

    Hi,
    It is going to 'Dump' when I am trying to display data on the screen with the help of Table Control. From the dump, What I have observed is , there is a field 'ZTSV_FSRDATA-ANZFEHLER'. If this field has negative value, then it is going to 'Dump' saying that the length is not enough. If it has a positive value then it is working fine. But the type of the field in the Internal table & on the screen are same.
    Please help me to resolve this error.
    I am posting here the Dump message also:
    A conversion error occurred while the program was trying todisplay data on the screen.
    The ABAP output field and the screen field may not have the same format.
    Some field types require more characters on the screen thanin the ABAP program. For example, a date field on a screen needstwo characters more than it would in the program. When attempting to display the date on the screen, an error will occur that triggers the error message.
    Thanks,
    Sreenivas Reddy Maddi.

    Hi Sreenivas,
       Refer this thread:
    how to display negative values in a screen field of a screen
    Re: negative values not allowed
    Regards,
    Sampath

  • TS3931 I cannot get my Macbook air to move off the start up screen with the Apple logo and spinning gear.  HELP!!!!

    I cannot get my MacBook Air to move from the gray start up screen with the Apple logo and spinning gear.  Please help

    I cannot get my MacBook Air to move from the gray start up screen with the Apple logo and spinning gear.  Please help

  • How put apple store apps on the iPad screen with others like internet , face time all etc how?

    How put apps on screen with another's like internet , face time have already in screen . Now want apple store apps on screen how?

    If you tap and hold down on an app icon it will begin to wiggle. While it wiggles, you can drag it over to the edge of the screen and hold it about half way over on the screen for a second or two and it will jump to the next screen. You can drag one app on top of another app to create a folder if you care to do so.
    When you are done, tap the home button and the apps will stop wiggling.

  • Developing a screen with buttons like keyboard buttons

    I want to develope a screen with a keyboard buttons (same as keyboard modal) in swings.Plz help me on this topic.
    Thanks in advance.

    Is there any predefined code to develope a screen with buttons same as keyboard buttons functionality model in swings technology.

  • Modify fields on screen with BAdI?

    Hi,
    I want to modify/customize a screen (Shopping Cart in SRM) in a way that some fields are displayed, others not. Some people told me that this might be possible using a BAdI. As I have never worked with BAdI technology before, I hope that somebody here can help me a bit.
    - Where do I get good documentation on BAdIs?
    - Are there any pre-defined BAdIs for modifying screens or would I have to create a new one?
    In advance, thanks a lot for your help!
    Regards,
    Verena

    Hello Verena,
    To look for list of Badi, run transaction SE18. Then enter '*' with the dropdown. You can search Badis by the application hierarchy or by Badi name/description. Once you found the correct Badi, run transaction SE19 to create an implementation of the Badi you found using SE18. Are these sound familiar? Yes, SE18 is like transaction SMOD while SE19 is like CMOD in the User exit. Badi is replacing User exit-ie new enhancement developed by SAP should be in terms of Badi. However, this does not means old User exits going away. You still can use user exits provided by SAP.
    So when you are searching for enhancement that you can use to intercept SAP standard program, you can search by Badi (SE18) or User exit (SMOD).
    Badi or User exit are delivered by SAP for giving customer an opportunities to change a little bit the standard way SAP process. You can't simple create a new BADI, it has to be delivered by SAP. You can implement a Badi given by SAP.

  • Multi line field Navigation problem with ENTER key

    No trigger on the field. Multi line Property is set to true.
    The probleb is, when the cursor reaches in the multi line field. the contents of the field are hilighted/selected. So as it happens in Notepad or Word, if you select some already written text and press ENTER key the selected text will be replaced by carriage return so the selected data will be lost. Same is the case with multi line field. When field gets focus it selects the contents of field and when ENTER is pressed all the contents are deleted and a carriage return is placed.
    any solution?
    null

    Hi Nadeem,
    One work around is that you have store content of that multi-line field in to some other variable thru PRE-TEXT-ITEM and once again assign (based on some conditon) in POST-TEXT-ITEM.
    null

  • HT204216 On my PC I used to having messenger IMs move freely through out my screen. is there any way to get this effect on a mac? Switching screen just to respond to an IM is getting really annoying.

    coming from a PC user: Is there any way to Have IMs from messengers be able to "float" freely within the screen Instead of flipping from safari( or whatever is open ) to the messenger? I'm not sure this even makes sense.

    Many providers either assign and/or let you set an email address to be used instead of your phone number. All the providers here in Japan do that. It may be possible in the U.S. too.
    So while you can send to my phone number (which is only useful if using an app which capable of doing that), you can also send an MMS to a special email address, which makes it possible to send MMS messages from an ordinary email client to my phone. That is very convenient.
    On my iPhone 5 there is a setting in Settings > Messages at the bottom that is labeled "MMS Email Address". If I enter the email address there (which has to be registered with my cell phone provider) then people can send me MMS messages from phones or ordinary email clients.
    doug

  • Movie has just a white screen with sound, how do i get full video

    I have a movie on my computer (not purchased) that I want on my iPod Touch and I put it into iTunes. I had to convert it to iTouch, and that had troubles at first, but then it started to convert, when it did, I got sound and just a white screen in both iTunes and on my iPod. The entire movie plays perfectly on iTunes..... what's going on? It's James Bond, so you can understand how much I want this on my iPod....

    Try this. Press and hold both the Home button and the Sleep/Wake button continuously until the Apple logo appears. Then release the button and let the device restart. You will not lose data doing this. It's like a computer reboot.

  • I need a flash player that does split screen with two "like" videos

    I am a newbie on Flash and really need some guidance or a source code to work off of.  I need a flash player that I can have two videos, overlayed with a mask at 50% on each so I see half of one video on the right and half of the other video on the left, thus split screen.
    We are trying to show off the same video with a before and after effect or show processed video on one side and non-processed video on the other.
    If anyone has a sample or knows how to do this, I would be interested in talking with them.
    Thanks in advance.

    Basically the two videos are identical except what was processed on the post
    file.  So ideally we would want:
    Video 1 (left side 50%)
    Video 2 (right side 50%)
    One controller with play, pause and full screen.
    Todd

  • Stuck at grey screen with termite like sound for a minute

    Hi all,
    I am traveling and my macbook suddenly froze. It just gets stuck at blank grey screen for a long time. After a restart, I hear a few weird termite-like/knocking/clicking noises from hard disk area for a minute and then goes normal and then after some twenty minutes I see a question mark. I took out the hard disk and the sound is gone so I know it is definitely hard disk issue. My question is: what type of hard disk failure is it? Since it returns to sound normal after a minute, should I assume it is not mechanical failure and hard disk would be recoverable using softwares (like diskwarrior, data rescue etc.) ? I really don't have money and time to go to data recovery experts .
    I consider myself an advanced user but I don't have any install discs either. I have some very important data and lot of hard work on my computer.
    I would appreciate any inputs.
    Thanks

    The following support article is somewhat outdated. Where it refers to booting from an installation disc, you should boot into Recovery (if running 10.7 or later) by holding down the key combination command-R at the chime. If your startup volume is encrypted with FileVault, you’ll have to unlock it in Disk Utility before you can do anything with it.
    Mac OS X: Gray screen appears during startup

  • Sony Bravia KDL 32 screen with bubble like blisters. Any recall on this issue?

    My Bravia 32 has some bubbles in the screen. Any recall on this model?

    Hi fitobass,
    You can try the basic troubleshooting steps on the link below based on the screen problem you have :
    https://us.en.kb.sony.com/app/answers/detail/a_id/42981/p/61659,62766,93159,93160/c/65,66/kw/bubbles%20on%20the%20screen
    For further assistance, please provide us the exact model no. of your Sony TV.
    Thanks,
    Jerome
    If my post answers your question, please mark it as "Accept as Solution"

  • Macbook Air froze/turned it off to restart.  Now it won't restart it goes to Gray screen with apple like it is loading, but when gets to the end it turns off.  Try repairing it states incorrect number of thread records.Volume Macintosh HD found corrupt

    Macbook Air froze/turned it off to restart.  Will not restart just goes to gray screen like it is reloading and then shuts off.  Have tried everything.  When trying to reapir it says incorrect number of thread records, should be 108456 instead of 108455.  Invalid voume directory count/the volumbe macintosh HD was found corrupt and needs to be repaired.  How do I repair it?

    Hello cgstephen
    You would need to contact Apple or an Apple Authorized Service provider by checking out the page below. It will have everything you need to know about setting your MacBook Air up to get it repaired.
    Service Answer Center - Mac notebooks
    http://support.apple.com/kb/index?page=servicefaq&geo=United_States&product=Macn otebooks
    Regards,
    -Norm G.

  • I think you guys in apple have an issue on iTunes movies coz I only get the full screen with small black squares...

    Lost a purchased movie and when checking iTunes movies I get the full screen with small little squares and weird signs.

    We are all irunes users just like you.  You are not addressing Apple here at all.

Maybe you are looking for

  • Error in Build file

    Hi All, I have a simple build file which i am using Ant build in Eclipse to give build to. <project name="bobf" default="compile" basedir=".">      <property name="build.home"    value="${basedir}"/>      <target name="compile" >           <mkdir  di

  • Trouble with homepage pic

    I just updated my iPhone 5 to the new iOS 7 and I love it. The only thing that Im having a problem with is setting a home page photo.  When I try to select one of mine to use, it zooms in on the picture when it says move and scale.  It wont let me zo

  • Full width parallax menu scrolling

    Hi all, did anyone of you have this problem that I am encountering? My site www.west-coast-equine.ie loads perfect but when using the anchor based menu the full width fill of the background pics shifts to the left. Would appreciate some input and tha

  • HT5699 Hi.  I forgot the answers of my security questions , what should I do?

    Hi.  I forgot the answers of my security questions , what should I do?

  • Query-Select Item Code ending in 'NI'

    How do I select an Item Code ending in 'NI'?