Screen list problem

If I write a report on a screen A, then we click a button to call a pop-up screen B, finally we return to the screen A, we rewrite the report on screen A. Now the problem is that the page goes back to the top of page instead of staying on the current line item. Does anyone have any idea to let the program to retain the current line?
I tried to use the following statement, but it seems that it doesn't work.
SCROLL LIST TO PAGE 1 LINE 44.
SET CURSOR LINE 47.
Test program for referring:
REPORT zdemo_list_set_cursor_3 LINE-SIZE 30 NO STANDARD PAGE HEADING.
DATA: inp(2) TYPE c, top(2) TYPE c, l_ans ,lin TYPE i.
CALL SCREEN 100.
TOP-OF-PAGE.
  PERFORM frm_header.
TOP-OF-PAGE DURING LINE-SELECTION.
  PERFORM frm_header.
AT USER-COMMAND.
  CASE sy-ucomm.
    WHEN 'LINE'.
      CALL FUNCTION 'POPUP_TO_CONFIRM'
        EXPORTING
          text_question  = 'SURE?'
          text_button_1  = 'YES'
          text_button_2  = 'NO'
          start_column   = 25
          start_row      = 6
        IMPORTING
          answer         = l_ans
        EXCEPTIONS
          text_not_found = 1
          OTHERS         = 2.
      IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      PERFORM frm_write_text.
    WHEN OTHERS .
      SET SCREEN 0.
      LEAVE LIST-PROCESSING.
  ENDCASE.
*&      Form  FRM_WRITE_TEXT
      text
FORM frm_write_text .
  DO 50 TIMES.
    WRITE: / 'Line ', (2) sy-index.
  ENDDO.
ENDFORM.                    " FRM_WRITE_TEXT
*&      Module  LIST_0200  OUTPUT
      text
MODULE list_0200 OUTPUT.
  LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0.
  SET PF-STATUS 'LINE_NUMBER'.
  PERFORM frm_write_text.
  LEAVE SCREEN.
ENDMODULE.                 " LIST_0200  OUTPUT
*&      Module  EXIT_0100  INPUT
      text
MODULE exit_0100 INPUT.
  SET SCREEN 0.
  LEAVE SCREEN.
ENDMODULE.                 " EXIT_0100  INPUT
*&      Form  FRM_HEADER
      text
FORM frm_header .
  WRITE: 'TOP-OF-PAGE'.
  ULINE.
  SKIP.
ENDFORM.                    " FRM_HEADER

Hi Guys,
Any Idea, May be if you have faced this type of problem,
I have module pool program, and there is no code for top-of-page in my module pool, and all PBO,PAI modules. But still it is getting header when first LIST statement is executed, like in my case is SKIP.
Here is my code if it helps to you finding a problem solution.
MODULE PROGRAM ZABC.
INCLUDE ZINC1. " global Data
INCLUDE ZINC2.  " modules
INCLUDE ZINC3. " forms
*in one of the routine I am retrieving data and displaying as list output.
FORm DISPLAY_OUTPUT.
  LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 10.
  PERFORM DISPLAY-LIST_PROCESS.
ENDFORM.
FORM DISPLAY-LIST_PROCESS.
  SET PF-STATUS 'LIST'.
  SET TITLEBAR 'LIST' WITH HEADER_DATE HEADER_TIME.
  NEW-PAGE LINE-SIZE 80.
  LOOP AT IDATA.
    SKIP. " When this syntax is executing it has header with material,batch . I added plant as new req. but *               how to add in header that is my question,I coudlnt find any top-of-page in this program.
    AT NEW IDATA-MATNR.
      WRITE: 5(24) IDATA-MATNR.
    ENDAT.
    WRITE: 32(4) IDATA-WERKS.
    WRITE: 39(5) ICROSS-BATCH.
  ENDLOOP.
ENDFORM.
So in module program where we are defining header syntax.
It looks simple but I tried all ways like searching text TOP-of-PAGE in main program, also used RS_ABAP_SCAN_PROGRAM to scan TOP-OF-pAGE in relevant Z program but no-luck.
Any Idea where I can find TOP-OF-PAGE syntax.
Pls. Help me.
Thanks
PP

Similar Messages

  • Macbook pro retina screen flicking problem

    I bought this 15 inches Macbook pro back in Nov, 2012. And I have the screen flicking problem in Dec.
    The problem is the same here listed on youtube. You can find hundres of them just by searching "retina flicker" on youtube.
    http://www.youtube.com/watch?v=Ko6WCqw20ZE
    And I did a lot of researches on this. I had also gone to the Apple Store 2 times, one Genius Bar Staff told me this has to be a hardware problem and offer to fix my laptop, others said it might be a software based problem and adviced me to wait for the new system update. I don't have time for a long fixing so I chose waiting. That particular one who told me to wait for the next software update also encourage me to dig deep and tried to find the root cause by myself...and I did. I found my screen flicking problem could caused by cellphone inteference. And It seems that the Wi-Fi antena is also a key component here. If I turn off Wi-Fi completely, the flickering went away.
    Some solutions I found online
    1. It can caused by Enable Safari webGL. So disable webGL and turn off develop mode
    2. Disable displaycard auto switch in Power saving tab
    3. Close the lid put the sytem into sleep and re-open the lid
    4. stop using Wi-Fi. That's right people, try disable Wi-Fi!! It's the only working solution for me.
    5. It could be caused by CDMA cellphones including US Verizon brand cellphones and many others. GSM cellphones are OK. Try to turn off your cellphone or drive to a empty plaza and try to see your laptop still flickering at your car. Turn off your cellphone when You do this.
    What doesn't work
    Reboot
    reinstall OS
    go to Apple Store and change Logic Board (Someone reported that after logic board change, the problem came back after a while)
    Let me know if you guys have any findings, Thanks!!

    I'm sure that you've seen the problem with 'burn-in' and 'ghosting' on some MBP-R machines in threads on this forum. It doesn't seem to be an overwhelming problem, but some have reported it.
    Did you buy it from an Apple Store or online? Either way, you need to get tough with Apple. Tell them you need to keep your computer and, when they deliver a replacement to your local Apple Store, you'll bring it in for exchange. That's what they've been doing with most people that have had MBP-R problems - I've never heard of them requesting that you send your computer back before they will exchange. Did you contact your local Apple Store or was this response from an AppleCare phone conversation. If the latter, take it into the Apple Store, explain what you want to do, and I'm sure that they will work with you.
    Good luck,
    Clinton

  • Equium M37-337 keeps crashing and blue screen list the fault as - igxprd32

    Hi,
    The laptop model number is Equium M37-337 PSM77E-00L00MAV
    from looking through the web I see this is a graphics issue.
    When starting the laptop it will go int Windows and then crash with a blue screen listing the above. This lasts only about half a second and then machine just goes to a black screen and nothing else.
    I am able to turn the laptop off by holding down the power button for several seconds. When I try and restart it returns to the black screen state.
    If I leave the laptop off for somre time (say 30 minutes) it reverts back to the startup to the Windows and then bluescreen black screen sequence.
    I have tried booting to windows safe mode but a similar crash occurs (although sometimes this is just the machine locking up with some thin black lines across the display.
    Is the on board graphics 'card' broken? Is this a common problem with this model? Is this economically fixable?
    Thanks
    Chris

    Hi,
    What I would recommend doing first would be to do a product recovery on the machine. Baring in mind that any data you have on the notebook will be lost by doing this; it is imperitave you back up your data first before going ahead with that.
    The reason I am saying you should do that first is if the repair do see this as a software issue, and should you have any extended warranties on the notebook, you would be charged (although this may be the case anyway). Also, baring in mind that if the product recovery does solve the problem then you could save yourself a whole lot of time with waiting for repairs.
    As far as I am aware there is no known issues with this machine where the graphics are concerned, and it's not something I have heard of with that model. As far as the repair being economical, I would first have a quote on the laptop. I know that would cost ?£35 but if the repair cost is within your budget and cheaper than a new unit then that'll be better for you.
    Unfortunately there is no way of finding out what the cost of the repair will be, as the repairs are done at a specalist repair centre, which is far from here. You'll have to have that sent in first for a quote before you'll know.
    I hope that helps,
    Regards,
    Nukey
    Edited by: ADMIN on 27-Apr-2008 07:50

  • EHP1 Upgarde Monitor screen resolution problem in a support message

    Hi Experts,
    We have recently upgraded our Solution manager to EHP1, iam facing a screen resolution problem with 15 inch monitors.
    Our key users have 15 inch monitors to their system and when they try to reply a support message under transaction data-> Overview tab -> reply it is showing only one line for them , due to which they are unable to enter the complete data in it.
    How ever We have found that this does not occur with 17 inc monitors as the required screen resoution 1280* 1024 is possible due to bigger size of the monitor.
    can any one suggest how to make the overview tab visible completely with small resolution monitors.
    Thanks
    Nanda

    >
    Nanda Kishore wrote:
    > Hi
    >
    > There is an note from sap on this issue i couldnt remember the note number which talks about updating your package levell
    >
    > Kindly check this note it was released in SEP 09 a very recent one. this will resolve your probelm.
    SAP Note 1351673      Size of containers not changed for support messages       
    Best regards,
    Ruediger

  • Mac Pro 2007 with Nvidia 8800GT screen redraw problems on Mac OS 10.5.2

    I seem to be having a slight screen redraw problem. Such as when grabbing the browser window and moving up and down it seems the redraw can't keep up,also seems problematic when watching flash or other video online. It does it in the finder too for windows listings or in icon view there is a fluttering or flashing back and forth, kind of like a white super split second flash when dragging the window box smaller or larger not as bad as when making smaller. Hard to describe but my original Ge-force that I pulled was not having these characteristics. I figure that the drivers need tweaking. In windows I am not getting these results. I have newer boot camp installed as well as the leopard graphics update done so I am trying to see if others are having a slight problem or maybe it is me.
    Also I make certain it is not heat related as I monitor that and it does not matter at what temp it is.

    Here's another similar experience -- and my solution.
    I bought a Quad-core 2.8GHz (8GB RAM) Mac Pro in May and got the "better" Nvidia 8800GT. I thought I was happy, but there were redraw issues after sleeping and a display "roughness" I found annoying. Upgrading to OSX 10.5.4 didn't help.
    I found it to be mostly absent on startup, but sleeping the Mac would bring it on. I.e., after sleep, the relatiionship between the 8800GT would be different than before. when I logged out and in again, the problem woud vanish. No what I expect from a "superior" graphics card. I ascribed it to funky drivers from Apple.
    The store I bought the Mac from offered to swap for my suggestion of an ATI HD 3870, so I went for it about a week ago.
    This card is far smoother than the 8800GT and just as fast in rendering benchmerks for graphics. (I'm not a gamer.) I am a happy camper! There is no stuttering, oddball redraw, or jerkiness as there had been with the 8800. It's perfect! Never mind that it may be 5% slower for gamers, it feels faster for my use.
    BUT NOTE: As I now see from reading several forums, I wasn't alone is getting a screaming-Mimi at first! The first 3870 ran at nearly full fan speed at power-up. The speed changed a little with resolution changes on my big Mitsubishi CRT monitor, and actually stopped when I switched to 1080x1920 @ 72Hz! Then the fan would start and quit, start and quit randomly -- convincing me it was defective.
    I returned this RED-shrouded unit and the store replaced it, this time with (randomly) a BLUE-shrouded unit. (Slightly lower serial.)
    Bottom Line: This replacement 3870 is quiet as a mouse! Fan runs near-silently at startup and after hours of regular use in a 75ºF room. I get the distinct feeling that a bunch of cards with wonky fan controllers were built, and some of us got 'em.
    Bad News: The ATI HD 3870 does NOT support multiple refresh rates under Windows XP-SP2 booting the Mac Pro, with or without Boot Camp drivers installed. No version of the ATI drivers fixes this, and ATI does not officially support Boot Camp yet. You can choose a resolution okay, but you're stuck at 60Hz refresh -- a pain for those of us who hate 60Hz flicker. (I like 100Hz refresh.)

  • Nokia Lumia 1520 - Screen Brightness Problem

    I  have two Nokia Lumia 1520.
    Both of them have the same problem. I will explain the problem to you in detail and before that let me assure you I am a Windows Phone long time user , have been part of the development , developed several apps for the platform and I have used Lumia 800 , 720 , 920 , 925 and now 1520. So I am well aware of all the settings , sunlight readability , automatic brightness etc. This problem is not due to any of these , I can assure you
    Now the problem , 
    I set the automatic brightness option OFF
    I move the brightness to HIGH
    Then I lock the phone
    When I unlock the phone , the brightness drops by 10% suddenly without any intervention
    This problem happens sometime. Some days I see this problem , some days I don't and there are few days where I see this problem very heavily.
    I purchased another 1520 and it has the same problem. I am very sure , from my experience that this is a firm ware issue. This is NOT a hardware problem , but a serious problem from your software end. It is prudent that Nokia recognizes this problem and finds a solution to this. Interestingly , I am not the only one who is facing this problem , the whole globe is facing the same problem and for such a pricey phone , this is a frustrating experience - very frustrating. I am sending some links , which will show the problems users are facing:
    http://forums.wpcentral.com/nokia-lumia-1520/255608-lumia-1520-screen-brightness-dimming-unwantedly-...
    http://forums.wpcentral.com/nokia-lumia-1520/251303-screen-dimming.html
    http://forums.wpcentral.com/nokia-lumia-1520/252501-screen-brightness-fluctuates-purpose-bug.html
    http://forums.wpcentral.com/nokia-lumia-1520/255508-lumia-1520-screen-brightness-problem.html
    The phone is rock solid and amazing except this irritating problem. 
    I have only few days within which I can request a exchange from the merchant. So if any Nokia official can confirm that a software fix is on the way , it would be super helpful 
    Nokia , please help !
    Moderator's note: We have removed the IMEI numbers. Posting of personal information is not allowed in this forum for security purposes.

    I have Nokia Lumia 1520 Black.
    I have also been facing the same problem with screen brightness.
    The problem occurs only when the Brightness is in Automatic mode.
    --> When the Brightness is set to Automatic mode & take out from dark location to bright location the display turns out to weird grey color.
    --> And then if the brightness is set to low, medium or high display comes to normal.
    Is this issue related to the hardware or software.
    If it is related to the Software will you be able to fix it ? or else How about the replacing with the new one ?
    Awaiting for the response.
    nonnin8 wrote:
    Same here i have white 1520
    I have another problem with the screen, when it wakes up or i get a call the colours are off grey colour are very light grey and after few moments it turns to normal.
    I am using WP 8.1

  • Screen refresh problem where data is entered and the screen doesn't refresh

    Many people in the company are experiencing the odd screen refresh problem where data is entered and the screen doesn't refresh to show the updated result in corresponding cell formulas.
    Microsoft have issued a hotfix to fix the issue for Excel 2003 as shown. Microsoft released a hotfix for this problem (<a href="advisory?ID=978908">KB978908</a>). Display memory tends to pick up data from hidden sheets and pastes it
    into the active screen. No impact on the file. This occurs when protecting and unprotecting worksheets in VBA. I also suspect that enabling and disabling screen refresh contributes to this problem. In any case there is a fix, albeit with the following disclaimer:
    As of yet I have not been able to find a fix for this for office 2010 and 2013, Any suggestions would be great.

    Hi,
    Based on your description, Excel does not show the text strings when you typing. It may be caused by the cell format, if we set the cell format as ";;;" in custom format, it will not display the text that you typed. 
    And the issue may be caused by the third-party input method, there are some compatibility issue between them.
    If the issue still exits, please try the following methods
    Verify/install the latest updates
    Repair your Office program
    Regards,
    George Zhao
    TechNet Community Support

  • Screen says problem with printhead

    The printer screen says problem with printhead. I tried the trouble shooting directions, and it did not work. several colors may be almost out of ink...is that an issue? i need my printer!! Help!

    ¡ Hi !, Penguin1: Please, see the manual/guide, for ... h10032.www1.hp.com/ctg/Manual/c04365944.pdf

  • Caller screen Buttons problem Z10STL100-1

    I have Z10STL100-1 after official update Z10STL100-1/10.3.1.1565 having caller screen Buttons problem these are little above not like it's on 10.2 very below position. I security wipe and restart many times still same position of buttons? See pic attached

    Hello,
    Did you check if there are no objects on that index slide that have a fading transition? You should set the transition for every object to 'No transition'. The transition can be found in the Properties dialog, tab Options.
    Lilybiri

  • My illustrator CS6 is having screen viewing problems. Everything is blurry

    My illustrator CS6 is having screen viewing problems. Everything is blurry

    All files look almost as if they are in a draft mode. Doesn't matter witch file I open they all look the same. but very thing is printing out fine. Also I tried creating a test user and down loaded the trial version and it works fine.

  • HT1766 The screen shows problems with iCloud only choices are ignore or settings, however nothing I do will unlock it from this screen, cannot power off keeps that bubble on the screen. What do I do?

    The screen shows problems with iCloud only choices are ignore or settings, however nothing I do will unlock it from this screen, cannot power off keeps that bubble on the screen. What do I do?

    Try this now.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.

  • I purchased Macbook Pro i5 in March 2011. Now the screen has problem; one vertical blue line is in the screen (at the right side). I noticed this last week when I opened the MacBook, and now I am always seeing it. How to remove it?

    I purchased Macbook Pro i5 in March 2011. Now the screen has problem; one vertical blue line is in the screen (at the right side). I noticed this last week when I opened the macbook and now I am always seening it. I am seeing the blue vertical line always in the screen. However, I am not seeing this line when I open Word, Excel, PowerPoint files (without pictures). But I am seeing this line always when I see movies, pictures, and all the files which have pictures. Please do let me know how can I remove this vertical blue line (blue tint) pernamentally from the screen.
    Regards,
    Ujjal

    Backup your files to a external hard drive and disconnect.
    Call Apple and make a warranty call, then take it to the nearest Apple Store etc.
    You can run these things and it might clear your issue or give further informaiton
    Perform a hardware check
    http://support.apple.com/kb/ht1509
    Then see if resetting the SMC/PRAM resolve your issue
    http://support.apple.com/kb/HT3964
    https://support.apple.com/kb/HT1379

  • Has anyone else had a screen separation problem with the ipad?

    Has anyone else had a screen separation problem with the ipad?

    Does it really matter whether anyone else has? If you have, that's a problem for you whether or not anyone else has experienced the same issue. Call Apple tech support or take the iPad to an Apple Store, if there's one in your area, and they'll replace the iPad unless it's determined that the problem was caused by some sort of accident rather than a factory defect.
    Regards.

  • Q10 Screen Sizing Problem in Blackberry 10.3

    Has anyone else noticed that there seems to be a screen sizing problem in Blackberry 10.3.
    When you wake the screeen with a gesture or pull the handset from the Q10 pocket, the screen that it "wakes" up to is enlarged, requiring the user to use the finger gestures to shrink it down to regular size.
    Or have I just not mastered 10.3 yet?
    Rgds
    E.T.
    Solved!
    Go to Solution.

    Hi Folks,
    I've sussed this one out!
    It is not a problem with the screen resolution or the software update, I had within the accessibility settings the "Magnify Mode" enabled.
    Disable this and the screen behaves perfectly..........
    False Alarm. Sorry!
    Revert to Defcon 5...........   :-)

  • Screen resolution problem in table control

    when i was transfering data in BDC using table control,i got screen resolution problem.
    how to rectify the problem?

    Hi,
    Check this coding.
    WA_CTU_PARAMS type ctu_params.
    WA_CTU_PARAMS-DISMODE = 'N'. "no screen mode
    WA_CTU_PARAMS-UPDMODE = 'S'. "synchronous update
    WA_CTU_PARAMS-NOBINPT = 'X'.
    WA_CTU_PARAMS-NOBIEND = 'X'.
    WA_CTU_PARAMS-DEFSIZE = 'X'. "Default size
    CALL TRANSACTION 'VA01' USING it_bdcdata
    OPTIONS FROM WA_CTU_PARAMS
    MESSAGES INTO it_mesg.
    Default size will play good role in terms of resolution. in one system in table control you can see 10rows, but in others system it will show 20 records. it depends on resolution. but when you set the default size then it will take same (default screen size) in all the systems when you run BDC.
    Hope this resolves your query.
    Reward all the helpful answers.
    Regards

Maybe you are looking for

  • Running a Reporting Services Subscription from code in SharePoint 2013

    We have a need to run Reporting Services Subscription that is set in one of the SPWebs The current developer went through SQL to get the Subscription object and run it whenever a user clicks a button to do that. Is there a programmatic way using the

  • Profiles Panasonic Lumix DMC-FZ200

    Can anyone post links to ACR camera profiles for the Panasonic Lumix DMC-FZ200 and/or a profile for its lens: Leica DC Vario-ELMARIT 1:2.8/4.5-108 ASPH Thanks

  • Examples of using SCXI-1160 Relay Card with Visual Basic 5.0.

    I am starting to develop some VB 5.0 code that interfaces with a PXI/SCXI Chassis. One of the cards that I have to work with is the SCXI-1160.

  • Duplicate entries automatically

    I use a Google calendar so that I can access all of my details when I'm on the road. I have a calender for personal and one for work. I normally do all the event adding in the Google calendar and have iCal set up to subscribe to them both. I also hav

  • Which is the best earphones for running with iphone?

    i love the neckband design but haven't found any that work with the iphone that don't need an adapter...usually mini plugs that are straight work but not in all cases so does anyone know of a neckband set that has a straight mini plug? i dont want to