How to go back to an ALV display.

hello there,
i need to create an ALV report then in this ALV when i click on a custom made button,the system call a transaction. if the user press the back button,the system must redirect to the previous ALV display.
my question is how can i perform this task.
i cant access the code of the transaction been called.
thanks in advance.

thank Aditi Wason.
i have one more question. the thing is that i have not done the entire coding yet,am still investigating on my problem because i thought to be able to perform the back operation i should create a module pool.
when i call the required transaction in the first screen i must input some details and by pressing enter the system call another screen. so my second question is, will it works, as you kindly replied previously, in this situation also; that is the back operation will bring me back to the alv from the second screen in the transaction?
thank again.
Edited by: click_17 on Aug 23, 2009 7:01 AM

Similar Messages

  • How do go back to my default display color settings?  Just bought Spyder 3

    Hello out there in Genius land...
    I just purchased Spyder 3 Pro to calibrate my display monitor, but in order to do this correctly, I need to go back to my default color display settings.
    I have manually calibrated my display several times in the past in the advanced mode, so I am familiar with this process, but I am unable to figure out how to go back to the default. Can't find a default option in the color settings tab.
    Any assistance in this matter would be greatly appreciated.
    Thanks,
    Anneita

    Thank you for your quick response.
    I just checked mine since I never changed it. It shows I have two default color >displays - Color LCD.
    When I select either one, the "Delete Profile" button is grayed out. This would >indicate to me that you should also still have your "default" color profile >showing.
    Hmmmm....
    Good point about the grayed out "Delete Profile" button. I went back into my "Color" tab to check it out, and I have 4 different profiles listed:
    - 12-30-10
    - 7/29/08
    - Color LCD
    - Color NTSC (19530 Calibrated
    When I click on each of them, they show a totally different display color.
    The only one that the "Delete Profile" button is not grayed out is 12-30-10, which I made on that date. The other 3 delete buttons are grayed out. But I am thinking that my actual default may be the one that says "Color LCD" like yours.
    Is that safe to assume? What do you think?
    Thanks,
    Anneita

  • How to set selected row in alv display?

    Hi,
    How do I select some particular row in alv - say at first display i want to highlight 4th row. How can i do that?
    Thanks,
    Sheel

    try to use method set_selected_rows just after method for first display.

  • How to retive the data from ALV display when checkbox clicked

    HI.....
    suppose i have a ALV list with 3 fields and checkbox attached with it.Now if i click any of the checkbox i want to retrieve the data from a particular field from one of the 3 fields.How shal i do that....
    Kind Regards.

    hi
    use the  field catalog property wa_fcat-hotspot = 'X' and then
    in in list display
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
          EXPORTING
            i_callback_program       = g_repid
            i_callback_pf_status_set = 'PFTEST'
    i_callback_user_command  = 'USER_COMMAND_ALV
            is_layout                = l_layout
            it_fieldcat              = it_fcat[]
          TABLES
            t_outtab                 = it_outtab[]
          EXCEPTIONS
            program_error            = 1
            OTHERS                   = 2.
        IF sy-subrc <> 0.
    FORM user_command_alv USING r_ucomm     LIKE sy-ucomm
                                rs_selfield TYPE slis_selfield.
      DATA: l_index      LIKE sy-tabix.
      DATA: l_belnr      TYPE rbkp-belnr.
      DATA: l_gjahr      TYPE rbkp-gjahr.
      DATA: l_awkey      TYPE bkpf-awkey.
      DATA: lwa_bkpf TYPE bkpf.
      CLEAR g_flag.
      IF r_ucomm EQ 'CREATESO'.
        REFRESH it_outsel[].
        LOOP AT it_outtab INTO wa_outtab.
          IF wa_outtab-check = 'X'.
    delete and put in new itab.
          ENDIF.
          CLEAR wa_outtab.
        ENDLOOP.
    shiva

  • How to add push button in alv display with out class or method

    Hai,
    How to add push buttons in out put screen of ALV (tool bar) with out using classes or methods .I want to know using normal ALV .
    Thanks in advance .
    kiran

    You should post your question in the ABAP forum.
    ABAP Development

  • Download to excel from alv display

    Hi,
    How to download to excel from alv display.I am using object oriented abap for using alv.If i click export->spreadsheet i am getting fatal error and if i export->local file->spreadsheet i am getting only the column names and heading but no contents.Can anyone tell me how to overcome this problem.
    Regards,
    Sowmya.

    Hi Sowmya,
    Just put break point near FM reuse_alv_grid_display and check if internal table which is used to display output is popullated or not.
    Regards Sachin.

  • How to add an extra field in the alv display(Scope of List:ALV) for me55.

    Hello..
    I've to display 2 fields- (wbs element description) and (network description) along with the standard ALV display, for the Account Assignment type 'Q'  and 'N' of all purchase requisitions being displayed.
    I was suggested to modify the standard program RM06BF00.
    Can you please let me know where and how should I modify the program RM06BF00. Is there any userexit or badi to add my fields??
    Thanks in advance.
    With Regards,
    Him

    Hello,
    If we create a Z report for this program, can anyone please tell me where can I find the function "REUSE_ALV_GRID_DISPLAY" in the given program so that I can add my fields along with the default filelds displayed...
    Thanks
    ~Him

  • How to revert back from external display mode to laptop display mode?

    Hi, I'm new to this community. I'm not sure if this is where I should be posting my questions. Anyway, I accidentally pressed fn + f2, which switched my laptop into external display mode (I'm pretty sure), and the screen is now very narrow and small. I can't figure out how to switch it back to the laptop display mode. I tried fn + f3, which didn't do anything. I also tried the windows button + p, which wasn't the solution either (I was able to extend my desktop screen, but when I play my Steam games the screen is still very narrow and small). I'm very frustrated because I can't find any answers online. So any information would likely be helpful. Thanks in advance.
    OS: Windows 8

    Hi BorderingOnChaos,
    Fn + F2 is a toggle. You press it again to switch back. If it doesn't work, then something is wrong with your notebook's SCM (system control manager) software or EC (embedded controller) firmware.
    In the future, please do two things:
    1 - Identify your notebook because the answer may vary depending on model.
    2 - This question does not relate to the SteelSeries Engine. The correct place to ask it would be the general "Gaming Notebooks" forum if your MSI notebook is a gaming model. This "SteelSeries Engine" forum is a sub-forum under the "Gaming Notebooks" forum for the purpose of dealing with questions about it---but almost everybody new misses that. The SteelSeries Engine is used to configure keyboard macros and backlighting in MSI gaming notebooks that contain a SteelSeries keyboard as well as accessory devices from SteelSeries like gaming mice and USB headsets.
    Kind regards, David

  • How to get ALV Display with First column alone in sort

    How to get ALV Display with First column alone in sort

    HI,
    You can build Internal Table and send this to the parameter "IT_SORT".
    eg:
    "the sorting Internal Table structure is as whown below.
    DATA:  t_sort_info type slis_t_sortinfo_alv.
    "Build the Sort Internal Table
      t_sort_info-fieldname = 'CARRID'.
      t_sort_info-subtot = 'X'.
      append t_sort_info.
      t_sort_info-fieldname = 'FLDATE'.
      t_sort_info-subtot = 'X'.
      append t_sort_info.
    Then pass this "IT_SORT_INFO" table to the Function module "Reuse_alv_*". (Note send the body of the Internal table only like "<b>IT_SORT = IT_SORT_INFO[]</b>".
    Here i am making ALV output sorted on CARRID & FLDATE.
    You can specify only the First Column name for sorting.
    Regards,
    Manju
    Message was edited by:
            MANJUNATHA KS

  • How do I back up my Ipad? My Ipad, which I have been using for a few months, keeps displaying it has not been backed up and would not permit me to perform any function.

    How do I back up my Ipad? My Ipad, which I have used for a number of months, keeps displaying my Ipad has not been backed up and would not permit any other function to be performed.

    Reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • In ALV display model ,how to accept the ENTER key event?

    Dear All,
    I have used ALV by  GRID DISPLAY model ,not class model.
        CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program       = sy-repid
          i_callback_pf_status_set = 'SET_PF_STATUS'
          i_callback_user_command  = 'USER_COMMAND'
          i_structure_name         = 'T_ITAB'
          is_layout                = gs_layout
          it_fieldcat              = t_fieldcat[]
          i_default                = 'X'
          i_save                   = 'A'
        TABLES
          t_outtab                 = t_itab
        EXCEPTIONS
          program_error            = 1
          OTHERS                   = 2.
    For example :
    IN ALV DISPLAY, there are two fields, one is MATNR, the other is MAKTX.
    When user input the material value in MATNR field and press ENTER, then ALV can run my code to select the MAKTX into MAKTX field and display it synchronization.
    Now I have realized update edit in ALV,but I found only I double click ALV row, then the MAKTX can update.
    Please give me help,
    Thanks
    Sun

    This is the document written by me on Interactive ALV.. hope this maybe helpful for u..
    When an Interactive Report is needed in Classical Display, we go for AT LINE-SELECTION. But when the same is needed in ALV Display, this method won't work. Instead, we need to use other way which is explained below:
    We use REUSE_ALV_GRID_DISPLAY for ALV Display. Now, normally we call that FM in the following way:
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
           EXPORTING
                i_callback_program      = 'PROGRAM_NAME'
                it_fieldcat             = tb_fieldcat
           TABLES
                t_outtab                = tb_output.
    When it is needed to get an Interactive ALV, call the same FM in the following manner:
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
           EXPORTING
                i_callback_program      = 'ZTEST75599_1'
                it_fieldcat             = tb_fieldcat
                i_callback_user_command = 'USER_COMMAND'
           TABLES
                t_outtab                = tb_output.
    Now, in the report, create a subroutine with the name USER_COMMAND as follows:
    FORM user_command  USING p_ucomm    LIKE sy-ucomm
                             p_selfield TYPE slis_selfield.
      CASE p_ucomm.
        WHEN '&IC1'.   " &IC1 - SAP standard code for double-clicking
    Based on the requirement, write the logic                          *
      ENDCASE.
    ENDFORM.
    No need to call the subroutine as PERFORM user_command. This will be takane care by REUSE_ALV_GRID_DISPLAY. We need to just write the subroutine in the report. That suffices.
    Some more useful points for Interactive ALV:
    1. If Hotspot is needed, then that should be done by declaring hotspot (one field in slis_t_fieldcat_alv) as 'X' in tb_fieldcat which is of type slis_t_fieldcat_alv. When hotspot is active, single click will be enough or else you should double click on the output data.
    2. In Classical Display, when it is needed to read the record on which we double clicked, we do that in following way:
       AT LINE-SELECTION.
           GET CURSOR LINE wf_line. " wf_line gives the line number on which it has been clicked
             READ LINE wf_line OF CURRENT PAGE.
      But this won't work for ALV. Instead, the following logic can be used:
    FORM user_command  USING p_ucomm    LIKE sy-ucomm
                             p_selfield TYPE slis_selfield.
      CASE p_ucomm.
        WHEN '&IC1'.   " &IC1 - SAP standard code for double-clicking
          READ TABLE tb_output INTO wa_output INDEX p_selfield-tabindex.
          IF sy-subrc EQ 0.
    Based on the requirement, write the logic                          *
          ENDIF.
      ENDCASE.
    ENDFORM.

  • How can I back-up playlists on my iPod (60GB color display)?

    I got a real scare tonight. My iPod froze, got the sad mac face and I couldn't get it to reset, couldn't get iTunes to see it, etc. I finally let it charge for a few hours and it came back to life. I've had my iPod for 4 years. I know there will come a day when I may have to do a Software Restore on it. How can I back-up my playlists from my iPod? Here's my set-up:
    1) All of the music in my iTunes music library resides on an external 250GB hard drive.
    2) All of the playlists on my iPod were created on the iPod. I have 40 playlists. These playlists do not appear in my iTunes unless my iPod is connected to my computer. If I ever have to do a software restore on this, I don't want to have try and re-create these 40 playlists.
    Any ideas?
    Thanks -

    If these playlists were created on your iPod they must be "on the go" playlists.
    You can sync these back to iTunes as detailed below.
    http://support.apple.com/kb/TA27763?viewlocale=en_US
    Btw, your iPod is not an iPod classic. The classic does not come in a 60GB model.

  • After refreshing ALV display, set it to the current cell that was modified.

    Hello Experts,
    I am currently using cl_gui_alv_grid for my ALV grid display. I have 1 editable column
    which lets users input values. Now, When users press 'ENTER' in the keyboard I refresh
    the ALV display to reflect the changes done. But the display always "moves back" to the first column
    so it is tiresome to find the current cell that was modified. My question is, how do I set the ALV
    display to just "stay put" in the current cell that was modified after pressing 'ENTER'?
    Hope you can help me guys.Thank you and take care!

    Check this link
    ALV scroll bar

  • Regarding BACK button in ALV OO ABAP

    Hi ,
    I have created two screens with containers, first screen displays records in ALV grid and when user selects one or more records and clicks on release button (which i have created ), it should update the database field and displays the status report on the next screen.
    I have also done another functionality i.e., when user double clicks on a particular record, it should call the change order transaction(IW32).
    Now, the problem is when i select few records and click on release and after the status report i.e.,the secon screen is getting displayed.after coming back to the first screen if i double click on the record, it is going to the respective transaction(IW32).but when i click 'BACK' button in IW32,it is not going back at one click.i need to press so many times.then it is coming back to the first screen.
    Can anybody help me how to go back at one click.

    Hi,
    i thing the problem is in you internal table where you are selecting the record its still keeping the old selected record. you should refresh your internal table after first selection and than select for calling transaction.
    Atul

  • How to set Callback Status in ALV OO

    Hi All,
    I need to find the method or object to use to set the callback status to my program so I may use forms that I have developed.
    How do i do that?
    thanks
    KW
    TRY.
            CALL METHOD cl_salv_table=>factory
              IMPORTING
                r_salv_table = gr_alv
              CHANGING
                t_table      = gt_dev_task_display.
            PERFORM f_display_settings.
            gr_alv->set_screen_status(
            pfstatus = 'ZALV_STANDARD_KW'
            report = sy-repid
            set_functions = gr_alv->c_functions_all ). "set all basic ALV funtions
            gr_events = gr_alv->get_event( ).
    **... optimize the column widths
            TRY.
                lr_columns = gr_alv->get_columns( ).
                lr_columns->set_optimize( 'X' ).
              CATCH cx_salv_not_found.                      "#EC NO_HANDLER
            ENDTRY.
    *   get layout object
            lo_layout = gr_alv->get_layout( ).
    *   set Layout save restriction
    *   1. Set Layout Key .. Unique key identifies the Differenet ALVs
            ls_key-report = sy-repid.
            lo_layout->set_key( ls_key ).
    *   2. Remove Save layout the restriction.
            lo_layout->set_save_restriction( if_salv_c_layout=>restrict_none ).
            lo_layout->set_default( abap_true ).
            gr_functions = gr_alv->get_functions( ).
            gr_functions->set_all('X').
            gr_functions->set_group_filter( value = if_salv_c_bool_sap=>false ).
            gr_alv->get_display_settings( ).
            gr_alv->display( ).
          CATCH cx_salv_msg.
            MESSAGE 'ALV Display Not possible'(w02) TYPE 'I' DISPLAY LIKE 'E'.
        ENDTRY.

    Namish,
    thank you for the reply.
    I have created the handle class but the issue I am having is in the PAI becuase the callback status is not set it keep going back to the SAPLSVC_FULLSCREEN pai and not to the PAI that I would like.
    What I am trying to achieve can be done with this code:
    * call list viever
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_user_command  = gc_user_command
          i_callback_pf_status_set = gc_pf_status
          I_BYPASSING_BUFFER       = 'X'
          i_background_id          = 'ALV_BACKGROUND'
          i_callback_program       = gv_repid
          i_default                = 'N'           "use gs_variant
          it_event_exit            = gt_event_exit
          it_fieldcat              = gt_fieldcat
          is_layout                = gs_layout
          i_save                   = gv_save
          is_variant               = gs_variant
          it_special_groups        = gt_special_groups
        TABLES
    *      t_outtab                 = gt_report_list.
          t_outtab                 = gt_report_list2.
    the variable gc_user_command will bring it back to my calling program USER_COMMAND, this is what I am trying to achieve in OO
    Thank you!

Maybe you are looking for