The Problem is about Standard Back Button Function in Report Program

The Problem is about Standard Back Button Function in the Report Program.
       In the Report,First call screen Then Using "write" output some information,That is ok. but In the GUI When I press back button that is standard button,it exit screen to program.
       My question is how can i do When i press back button,the screen can be back forward first screen instand of exit screen to program.  Thanks .

This problem is solution.I call screen using T-code and submit report In PAI,at last return to PAI.That is OK.

Similar Messages

  • The Problem is about Standard Back Button Function in the Report Program.

    The Problem is about Standard Back Button Function in the Report Program.
    In the Report,First call screen Then Using "write" output some information,That is ok. but In the GUI When I press back button that is standard button,it exit screen to program.
    My question is how can i do When i press back button,the screen can be back forward first screen instand of exit screen to program. Thanks .

    Hi,
    You can define your own PF-STATUS and in that assign the function code for BACK button anything except 'BACK'.
    The code would somewhat look like this:
    SET PF-STATUS 'TEST'.
    write : itab-col1,
               itab-col2.
    in the PF-STATUS 'TEST', assign the function code to BACK button as 'BCK'.
    Now in your program you can use the event AT USER-COMMAND.
    In this you can handle the functionality of BACK button.
    Hope this helps.
    Regards,
    Himanshu

  • My ipad is jammed.... the screen is about icloud back up. "this ipad hasn't been back up for two weeks.bla2... but the problem is my screen is locked . i couldnt do any thing ! please help me .....

    my ipad is jammed.... the screen is about icloud back up. "this ipad hasn't been back up for two weeks.bla2... but the problem is my screen is locked . i couldnt do any thing ! please help me .....

    if you can not unlock your ipad, you need to plug it into itunes and do a restore.
    If it will not ben able to restore you need to put it in dfu mode (holding down power and home for 10 seconds untill the screen goes completly blank) and then itunes will say it is in 'recovery'. Try that

  • Re: [iPlanet-JATO] Back Button functionality

    Hi Mike,
    Our test environment does not include proxy server.
    regards,
    syam.
    Please respond to [email protected]
    cc:
    Subject: Re: [iPlanet-JATO] Back Button functionality
    Guys,
    Please clarify something for me, the JATO code is commented as follows
    protected void addResponseHeaders(RequestContext requestContext)
    // These values should make any proxy between the client and
    // server avoid caching, and ensure that pages from one user
    // can never be seen by another user (if they're cached anyway)
    requestContext.getResponse().addHeader("Pragma","no-cache");
    requestContext.getResponse().addHeader
    ("Cache-Control","private");Yet you make no mention of whether your test environment includes a Proxy
    Server, or does your browser
    go directly to the Application Server's web server?
    Can you clarify, please?
    ----- Original Message -----
    From: <syam_reddy@p...>
    Sent: Wednesday, April 25, 2001 2:59 PM
    Subject: [iPlanet-JATO] Back Button functionality
    >
    Hi,
    We observed the following difference in behaviour between JATO pages
    and NetD served pages.
    We have the following scenario. User will login to the
    site. After login he will get a frame set. This frame set has threeframes.
    Top and bottom frames are used for navigation (to switch between various
    sections on the site.) .The middle frame(main frame) shows the actual
    content. When the the frame set gets loaded main frame shows page1. User
    will click on a link on page1. Page 2 will be loaded in main frame. Atthis
    point if the user clicks on back button , with migrated application(JATO
    pages) the following message appears in the main frame.
    In Netscape Communicator 4.61 the following message appears in the main
    frame :
    Data Missing
    This document resulted from a POST operation and has expired fromcache.If
    you wish you can repost the form data to recreate the document by
    presenting the reload button.
    In IE 4.72/5.5 the following message appears in the main frame:
    Warning : Page has Expired
    The page you requested was created using information you submitted in a
    form.This page is no longer available.As a security precaution, Internet
    Explorer does not automatically resubmit your information for you. To
    resubmit your information and view the web page click teh refresh button.
    However, in the NetD site page1 will appear in main frame.
    How do we mimic the NetD behaviour with the migrated
    applications ?
    We think the above behaviour with migrated Apps, is due to the
    headers that are get set in Application ServletBase , see the following
    code snippet :
    protected void addResponseHeaders(RequestContext requestContext)
    // These values should make any proxy between the client and
    // server avoid caching, and ensure that pages from one user
    // can never be seen by another user (if they're cached anyway)
    requestContext.getResponse().addHeader("Pragma","no-cache");
    requestContext.getResponse().addHeader
    ("Cache-Control","private");
    If we comment the above code , we were able to mimic theNetD
    behaviour. Are there any alternatives/thoughts on how to mimic the NetD
    behaviour ?
    Thanks in Advance,
    syam&ravi.
    [email protected]
    [email protected]

    OK, here's what I'm trying to do: We have, like you said, a menu
    page. The pages that it goes to and the number of links are all
    variable and read from the database. In NetD we were able to create
    URLs in the form
    pgXYZ?SPIDERSESSION=abcd
    so this is what I'm trying to replicate here. So the URL that works
    is
    pgContactUs?GXHC_GX_jst=fc7b7e61662d6164&GXHC_gx_session_id_=cc9c6dfa5
    601afa7
    which I interpreted to be the equivalent of the old Netd way. Our
    javascript also loads other frames of the page in the same manner.
    And I believe the URL-rewritten frame sources of a frameset look like
    this too.
    This all worked except for the timeout problem. In theory we could
    rewrite all URLs to go to a handler, but that would be...
    inconvenient.

  • 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.

  • Standard BACK button

    Hi all,
          In IC_AGENT the standard BACK button is not working. in first screen after searching Business partner, if i go to second screen the standard "BACK" button is not filling in "BSPWD_BASICS". can any one help me how to activate standard back button.

    Hi,
    Check these threads it would be helpful,
    "Back"-Button History in Z*Window
    navigating back
    How to simulate the history back/forward button (top-right) in a view
    Transaction launcher: open URL in new window
    Regards,
    Shobhit

  • Can you use the native GTK Forward and Back buttons instead of the default ones?

    Hello!
    On old versions of Firefox, the default theme always used the native GTK forward and back buttons. Ever since I updated Firefox, it overwrites these with its own arrow. Does anyone happen to know off the top of their head if it's reversible?

    It looks like the GTK theme was not updated to support versions of Firefox after version 29. Have you contacted the developer about this as well?
    Looking for a hack you may find more answers in mozillazine.org.

  • I downloaded latest update of iTunes (windows 7, 64bit) and have now the problem runtime error R6025 pure virtual function call (Microsoft Visual C   runtime library) - Who would have a solution to that problem? Thanks *********

    I downloaded latest update of iTunes (windows 7, 64bit) and have now the problem runtime error R6025 pure virtual function call (Microsoft Visual C   runtime library) - Who would have a solution to that problem?
    Thanks from Switzerland
    <Edited by Host>

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it, which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    (I've asked the hosts to remove your email address)
    tt2

  • My airport is turned itself off and lose contact with my wifi router, trying to turn it on again will not work, I have to restart my Mac for it to work again, but after 5 minutes, the problem is to go back again.

    my airport is turned itself off and lose contact with my wifi router, trying to turn it on again will not work, I have to restart my Mac for it to work again, but after 5 minutes, the problem is to go back again.

    Hi ..
    Follow the instructions for resetting the SMC >  Intel-based Macs: Resetting the System Management Controller (SMC) - Apple Support

  • Using Back Button after Display Report

    Hi,
    Need an advice, i need to customize the standard BACK button after report had been displayed, trying to use AT USER-COMMAND, but still not avail..
    anyone can come with example will help me a lot.
    Thanks

    Hi badz lee,
    Just change the function code 'BACK' to 'ZBACK' in your custom GUI staus.
    Then write your own logic for the custmer needs.
    Hope this code helps.
    *& Report  ZVK_TEST
    REPORT  zvk_test.
    TABLES:ekko."for select option only
    SELECT-OPTIONS:s_ebeln FOR ekko-ebeln.
    DATA:lt_ekko TYPE TABLE OF ekko,
         lw_ekko TYPE ekko.
    START-OF-SELECTION.
      SET PF-STATUS 'STLI'."copy status STLI of program SAPMSSY0.
      SET TITLEBAR 'TITLE'.
      SELECT * INTO TABLE lt_ekko
        FROM ekko
        WHERE ebeln IN s_ebeln.
      LOOP AT lt_ekko INTO lw_ekko.
        WRITE:/ lw_ekko-ebeln,
                lw_ekko-bukrs,
                lw_ekko-bstyp,
                lw_ekko-bsart.
      ENDLOOP.
    END-OF-SELECTION.
    AT USER-COMMAND.
      CASE sy-ucomm.
        WHEN 'ZBACK'.
          PERFORM back_function."Your logic
        WHEN OTHERS.
      ENDCASE.
    *&      Form  BACK_FUNCTION
    FORM back_function .
      LEAVE PROGRAM.
    ENDFORM.                    " BACK_FUNCTION

  • How to keep the field open for input with error message in report program

    Hi,
      Need a help in solving the below issue.
    "How to keep the field open for input with error message in report program"
    Regards,
    C.Shasiraj.

    Hi...
    you have to use the event:
    <b>AT SELECTION-SCREEN ON <FIELD> EVENT.</b>
    u have to give an error message in this event.
    Consider the following <b>Example:</b>
    <b>PARAMETERS : NUMBER TYPE I.
    AT SELECTION-SCREEN ON NUMBER.
      IF NUMBER = 10.
        MESSAGE 'Number vakue is 10' TYPE 'E'.
      ENDIF.
    START-OF-SELECTION.
      WRITE NUMBER.
    </b>
    in this if u give the value of number = 10, it will not proceed further, if u give some other value other than 10 you will proceed further...
    Execute this program once u will understand....
    also Consider the following links :
    <b>Regarding events:</b>
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/79/34a237d9b511d1950e0000e8353423/frameset.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/79/34a23ad9b511d1950e0000e8353423/frameset.htm
    <b>Regarding messages:</b>
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/c5/aa575426ad11d2954d0000e8353423/frameset.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/c5/aa575426ad11d2954d0000e8353423/frameset.htm
    This is very useful.......
    Reward points if useful....
    Suresh....

  • ALV problems, trying to click Back button, Filtering, download (Excel)

    Hi
    When I try to click Back button, Filtering or download (Excel) on ALV grid this dumps appear:
    Runtime Error          MOVE_TO_LIT_NOTALLOWED_NODATA
    Error analysis
        The program tried to assign a new value to the field "<L_BOX>" even though
        it is protected against changes.
        The following objects are protected:
        - Character or numeric literals
        - Constants (CONSTANTS)
        - Parameters of the category IMPORTING REFERENCE for functions
          and methods
        - Untyped field symbols to which a field has not yet been assigned
          using ASSIGN
        - TABLES parameters if the corresponding actual parameter is protected
          against changes
        - USING reference parameters and CHANGING parameters for FORMs if
          the actual parameter for this is protected against changes
        - Field symbols if the field assigned using ASSIGN or ASSIGNING
          is protected against changes
        - External write accesses to READ-ONLY attributes
        - Key components of lines in internal tables of the type HASHED or
          SORTED TABLE
          SORTED TABLE.
    Line  SourceCde
    681 * set/unset <box> of all items
    682     if l_ucomm eq '&SAL' or l_ucomm eq '&ALL'.
    683       if l_ucomm eq '&SAL'.
    684         loop at t_outtab.
    685           l_tabix = l_tabix + 1.
    ->>>           <l_box> = ' '.
    687           modify t_outtab index l_tabix.
    688         endloop.
    689       endif.
    690       if l_ucomm eq '&ALL'.
    691         loop at t_outtab.
    692           l_tabix = l_tabix + 1.
    693           <l_box> = 'X'.
    694           modify t_outtab index l_tabix.
    695         endloop.
    696       endif.
    What I must check on my ALV settings:
    ch_alv_layout-zebra          = 'X'.
      ch_alv_layout-box_fieldname  = 'SELE'.
      ch_alv_layout-box_tabname    = v_nametab.
      ch_alv_layout-reprep         = 'X'.
      ch_alv_layout-info_fieldname = 'COLOR'. "infofield for listoutput
      ch_alv_layout-colwidth_optimize = 'X'.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program = sy-repid
          is_layout          = ch_alv_layout
          it_fieldcat        = ch_alv_fieldcat
          it_sort            = ch_alv_sortinfo
          i_save             = 'X'
          it_events          = ch_slis_event
        TABLES
          t_outtab           = p_control
        EXCEPTIONS
          program_error      = 1
          OTHERS             = 2.
    Thanks in advance.

    ch_alv_layout-info_fieldname = 'COLOR'. "infofield for listoutput
      ch_alv_layout-colwidth_optimize = 'X'.
    try commenting the above values.and also check the Fieldcatlog.
    Check the issue similar issue was resolve by checking catalog and layout:
    [ALV Issue solution|Re: Problem when export ALV.]
    Regards,
    Gurpreet

  • Had problem with bookmarks, history, back button and google links not working.

    For the last five days i've had problems with firefox. First, i noticed that it was running incredibly slowly and then that all the links in the google search were not working. Then i noticed that neither was the history, bookmarks or back button. I went on to facebook chat to ask for help. First, I was told to reinstall firefox, which didn't work. Then i was told to do a "clean" install where you rename the old firefox folder in the programs folder so that it makes sure when it's installed that everything is new and nothing is corrupted. That didn't work either. I then disabled my antivirus software and firewall to see if that was causing the problem. It was not. Then I installed an anti-malware program to remove any adware or spywar,e which it did remove from my computer, but it didn't solve the problem. The chat person was at a loss and I don't blame him/her because so was I.
    The reason I'm writing this is in case anyone else has the same problem. The only way I solved it was first by uninstalling and making sure to check the little box asking if you want all personal data and such associated with firefox also removed (which removes cookies as well) and then I finally thought to delete all the cookies from the rest of my computer also. Once all the cookies were gone and i had fully uninstalled firefox and personal data, I reinstalled it with a newly downloaded file and it is once again functioning properly. Hope this is helpful to anyone who's been ripping their hair out. :)

    '''I have the same problem!!
    But in my case, not just Google links.
    The problem happens with all the websites links.
    Please...
    Help us!!
    Thnx'''

  • Problems with Next and Back Buttons ActionScript 3.0

    Hi,
    I have set up a Back, Play and Next buttons in a slideshow I am making.  The next and back buttons work correctly until it gets to the end. 
    If I press the Next button it goes back to what appears to be Frame 1 and will not go to the next slide. If I press the Back button it will then go to Frame 201 and If I press next again it will go to Frame 1.  It will only go back and forth in between those frames.
    If I press the Back button from the beginning it goes through the slide show correctly then it gets stuck at Frame 1.  If I press next button it goes to Frame 121 and gets stuck in between 121 and 1.
    I can't figure this out please help.
    My code on Frame 1 is:
    stop();
    play_btn.addEventListener(MouseEvent.CLICK,playslideshow);
    function playslideshow(event:MouseEvent) { gotoAndPlay(2); }
    forward_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_2);
    function fl_ClickToGoToAndStopAtFrame_2(event:MouseEvent):void
      gotoAndStop(40);
    back_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_8);
    function fl_ClickToGoToAndStopAtFrame_8(event:MouseEvent):void
      gotoAndStop(281);
    My code on Frame 40 is:
    forward_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_7);
    function fl_ClickToGoToAndStopAtFrame_7(event:MouseEvent):void
      gotoAndStop(121);
    back_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_9);
    function fl_ClickToGoToAndStopAtFrame_9(event:MouseEvent):void
      gotoAndStop(1);
    My code on Frame 121 is:
    forward_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_3);
    function fl_ClickToGoToAndStopAtFrame_3(event:MouseEvent):void
      gotoAndStop(201);
    back_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_10);
    function fl_ClickToGoToAndStopAtFrame_10(event:MouseEvent):void
      gotoAndStop(40);
    My code on Frame 201 is:
    forward_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_4);
    function fl_ClickToGoToAndStopAtFrame_4(event:MouseEvent):void
      gotoAndStop(281);
    back_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_11);
    function fl_ClickToGoToAndStopAtFrame_11(event:MouseEvent):void
      gotoAndStop(121);
    My code on Frame 281 is:
    forward_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_5);
    function fl_ClickToGoToAndStopAtFrame_5(event:MouseEvent):void
      gotoAndStop(1);
    back_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_12);
    function fl_ClickToGoToAndStopAtFrame_12(event:MouseEvent):void
      gotoAndStop(201);

    I found the solution!  Flash CS5 Tutorial 6 Click On Button Go To Another Frame.avi - YouTube
    I had to Convert to Keyframes each frames I wanted to jump to on the buttons layer.  Then highlight the button and give each another instance name! Like forward1_btn, forward2_btn, back1_btn, back2_btn...  I did that and adjusted the action-script for each button.
    Frame 1
    stop();
    play_btn.addEventListener(MouseEvent.CLICK,playslideshow);
    function playslideshow(event:MouseEvent)
    gotoAndPlay(2);
    forward1_btn.addEventListener(MouseEvent.CLICK, Shoot_1);
    function Shoot_1(event:MouseEvent):void
      gotoAndStop(40);
    back1_btn.addEventListener(MouseEvent.CLICK, Back_1);
    function Back_1(event:MouseEvent):void
      gotoAndStop(281);
    Frame 40
    forward2_btn.addEventListener(MouseEvent.CLICK, Shoot_2);
    function Shoot_2(event:MouseEvent):void
      gotoAndStop(121);
    back5_btn.addEventListener(MouseEvent.CLICK, Back_5);
    function Back_5(event:MouseEvent):void
      gotoAndStop(1);
    And so on...

  • Problem in Back Button in ALV report

    Hi Team,
    I have created a report which has a selection screen. Based on the input I am showing an ALV OO grid in my custom screen 0100. Now In the system toolbar on my 0100 screen I have enabled back, up and exit button. On click of which I am wrting 'LEAVE TO SCREEN 0. '
    But it doesn't take me to the selection screen. Rather it throws me out of the transaction. Can anybody
    suggest me a command so that when I click on back button it will take to the selection screen.
    Thanks,
    Mainak

    Hi,
    Go through given program it is very usefull for you,
    ***Correct your program as follows...
    PROGRAM rsolett1 MESSAGE-ID sy.
    TYPE-POOLS: slis.
    data: repid like sy-repid.
    DATA: w_fieldcat TYPE slis_fieldcat_alv,
    t_fieldcat TYPE slis_t_fieldcat_alv.
    DATA: w_listheader TYPE slis_listheader,
    t_listheader TYPE slis_t_listheader.
    DATA: BEGIN OF t_output OCCURS 0,
    slno TYPE char10,
    name TYPE char10,
    lino TYPE char10,
    prof TYPE char10,
    addr TYPE char10,
    fanm TYPE char10,
    plbu TYPE char10,
    END OF t_output.
    w_fieldcat-col_pos = 1.
    w_fieldcat-fieldname = 'SLNO'.
    w_fieldcat-seltext_m = 'SERIAL NUMBER'.
    APPEND w_fieldcat TO t_fieldcat.
    CLEAR w_fieldcat.
    w_fieldcat-col_pos = 2.
    w_fieldcat-fieldname = 'NAME'.
    w_fieldcat-seltext_m = 'NAME'.
    APPEND w_fieldcat TO t_fieldcat.
    CLEAR w_fieldcat.
    w_fieldcat-col_pos = 3.
    w_fieldcat-fieldname = 'LINO'.
    w_fieldcat-seltext_m = 'LICENCE NUMBER'.
    APPEND w_fieldcat TO t_fieldcat.
    CLEAR w_fieldcat.
    w_fieldcat-col_pos = 4.
    w_fieldcat-fieldname = 'PROF'.
    w_fieldcat-seltext_m = 'PROFESSION'.
    APPEND w_fieldcat TO t_fieldcat.
    CLEAR w_fieldcat.
    w_fieldcat-col_pos = 5.
    w_fieldcat-fieldname = 'ADDR'.
    w_fieldcat-seltext_m = 'ADDRESS'.
    w_fieldcat-do_sum = 'X'.
    APPEND w_fieldcat TO t_fieldcat.
    CLEAR w_fieldcat.
    w_fieldcat-col_pos = 6.
    w_fieldcat-fieldname = 'FANM'.
    w_fieldcat-seltext_m = 'FATHER NAME'.
    APPEND w_fieldcat TO t_fieldcat.
    CLEAR w_fieldcat.
    w_fieldcat-col_pos = 7.
    w_fieldcat-fieldname = 'PLBU'.
    w_fieldcat-seltext_m = 'PLACE OF BUSSINESS'.
    APPEND w_fieldcat TO t_fieldcat.
    CLEAR w_fieldcat.
    *PUPULATING TOP-OF-PAGE.
    w_listheader-typ = 'H'.
    w_listheader-info = 'FORMA'.
    APPEND w_listheader TO t_listheader.
    CLEAR w_listheader.
    repid = sy-repid.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    i_callback_program = repid
    i_callback_pf_status_set = 'SET_PF_STATUS'
    i_callback_user_command = ' '
    i_callback_top_of_page = 'SUB_TOP_OF_PAGE'
    it_fieldcat = t_fieldcat
    i_default = 'X'
    TABLES
    t_outtab = t_output.
    FORM set_pf_status USING rt_extab TYPE slis_t_extab.
    SET PF-STATUS 'ZPFSTATUS'.
    ENDFORM.
    Edited by: Ganesh Modhave on Aug 12, 2008 1:06 PM
    Thanks&Regards,
    Naresh kumar

Maybe you are looking for

  • I have created a site but can't open it in iweb after it has been done.

    I created a site using iweb, and then tried one of the free templates that a website was offering. After I open the template I was no longer able to open the site I created. I can locate the files in the Sites folder, but it will not allow me to open

  • Can I make DVD with out themes appearing in it

    Thank you for helping. I'm just a young kid living in an old man's body fighting with his first computer. My goal is to make a DVD (from IMOVIE) without any themes in it, but can't find way to simply burn the disc without going thru a theme. Thanks 4

  • AOL Mail

    One thing I miss about my AOL mail account with Apple is that I can't tell when someone picks up the mail I sent them. That would be awesome if Apple would make that available in my mail account in a separate column. Thanks !

  • No metadata in created forms

    We've just started using LifeCycle to create editable forms. All is OK except that no metadata (that is in anyway useful or visible) is either in the files once they're created or allowed to be added. Not even a title. This is not good for our web se

  • Nokia 6085 playlist

    Been here for hours trying to figure this mother out. I can get songs onto my memory card but it only plays one song at a time. I have the settings at Continuous play but it doesn't help - one song at a time. I also can't figure out the Playlists. I