Add back button in WINDOW STARTING AT

Hi,
i created a window using
        window starting at 10 44 ending at 77 50.
when i double click, that window is being displayed,  but no back button or cancel button is being displayed. how do i display the standard tool bar on it or atleast the back button?

HI,
check this link...
go to option 5 Integrate user defined functions in the grid toolbar this shows how to do user defined functions on the grid.
http://www.sapgenie.com/abap/controls/alvgrid.htm
This code may be helpful:
In order modify PF_STATUS of ALV grid report you need to perform the following steps:
1. Update 'REUSE_ALV_GRID_DISPLAY' FM call to include:
i_callback_pf_status_set = 'SET_PF_STATUS' statement.
2. Create 'SET_PF_STATUS' FORM
3. Create pf_status (i.e. 'ZNEWSTATUS').
- It is recommend that you copy standard status'STANDARD' from function group SALV
and modify it accordingly. ALV standard function codes always start with '&'.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = gd_repid
i_callback_top_of_page = 'TOP-OF-PAGE'
i_callback_pf_status_set = 'SET_PF_STATUS' "see FORM
I_callback_user_command = 'USER_COMMAND' "See Form
is_layout = gd_layout
it_fieldcat = fieldcatalog[]
i_save = 'X'
tables
t_outtab = it_ekko
exceptions
program_error = 1
others = 2.
FORM SET_PF_STATUS *
FORM set_pf_status USING rt_extab TYPE slis_t_extab.
SET PF-STATUS 'ZNEWSTATUS'.
"Copy of 'STANDARD' pf_status from fgroup SALV
ENDFORM.
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
Check function code
CASE r_ucomm.
WHEN '&IC1'.
Check field clicked on within ALVgrid report
IF rs_selfield-fieldname = 'EBELN'.
Read data table, using index of row user clicked on
READ TABLE it_ekko INTO wa_ekko INDEX rs_selfield-tabindex.
Set parameter ID for transaction screen field
SET PARAMETER ID 'BES' FIELD wa_ekko-ebeln.
Sxecute transaction ME23N, and skip initial data entry screen
CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
ENDIF.
ENDCASE.
ENDFORM.
Reward ponts if found helpful...
Cheers,
Chandra Sekhar.

Similar Messages

  • How to add "x" button in window

    hi,,
    in my program I create the window
    Like :
    Windoe w =new Window ();
    I want to add "x" button to close window
    how I can do it??
    please healp me ..
    very Thanks,,

    You can just JFrame, JDialog, or create a component and draw it yourself

  • How can I add short cuts to the windows task bar and windows start menu??

    Hi guys,
    I am trying to figure out how to add stuff to the windows start menu and windows task bar. I have no clue on how to do this. Can anyone help me pliz?? one other question is that if I manage to do it some how, it will limit my program to windows right?? is there a way out of it??

    Can anyone help me pliz?? one
    other question is that if I manage to do it somehow,
    it will limit my program to windows right?? isthere
    a way out of it??Yes. Writing it in VB.I'm sorry, I'm too tired to actually read. I thought you want to limit it to Windows. No, you won't be limiting it to Windows, as your application will hopefully not crash in case there is no start menu entry or system tray icon.

  • URGENT!!!!! Back Button functionality

    Hi folks,
    I have to implement the back button functionality in swing.I have currently 4-5 screens and i navigate through them. I have to add back button on each screen. And if it is pressed user should go to previous screen and also previous screen status should be retain.I mean the fields should be populated.
    I would really appreciate if anyone can help me in this.It would be of great help anyone have code snippet.
    Thanking you in advance...Its URGENT guys...
    Regards
    ashish

    You can use Card Layout for this.

  • Worst update ever! On my Vista everything is wrong! Back button never active; If I want open pages as new tab it opens new window; FF starts with blank page instead of Google; No url address shown on status bar when I move mouse arrow on the link etc

    Worst update ever! On my Vista everything is wrong! Back button never active; If I want open pages as new tab it opens new window; FF starts with blank page instead of Google; No url address shown on status bar when I move mouse arrow on the link etc.. Please Help!

    Try the Firefox SafeMode to see how it works there. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    ''(If you're not using it, switch to the Default Theme.)''
    * You can open the Firefox 4.0+ SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    '''''If it is good in the Firefox SafeMode''''', your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes
    ''When you figure out what is causing that, please let us know. It might help other user's who have that problem.''

  • When I open a second Firefox browser window, the URL address window, instead of showing the URL, says "Go to a Web Site;" also, and more importantly, the "back" button is greyed out. This is a new problem, and the first Firefox window I open works fine.

    After I open the first Firefox browser window, any additional window I open does not open my homepage, but opens a blank page with "New Tab" showing on the tab. An orange "Firefox" tab with a drop down arrow shows at the upper left hand corner of the screen. All of the options (File, Edit, etc.) are greyed out, however they will work if you move your cursor over them.
    The URL address window says "Go to a Web Site". After I've gone to a website, the back button remains greyed out and I am not able to go back to a previous page. My RoboForm and Netcraft toolbars only show up in an abbreviate form. The add-on bar doesn't show up at all.
    Again, this is a recent problem, and only happens after I've opened one browser window (which works fine) and then open additional browser windows (as few as one additional).

    I had this same problem. Seems to be caused by the web developer tool bar FF extension (this started happening after a recent update to that extension). After disabling it, my FF is back to normal :)

  • The back button no longer works. I have disabled all add-ons, rebooted & reset the defaults for the browser and nothing has changed. This happens on all webpages.How do I get the back button to light up again?

    the back button no longer works. I have disabled all add-ons,rebooted & reset the defaults for the browser and nothing has changed. This happens on all webpages.How do I get the back button to light up again?

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    *Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    Another possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *https://support.mozilla.com/kb/Bookmarks+not+saved#w_places-database-file

  • Some of the time the back button is greyed out when i have clicked on a new link. It's not a new window or tab, and the page I came from is not even in my history!

    At first I thought I had unknowingly gone to a new tab or window, but that's not it. I haven't ruled out that I have completely lost my mind, but I'm really hoping that's not the problem, although with win 7 that seems more and more likely all the time. It seems to happen at random. I tired holding down or right clicking the back button but there is nothing. The fact that the page I came from is gone from the history seems really strange.
    Sorry for the duplicate post, see this topic: https://support.mozilla.com/en-US/questions/807937

    This issue can be caused by the McAfee SiteAdvisor extension.
    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 > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • Back button in new window not working

    When opening a new window and navigating to further pages the back button is still grey and does not work.
    When opening a new tab in the same window and navigating to further pages it works correctly.
    Therefore the problem is only when opening a new page.
    This is different to problems other people are having on this forum as they have problems on all tabs/pages.
    Mac OSX 10.4.11
    Firefox version 3.6.17

    Thanks cor-el for the reply. Your reference to Add-on was very helpful.
    It was the add-on called Image Tweak that was causing the problem.
    Just as a side point and this is aimed at Firefox, as usual the instructions within the help section of Firefox are for PCs and not Macs. The basic instruction for Safe Mode does not seem to apply to Macs even the 'Hold down shift key' instruction.
    Putting in 'Start with Safe Mode Mac' in the search facility comes up with 294 results - none about starting in safe mode.
    Thanks again cor-el.

  • Ever since i have started using the latest version 4,0,1, sometimes whe i press the back button it opens 7 tabs automaticcly. I have checked my regristry and tun several scanners but nothing can be found So whats the problem or were can i check??

    Ever since i have started using the latest version 4,0,1, sometimes when i press the back button it opens 7 tabs automaticcly. I have checked my registrey and run several scanners but nothing can be found So whats the problem or were can i check??

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • On 3 machines now the Windows Store is broken. The Install and Back buttons don't work

    Originally reported here:  http://answers.microsoft.com/en-us/windows/forum/windows8_1-windows_store/on-3-machines-now-the-windows-store-is-broken-the/8bafdc7a-a708-4012-a4f1-b98ab8788c28
    Advised to post here instead.
    Hi there
    On three separate Windows 8.1 Professional machines now, I've had an issue where the Store stops working properly for no apparent reason (no error messages or anything).  The store opens, and I can browse apps, and view individual apps, but
    once in the app view I cannot click on the Install button or the back buttons.
    They "light up" as if being pressed, but they don't actually do anything.
    I've tried all the various troubleshooting, including the Windows App troubleshooter, wsreset, re-registering the store files using powershell, and renaming the cache folder in my user profile. No effect.
    If I sign into the PCs as another user, then I don't get the issue. As such something is getting corrupted in the profile.
    We only have around 9 or 10 Windows 8.1 PCs deployed at our organisation for testing, and three of them have had this fault, which doesn't inspire confidence. As such, we cannot progress with further deployment until we have a fix in place that
    doesn't involve wiping the user profile.
    Any ideas please?

    Hi FangZhou CHEN
    I've discovered the cause of this error after much searching.
    Based on your suggestion, I checked the Event Viewer and found a string of "Application Error" entries similar to this:
    Faulting application name: WSHost.exe, version: 6.3.9600.17093, time stamp: 0x534765e9
    Faulting module name: sxwmon64.dll, version: 4.5.2608.0, time stamp: 0x52b2a853
    Exception code: 0xc0000005
    Fault offset: 0x00000000000257ff
    Faulting process id: 0xf40
    Faulting application start time: 0x01cfeeb1cc6d035e
    Faulting application path: C:\WINDOWS\WinStore\WSHost.exe
    Faulting module path: C:\WINDOWS\SYSTEM32\sxwmon64.dll
    Report Id: 19ee9a1c-5aa5-11e4-8259-600292638f85
    Faulting package full name:
    Faulting package-relative application ID:
    Presumably the WSHost,exe process is critical to the Store and "Metro" apps?
    The offending dll file causing this process to fail, sxwmon64.dll belongs to a peice of security software on our machines called Lumension Endpoint Security (we're running version 4.5 SR2). We use this to control removable media (USB) and CDRW access for
    our employees.
    If I rename that particular DLL file, the store and the calendar app which I was also having issues with (it was blank), spring back into life.

  • Cannot save open tabs when closing, instructions on "help", don't; FF4 has crashed/locked several times also. Frequently have to hit link button (or back button) twice for it to work. Had MUCH better performance from previous version (Windows 7 user)

    previous version asked if I wanted to save tabs when closing, not version 4. "Help" suggested checking setting but does NOT indicate what to check! (I cannot find any options/settings related to saving tabs upon closing). Second option was to rename two files, did so, did not allow saving tabs (just erased history). I liked saving tabs and am very frustrated by this.
    FF has crashed a couple of times, locked a couple of times (most recently I could not even stop with windows task manager, had to reboot)
    Frequently links (or "back" button) gives no response until pressed twice

    forgot to add that pages are generally much SLOWER to load with version 4 than previous version. NOT progress!

  • Close Window when Back Button is Clicked on Movie Presentation

    I have a .swf movie that is accessed through a link on a website. At the end of the movie are two buttons: one for "Back" and the other for "Replay." Thanks to the helpful people on the forum here, I have the buttons working so the Back button goes to the previous URL and the Replay button, well, replays.
    However, the Back button opens a new window. Is there a piece of Action Script 3 that I can add to the following to close the window in my .fla Action Script Window to close the window as it jumps to the URL? Here is the script.
    stop();
    var link:URLRequest = new URLRequest("urlgoeshere");
    bck_btn.addEventListener(MouseEvent.CLICK, onClick);
    function onClick(event:MouseEvent):void
    navigateToURL(link);
    play_btn.addEventListener(MouseEvent.CLICK, playMovie);
    function playMovie(event:MouseEvent)
    play();
    I don't have access to the full HTML page, so I can't use javascript. I'm working through a CMS application to add content to the website, so I need to make this window close using Action Script 3 as part of the .swf file.
    Thank you,
    Marilyn

    does it matter if you close the window?....how about just opening the page in the same page....
    use
    navigateToURL(link, "_self");
    thelegendaryghost

  • Upon updage, I cannot use back button on new windows that pop-up on link clink but back button is available on the browser window and google toolbar stopped working.

    I just updated my firefox and would really like to uninstall the update. My google toolbar is no longer compatible and I am having other issues. When I visit a site that links me to other parts of their site via new windows, the new window i get to has back and foward buttons, but I am unable to use them. Even though I have changed pages, the back button does not go bold and I am unable to get back to any previous pages. I dont have this problem with IE using the same site. I really want to keep using firefox but the new update is making it really hard!

    Extensions that may '''interfere with the Back Button''' that are already listed in [http://kb.mozillazine.org/Problematic_extensions Problematic extensions] as creating other problems
    *McAfee Site Advisor (update perhaps 3rd week July 2011)
    *Yahoo Toolbar (https://support.mozilla.com/questions/845691)
    '''Google Toolbar''' [https://support.mozilla.com/kb/Add-ons%20are%20disabled%20after%20updating%20Firefox Add-ons are disabled after updating Firefox]
    * GBookmarks (Google Bookmarks for Firefox) 25.6KB<br>https://addons.mozilla.org/firefox/addon/gbookmarks-google-bookmarks-fo/
    * http://kb.mozillazine.org/Problematic_extensions
    * '''https://support.mozilla.com/en-US/questions/837473''' <===LOOK
    * https://support.mozilla.com/en-US/questions/850863

  • The back button is there but never works. It didn't open in a new tab or window but the back button isn't functioning. I just downloaded Firefox 5.

    Actually, all my details are in that looong question I asked. ; )
    I am ready to go back to 3.6 or whatever version I had because 4 and 5 have had these issues. I tried 4 before but now that I have 5 and the same issue, I remember that I saw this before.
    As I was typing this note, I looked up and saw the back button is actually working on this site. Weird.
    Also, there isn't a button next to the back and forward so I can see my history. Where is that, now? Sometimes, I want to go back 3 or 4 pages at once without loading each page the slow way. Awww, what am I saying? You all know what I mean. :\
    I am using Windows 7 and have been using Firefox for years, so I am familiar with it and it is my only browser of choice so I hope someone can help me. Thanks in advance.

    Do you have that problem when running in the Firefox SafeMode? <br />
    [http://support.mozilla.com/en-US/kb/Safe+Mode] <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this: <br />
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]

Maybe you are looking for