Value does not stay in screen in screen painter after clicking enter

Hi abapers,
I have created a table control in screen painter .My problem is that after entering 1 row of values and press enter the value gets vanished.it doesn stay in screen .What may be the problem?? Have any of abapers gone through this scenario. Please paste a code snippet if possible.
Regards,
Navin

Hi,
What you need to do is to modify the internal table from table control whenever any user action is performed.
it_zekpo is my internal table w/o header line,
wa_zekpo is work area.
Name of input/output fields on screen are:-
wa_zekpo-field1,
wa_zekpo-field2, and so on...
At screen flow-logic
PROCESS BEFORE OUTPUT.
*  MODULE status_8003.
  LOOP WITH CONTROL po_tb.
    MODULE read_data. "<--read data into table control from internal table
  ENDLOOP.
PROCESS AFTER INPUT.
*  MODULE user_command_8003.
  LOOP WITH CONTROL po_tb.
    MODULE modify_data. "<--modify internal table from table control
  ENDLOOP.
In PBO
*&      Module  READ_DATA  OUTPUT
MODULE read_data OUTPUT.
  READ TABLE it_zekpo INTO wa_zekpo INDEX po_tb-current_line. "po_tb is table control name
  data : line_count type i.
  describe it_zekpo
  lines line_count.
  po_tb-lines = line_count + 10.
  "to increase the number of lines in table control dynamically
ENDMODULE.                 " READ_DATA  OUTPUT
In PAI
*&      Module  MODIFY_DATA  INPUT
MODULE MODIFY_DATA INPUT.
  MODIFY IT_ZEKPO FROM WA_ZEKPO INDEX po_tb-currentline.
  "this will modify the contents of existing line into internal table
ENDMODULE.                 " MODIFY_DATA  INPUT
Hope this helps you,
Regards,
Tarun

Similar Messages

  • When I go to sign in to email accounts, when I click, my info flashes but does not stay on screen to pick my log in info

    yesterday I tried to log into an email account and usually when I click on sign in, a couple of user names appear and I choose mine and log in . Today I did same thing and all it does is flash for half a second the dissapears. And I cant log in ,it also happens on the bar to input websites too. It happens on all web sites when I log in .i removed Firefox reinstalled it ,I refreshed it, and still issue persist

    Start '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Firefox in Safe Mode]''' {web Link} by holding down the '''<Shift><br> ''(Mac Options)'' ''' key, and then starting Firefox. Is the problem still there?
    Many site issues can be caused by corrupt cookies or cache.
    * Clear the Cache and
    * Remove Cookies<br> '''''Warning ! ! '' This will log you out of sites you're logged in to.'''
    Type '''about:preferences'''<Enter> in the address bar.
    * '''Cookies;''' Select '''Privacy.''' Under '''History,''' select Firefox will '''Use Custom Settings.''' Press the button on the right side called '''Show Cookies.''' Use the search bar to look for the site. Note; There may be more than one entry. Remove '''All''' of them.
    * '''Cache;''' Select '''Advanced > Network.''' Across from '''Cached Web Content,''' Press '''Clear Now.'''
    If there is still a problem,
    '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]''' {web link}
    While you are in safe mode;
    Type '''about:preferences#advanced'''<Enter> in the address bar.
    Under '''Advanced,''' Select '''General.'''
    Look for and turn off '''Use Hardware Acceleration'''.
    Poke around safe web sites. Are there any problems?
    Then restart.

  • When trying to click between red, blue and green in levels, the menu does not stay dropped down so that i can click on them

    I go to  New Levels > Levels> RGB> (red, blue, green).. the mouse won't click on red, blue, green, and levels keeps reverting back to just the RGB levels. I have the full version, I just installed on a new computer, and input the serial number without problems at install. Very dissapointed as I can't edit anything without doing simple levels editing. PLEASE HELP

    See:
    * http://kb.mozillazine.org/Images_or_animations_do_not_load
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • When I open my MacBook Air the keyboard comes up along with the screen and does not stay still?!

    When I open my MacBook Air the keyboard comes up along with the screen and does not stay still. So I need to hold down the keyboard while i open it. Other than that it works fine despite the fact that the fan noise some times is loud and sometimes it's getting warm at the base. I wonder if this can be fixed if i go to one of the apple branches.

    Yes. Take the computer to the Apple store to have it fixed.
    Best

  • Cannot save password-screen does not stay open long enough

    Cannot log into company intranet or home voice mail. Asks for a password and cannot save it as the save password dialogue box does not stay open long enough to click on it. Works fine on other locations

    Re: "Lightroom encountered and error when reading from its preview cache and needs to quit"

  • Satellite L305D-S5934 does not boot - blank screen

    I have a problem with a 2 year old satellite l305d-s5934.
    On switching on, the power light comes on but the hard drive light does not and the screen stays blank.
    I have tried removing the battery and restarting without it after pressing power button, but nothing changes.
    Any advice on fixing the problem would be welcome.
    Thanks

    Hi
    Remove battery, disconnect the AC adaptor and leave the notebook disconnected for a longer period of time. After that connect both parts can try to power up the unit once again
    If this does not help, check the RAM. Remove the single module and test both slots using each module.
    Of course it could be possible that both modules are faulty and this procedure would not help you.
    In worst case the motherboard might be affected in such case only mobo replacement would be helpful.

  • I have quicktime pro and it does NOT have the screen record mode that Quicktime is suppose to have.  Can I uninstall it and go back to an older version that would have screen recording?  If so, how?  Step by step needed.  Thank you for your time.

    I have quicktime pro and it does NOT have the screen record mode that Quicktime is suppose to have.  Can I uninstall it and go back to an older version that would have screen recording?  If so, how?  Step by step needed.  Thank you for your time.

    Did you remove Quicktime X?
    On a normal install Quicktime 7 is installed in the Utilities folder and Quicktime Pro in the main Applications folder.
    You will need to reinstall OS X to get Quicktime X back if you have deleted it.
    I notice yor profile says 10.5.8. Quicktime X is only available on 10.6 and above.

  • The application does not use the  screen and run in the background

    Hi
    I have downloaded a package of j2me Midlet
    from [link] here [link]
    and try to reuse the code
    but I get the following error when running the code:-
    The application does not use the screen and run in the background
    I think the error into one of these two classes
    package main;
    import javax.microedition.midlet.*;
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.media.Manager;
    import javax.microedition.media.MediaException;
    import javax.microedition.media.Player;
    import java.io.IOException;
    import java.io.InputStream;
    public class MainMidlet extends MIDlet implements CommandListener {
        private SSGameCanvas gameCanvas ;
        private Command exitCommand ;
        private Player player = null;
        public void startApp() {
      try {
           //   create new game thread
              gameCanvas = new SSGameCanvas();
              gameCanvas.start(); // start game thread
              exitCommand = new Command("Exit",Command.EXIT,1);
              gameCanvas.addCommand(exitCommand);
              gameCanvas.setCommandListener(this);
                Display.getDisplay(this).setCurrent(gameCanvas);
       catch (java.io.IOException e)
                e.printStackTrace();
            try {
                // start sounds
                InputStream in = getClass().getResourceAsStream("/resource/startfly.wav");
                player = Manager.createPlayer(in,"audio/x-wav");
                player.setLoopCount(1);
                player.start();
            catch (MediaException ex)
                ex.printStackTrace();
             catch (IOException ex)
                ex.printStackTrace();
        public void pauseApp() {
        public void destroyApp(boolean unconditional) {
            if (player != null) {
                player.close();
            System.gc();
      public void commandAction(Command command, Displayable displayable) {
           if (command == exitCommand)
                 destroyApp(true);
                 notifyDestroyed();
    package main;
    import java.io.IOException;
    import javax.microedition.lcdui.*;
    import javax.microedition.lcdui.game.*;
    public class SSGameCanvas extends GameCanvas implements Runnable {
        protected GameManager gameManager;
        protected boolean running;
        private int tick=0;
        private static int WIDTH;
        private static int HEIGHT;
        private int mDelay = 20;
        Form mainForm;
        Display display;
        //private int MaxTime;
        public SSGameCanvas() throws IOException{
            super(true);
            gameManager = new GameManager(5,5,getHeight()-10,getWidth()-10,this);
        public void start() {
                this.running = true;
                Thread t = new Thread(this);
                t.start();
        public void stop() {
            running = false;
        public void render(Graphics g) {
            WIDTH = getWidth();
            HEIGHT = getHeight();
            // Clear the Canvas.
            g.setColor(0, 0, 50);
            g.fillRect(0,0,WIDTH-1,HEIGHT-1);
            // draw border
            g.setColor(200,0,0);
            g.drawRect(0,0,WIDTH-1,HEIGHT-1);
            // draw game canvas
            gameManager.paint(g);
        public void run() {
            while (running) {
                // draw graphics
                render(getGraphics());
                // advance to next graphics
                advance(tick++);
                // display
                flushGraphics();
                try { Thread.sleep(mDelay); }
                catch (InterruptedException ie) {}
        public void advance(int ticks) {
            // advance to next game canvas
            gameManager.advance(ticks);
            this.paint(getGraphics());
    }Edited by: VANPERSIE on Jul 10, 2012 12:26 PM

    Hi Andi,
    Thanks for your reply.
    Yes, I have waited for a while and the result doesn't change.
    The Porblem here is the application is seen started in visual administrator.Only restart brings up the page back.
    Can you please suggest anything.
    Thanks and regards
    Nagaraj

  • Dvd burned in premiere pro cc does not fill the screen. Desire a 4:3 aspect ratio

    I am using premiere pro cc. I burned a dvd several times,trying different presets. On each occasion the dvd never fills the screen. It does not lool like letterbox ( 16 x 9 ). There is space all around the picture / video. Need assistance fast,project is already late.Thanks in advance.
    Theo Smith

    I sent the screenshot via an e-mail attachment. I wasn't aware  that
    attachments could not be forwarded this way. I will send it again. First  time
    I've utilized this service.
    In a message dated 3/8/2015 10:15:23 A.M. Eastern Daylight Time, 
    [email protected] writes:
    Dvd  burned in premiere pro cc does not fill the screen. Desire a 4:3
    aspect  ratio
    created by Peru Bob (https://forums.adobe.com/people/Peru+Bob)  in Adobe 
    Media Encoder (AME) - View the full  discussion
    (https://forums.adobe.com/message/7264779#7264779)

  • Conversation does not appear on screen

    One particular instant messaging conversation does not appear on screen. I am notified when a new message is sent to me, and when I hover over the Skype icon on the Windows toolbar I can see the icon for the conversation window, but the conversation itself does not appear.  All other conversations appear just fine.  It happens to be a running conversation with my boss, so I really would like to fix it.  Currently when I get a message in this conversation I have to use Skype on my phone to participate in the conversation, but it is much faster to type on my computer keyboard than on my phone. Thanks for your help.

    Computer clock time is correct.  No, it hasn't been wrong, or at least I have never had to reset the time, it's always been correct.  This is the only conversation this is happening with.  It's still happening.  I have to go to my phone to message in this particular conversation.  My boss was on leave for awhile and so this conversation was inactive for a couple of months.  It was working fine before she left.  One more piece of info ... I used to have two monitors, now I'm using only one.  But switching to one monitor didn't affect any of the other conversations I participate in.

  • Firefox does not appear on screen when started from the start menu, but task manager says the process is running

    Firefox does not appear on screen when started from the start menu or the shortcuts, but task manager says the process is running.

    No - I get the message basically saying "Can't run program while Firefox is running. Please close down Firefox & try again".
    I rebooted my computer and it all works now - but that's weird it was happening before. Kinda weirded out that it happened at all.
    To avoid that happening again, I still wanna know what to do to avoid it or fix it for next time. Thanks

  • Screen Saver does not use selected Screen Saver when activated

    Screen Saver does not use selected Screen Saver when activated. After "Start screen saver" elapse time has been reached, a blank black full screen is displayed. I can activate the selected screen saver by using the hot corners function. Any help with this matter will be greatfully received.

    Hi again sassey,
    You're assuming correctly. Simply change the settings so that your screen saver activates before the sleep settings.
    Hope this solves your problem...

  • Safari does not retain Full Screen state

    Yosemite: version 10.10 (14A389)
    Safari: version 8.0 (10600.1.25)
    Safari does not retain Full Screen state when opening, or re-opening, quitting and restarting Safari, or rebooting the computer, even when the last state was in Full Screen.
    Under Lion, this did not happen. Safari would always keep the last state used even after quitting, or rebooting the iMac.
    In God's Harmony

    navigate to your Users Library folder ( it is hidden , so use Finder's "go to folder" menu ) , then locate inside the Library folder "preferences", search for com.apple.safari and delete the plist you find for Safari.
    then restart Safari and it should present all new Lion Options.

  • What causes iphone 3gs every time I insert the SIM card does not show the screen or no service?

    what causes iphone 3gs every time I insert the SIM card does not show the screen or no service?

    If the iPhone was unlocked unofficially, it has been locked to original carrier again.

  • Mac Book Pro just got it, all was well for 2 weeks now Finder window does not fill whole screen, there is an 1 1/2" space of black on the right side and the Finder window had a 1" section that flipped like a rolling tv now it is a white bar! Help!

    Mac Book Pro just got it, all was well for 2 weeks now Finder window does not fill whole screen, there is an 1 1/2" space of black on the right side and the Finder window had a 1" section that flipped like a rolling tv now it is a white bar! Help!

    Bad video card, call Apple, get a case number and return it.

Maybe you are looking for

  • I rented a movie on iTunes from my Mac mini but I can't find it anymore.

    I was too tired to watch it so I turned off my computer and went to bed. The next morning I wanted to watch the movie but couldn't find it, the movie finished downloading the night before. Any ideas of where it might be?

  • Acrobat 9 Professional - Adding Spell Check before Printing

    Hello, As a new user and unfamiliar with how to manipulate Acrobat, please help me with setting up a form that automatically detects and alerts the user of spelling errors prior to printing or emailing. The form will be distributed to about 200 users

  • Problem with Recent Purchase?

    I recently had a problem with a purchase and didn't know it, and was wondering how I get that resolved?

  • I have a generation 1 IPad, having trouble coming on after charge.

    I have  a generation 1 IPad, everytime the kids let it die I have trouble getting it to start back up. I charge it for hours and when I come back to it the low battery image comes up. If I unplug it the needs charged image comes up. This has been goi

  • Cannot resize guid partition

    I can't resize my partition on a GUID partition table. It says "This partition can not be modified" I don't understand this as I specifically wiped this drive from being a MBR (DOS compatible) and reformatted it with GUID. Can anyone explain this or