ALV: selection modification information

Hi All,
In the func. mod. REUSE_ALV_LIST_DISPLAY, there is a parameter IS_SEL_HIDE.
Can anybody let me know, what is this parameter used for?
Helpful answers would be rewarded.
Thanks in advance,
Saurabh

Hi,
Please go thru the below documentation :
Selection information modification
Description
Only relevant when the layout parameter
LAYOUT-GET_SELINFOS of the IMPORTING structure IS_LAYOUT is set.
Complex type for modifying the information displayed in the selection info popup:
mode:              'R' = only the entries passed in the internal table
                          IS_SEL_HIDE-T_ENTRIES are output in the popup.
                          Selection info which the list tool read in the
                          selection screen (when called by a report with
                          a selection screen) are replaced by the values
                          passed.
                   'S' = the selection info which the list tool read in
                          the selection screen of the calling report
                          are modified by the entries in the table
                          IS_SEL_HIDE-T_ENTRIES.
t_entries:         Selection info table
t_entries-mode:   'A' = output the selection info for the current table
                         record additionally in the info popup.
                  'D' = do not output select option or SELNAME
                         parameter selection info in the popup.
t_entries-selname: (only used in t_entries-mode = 'D')
                   Name of the select option or parameter.
The following table fields are only used in t_entries-mode = 'A'. They contain the selection information to be added.
t_entries-field:  DDIC field name of the field for which selection
                   information is to be output.
t_entries-table:  DDIC table names of t_entries-field.
t_entries-stext:  Field name in info popup.
                  If t_entries-field and t_entries-table have been
                  entered, this text is taken from DDIC.
t_entries-valuf:  Selection condition 'from' value (external format)
t_entries-valut:  Selection condition 'to' value (external format)
t_entries-sign0:  (I)nclusive (E)xclusive
t_entries-optio:  All values of the select options Option field
                   allowed.
The remaining fields are used internally and are not relevant for the caller.
Thanks,
Sriram Ponna.

Similar Messages

  • ALV Report -   Selection screen information should appear in Output screen

    Hi experts,
    I am working on ALV Reports.
    I want selection screen information to appear in ouputscreen when report executed.
    Those who know the sloution pls tell  me as soon as possible.
    regards,
    Imran

    Hi Imrangs ,
    Ur requirement is not clear -
    if u want ur selection screen and the output screen on the same screen, i.e if u fill ur selection options with input and press the button then ur ALV will display on the same screen. For this try to use Screen painter, it will get resolved.
    http://www.kodyaz.com/articles/sap-abap-tutorial-alv-grid-cl_gui_alv_grid-screen-painter.aspx
    chreers
    Regards
    Neha

  • Sending selection screen information to another program.

    Hi Friends ,
                             we have a requirement here.
    I have 2 reports , each having a selection screen , and finally after entry in selection screen, the result is generated as alv reports.
    Current requirement is, in teh first report, i had to make the selection screen of the second report [ in blocl 2] along with the existing first report selection screen  [block 1]  . So, now there are two blocks  in  the first report.
    Now the requirement is , whn i fill up the selection criteria of the second report in the  screen, on execution of the report, the program should be able to collect the secelction screen information from the firts report, block 2  , and submit it in the second report, and execute the second report , and generate the output.
    I am just uncomfortable / unaware of the syntax, or code  to SUBMIT the selection screen information to the second report , from the first report.
    Can any one help me with the necesary code in the firts report to submit the block 2 information, and the code in report 2 , to receive it.
    Regards,
    Arnab.

    Hi Bala / All ,
          as per given code by you, I designed my sample code as follows. Let me tell you, I have 4 parameters in selection screen block, that I needed to send to the program zs2 from zs1.
    REPORT  ZS1.
    *DATA text TYPE c LENGTH 10.
    DATA: text TYPE c LENGTH 10,
    rspar_tab TYPE TABLE OF rsparams,
    rspar_line LIKE LINE OF rspar_tab,
    range_tab LIKE RANGE OF text,
    range_line LIKE LINE OF range_tab.
    SELECTION-SCREEN BEGIN OF block b1.
    SELECT-OPTIONS: selcrit1 FOR text,
    selcrit2 FOR text,
    selcrit3 FOR text,
    selcrit4 FOR text,
    SELECTION-SCREEN END OF block b1.
    rspar_line-selname = SELCRIT1.
    rspar_line-kind = 'S'.
    rspar_line-sign = 'I'.
    rspar_line-option = 'EQ'.
    rspar_line-low = 'ABAP'.
    APPEND rspar_line TO rspar_tab.
    rspar_line-selname = SELCRIT2.
    rspar_line-kind = 'S'.
    rspar_line-sign = 'I'.
    rspar_line-option = 'EQ'.
    rspar_line-low = 'ABAP'.
    APPEND rspar_line TO rspar_tab.
    rspar_line-selname = SELCRIT3.
    rspar_line-kind = 'S'.
    rspar_line-sign = 'I'.
    rspar_line-option = 'EQ'.
    rspar_line-low = 'ABAP'.
    APPEND rspar_line TO rspar_tab.
    rspar_line-selname = SELCRIT4.
    rspar_line-kind = 'S'.
    rspar_line-sign = 'I'.
    rspar_line-option = 'EQ'.
    rspar_line-low = 'ABAP'.
    APPEND rspar_line TO rspar_tab.
    range_line-sign = 'E'.
    range_line-option = 'EQ'.
    range_line-low = 'H'.
    APPEND range_line TO range_tab.
    range_line-sign = 'E'.
    range_line-option = 'EQ'.
    range_line-low = 'K'.
    APPEND range_line TO range_tab.
    *SUBMIT report1 USING SELECTION-SCREEN '1100'
    *WITH SELECTION-TABLE rspar_tab
    *WITH selcrit2 BETWEEN 'H' AND 'K'
    *WITH selcrit2 IN range_tab
    *AND RETURN
    SUBMIT RHALESMD
    WITH SELECTION-TABLE rspar_tab
    WITH selcrit1 IN range_tab
    WITH selcrit2 IN range_tab
    WITH selcrit3 IN range_tab
    WITH selcrit4 IN range_tab
    AND RETURN.
    In the debugging mode I can see rspar_tab  getting populated with data.I wish to know , if this process is OK, then I guess the activities in this program is done, but how do i receive this selection screen data at the zprogram 2. I mean this must have some receiving parameters / coding  at the  receiving program also!!
    Please suggest !!
    Regards,
    Arnab.

  • Variant in ALV selection screen

    Hi friends,
         How to protect a variant in ALV selection screen from changing or deleting by other users.
    Thanks,
    Rajesh

    Rajesh,
    You still need someone to be able to change the variant, right? That is what exactly PROTECT VARIANT does.
    If you select the field Protect variant, the variant can only be changed by the person who created it or last changed it.                         
    Regards,
    Ravi
    Note :Please mark the helpful answers  and close the thread if the quesiton is answered

  • HT2518 I have Windows Migration Assistant running and it is asking for me to go to Mac and open Utilities Folder... BUT on the Mac I had already started the TF process... it saw my PC, I chose it and now it says "Select the information to Transfer"

    Windows Migration Assitant is running on my PC; the Mac is running "Select the information to transfer" so I can't follow the instructions from Windows Migration Assitant. It seems like I should stop the new Mac?

    You need "sysinternal's process explorer", it is free and can replace the Microsoft process explorer, that you get by "CTRL+ALT+DELETE". Either program will allow you to kill the instances of FF that didn't die as they should have, when you closed them. Sysinternal is easier to use, it is a graphic display with many options. Do not push "CTRL+ALT+DELETE" twice unless you want to reboot, that is its default behaviour under Microsoft.

  • ALV selection in Cliam Recon report

    Hello All,
    In Cliam Recon report ( RPCLMSU0 ), we are not able to select the ALV type from the ALV selection field in the report selection screen.
    We are in ECC 5.0.
    Thanks for any responses.
    Chakri.

    The same thing happens for us, and we are on ECC 6.0.  However, you can run the program without selecting anything for that field.  Once you are in the report, go to the top menu and choose "Settings -> Layout -> Choose...".  This will give you a pop-up with selections.  You can choose All, Global, or User-specific for the Layout Setting and then choose a layout from the table below.  I hope this helps.
    Actually, it looks like there might be a coding error in the program.  The same form is used for the value request on that field as is used to check whether an entered variant exists.  That form doesn't fill anything in if the field is initial, it just looks to see if something that was entered already exists.  If you look at the source code you will see that the same form is used for "AT SELECTION-SCREEN ON VALUE-REQUEST FOR sv_alvar" as is used for "AT SELECTION-SCREEN".  You may want to consider opening a note with SAP about this.
    - April King
    Message was edited by:
            April King

  • HT2534 Apple ID alredy created now i want to remove /select Billing information as NONE after login into my account

    Hi all, Need some  help - I already registered my apple ID, can some one suggest me how to select Billing information as NONE(I dont want to link any of my credit card to apple account). pls let me know the steps to remove it
    Thanks in advance

    If you are being prompted to review your account then you could see if this post by mountaingoatgirl lets you do so without needing to enter credit card details : https://discussions.apple.com/message/24303054
    If not then you will need to provide credit card details, which you should be able to remove after entering it.

  • HT1212 where do i go to get started with the disabled phone process.  I selected the information regarding not syncing into itunes ever.  but where do I go on the site to get started

    where do i go to get started with the disabled phone process.  I selected the information regarding not syncing into itunes ever.  but where do I go on the site to get started

    You use iTunes and restore the phone from Recovery Mode. You will lose all content. http://support.apple.com/kb/HT1808

  • Selecting special information

    hi all
    i'm trying to select passport information which is in the special information form , but actually i can't reach it in the DB , so if anyone know in which table can i find these info i'd be soo pleased
    "i'm using toad "
    thanks in advance

    Try it in passport_detail table.
    What a silly question ?
    How can we know that in which table your data is? If you can not reach DB then you may not have been given rights for that.
    Contact your DBA.
    Message was edited by:
    aadi

  • ALV - Selection impossible

    Hi at all,
    we created a component using the SAP component SALV_WD_TABLE.
    On our development systems it works perfectly but we have problems at our customer. When they start the application they couldn't choose another entry in the ALV table in the view.
    On our system it is possible to choose multiple entries, but at our customer the first entry is selected and the selection couldn't be changed.
    Does anybody have an idea???
    VG
    Dirk
    Edited by: Dirk Schilling on Dec 9, 2010 3:03 PM

    Hi,
    i Would gather information regarding the difference in machines, roles..etc.
    SAP_BASIS SP levels in your company and customer machine might be different. It is possible that some of the OSS Notes that explicitly  /implicitly implemented in your dev are not available in customer machines.

  • How to select Vendor information as per the line item of the shopping cart

    SRM ABAPers,
    I want to create a custom report and needs to produce SC's item details with vendor's information.
    So I want to select the vendor information(including the partner function- 00000019 or 00000039) as per the line item of the shopping cart, which SRM table can give me this information?
    Thank you!
    MP

    Hi,
    To get the SC item details,you an use the FM 'BBP_PD_SC_GETDETAIL".
    Also to get the vendor details,you can use the FM "BBP_PARTNER_GET_PURCH_DATA_NEW".
    BR,
    Disha.
    Pls reward points for useful answers.

  • Screen Text in ALV selection screen

    A user has asked me to add some text at the bottom of a selection screen in an ALV report program. In se80 I double clicked the screen (1000) and then went into the layout and added a text field with some text in it. The system then requested a transport and added a LIMU DYNP screen object to it. The only other object in the transport is the Report Source Code.
    When I run the transport to another system the new text fields disappear from the screen object although double clicking the screen object in the transport shows they are there.
    Any ideas why they disappear??

    I have tried selection-screen comment but there appears to be a limit to the size of the text string (83) and this is not long enough for our purpose as the next needs to go right accross the page. Thanks for replying.

  • ALV selection field of displayed table is not populated properly

    Hi,
    I am using OO ALV in my screen. I have two tabs. In one tab I display one ALV output in edit mode with selection option and passing internal table field for box_selection. In the other tab I am displaying another ALV output but in display mode.
    My problem is when I switch from tab in edit mode to tab in display mode and back to tab in edit mode, then select a line on the tab in the edit mode, the method I am calling:
      CALL METHOD grid1->get_selected_rows
        IMPORTING
          et_index_rows = i_sel_alvrows[].
    would return table "i_sel_alvrows" empty.
    If i do not switch between the tabs, the ->get_selected_rows logic works perfectly.
    You reply will be greatly appreciated.
    Thanks.

    Oleg,
    I have doubt ,
    This is example:--> if you have selected a line in edit tab and going to display tab and coming back to edit tab, at the point your selected line is there in edit tab as in selected mode ?
    After freeing the container?
    aRs
    Message was edited by:
            aRs

  • Check box in ALV selection screen

    Hi to all
              I like to know how to create a checkbox in the input screen of an ALV.

    What do you mean by ALV check box selection screen?
    ALV and selection screen check box( you are mixing two cases in your Question).
    You need use the Function moduel in the user command to get the updated data.
    in fieldcatalog you have to use INPUT = 'X' and EDIT = 'X' for the columns which ever you want edit.
    GET_GLOBALS_FROM_SLVC_FULLSCR
    follow the sample code.
    REPORT ZTEST_ALV_CHECK MESSAGE-ID ZZ .
    TYPE-POOLS: SLIS.
    DATA: X_FIELDCAT TYPE SLIS_FIELDCAT_ALV,
    IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
    L_LAYOUT TYPE SLIS_LAYOUT_ALV,
    X_EVENTS TYPE SLIS_ALV_EVENT,
    IT_EVENTS TYPE SLIS_T_EVENT.
    DATA: BEGIN OF ITAB OCCURS 0,
    VBELN LIKE VBAK-VBELN,
    POSNR LIKE VBAP-POSNR,
    CHK(1),
    color(4),
    END OF ITAB.
    SELECT VBELN
    POSNR
    FROM VBAP
    UP TO 20 ROWS
    INTO TABLE ITAB.
    X_FIELDCAT-FIELDNAME = 'CHK'.
    X_FIELDCAT-TABNAME = 'ITAB'.
    X_FIELDCAT-COL_POS = 1.
    X_FIELDCAT-INPUT = 'X'.
    X_FIELDCAT-EDIT = 'X'.
    X_FIELDCAT-CHECKBOX = 'X'.
    APPEND X_FIELDCAT TO IT_FIELDCAT.
    CLEAR X_FIELDCAT.
    X_FIELDCAT-FIELDNAME = 'VBELN'.
    X_FIELDCAT-SELTEXT_L = 'VBELN'.
    X_FIELDCAT-HOTSPOT = 'X'.
    X_FIELDCAT-TABNAME = 'ITAB'.
    X_FIELDCAT-COL_POS = 2.
    APPEND X_FIELDCAT TO IT_FIELDCAT.
    CLEAR X_FIELDCAT.
    X_FIELDCAT-FIELDNAME = 'POSNR'.
    X_FIELDCAT-SELTEXT_L = 'POSNR'.
    X_FIELDCAT-TABNAME = 'ITAB'.
    X_FIELDCAT-COL_POS = 3.
    APPEND X_FIELDCAT TO IT_FIELDCAT.
    CLEAR X_FIELDCAT.
    L_LAYOUT-info_fieldname = 'COLOR'.
    *L_LAYOUT-ZEBRA = 'X'.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    I_CALLBACK_PROGRAM = SY-REPID
    IS_LAYOUT = L_LAYOUT
    I_CALLBACK_PF_STATUS_SET = 'STATUS'
    I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
    IT_FIELDCAT = IT_FIELDCAT
    TABLES
    T_OUTTAB = ITAB
    EXCEPTIONS
    PROGRAM_ERROR = 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.
    *& Form STATUS
    text
    -->P_EXTAB text
    FORM STATUS USING P_EXTAB TYPE SLIS_T_EXTAB.
    Pf status
    SET PF-STATUS 'STATUS'.
    ENDFORM. " STATUS
    *& Form USER_COMMAND
    text
    -->R_UCOMM text
    -->RS_SELFIELD text
    FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
    RS_SELFIELD TYPE SLIS_SELFIELD.
    DATA: GD_REPID LIKE SY-REPID, "Exists
    REF_GRID TYPE REF TO CL_GUI_ALV_GRID.
    IF REF_GRID IS INITIAL.
    CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
    IMPORTING
    E_GRID = REF_GRID.
    ENDIF.
    IF NOT REF_GRID IS INITIAL.
    CALL METHOD REF_GRID->CHECK_CHANGED_DATA .
    ENDIF.
    loop at itab where chk = 'X'.
    itab-color = 'C300'.
    modify itab index sy-tabix transporting color.
    endloop.
    RS_SELFIELD-refresh = 'X'.
    break-point.
    ENDFORM. "USER_COMMAND
    Regards
    Vijay Babu Dudla

  • SALV - ALV selected row Index - Not getting in second time

    I am having a ALV grid using CL_SALV_TABLE class. and its have PF-status button "Display" and user select a line and press "Display" button system will display a PDF document from content server.
    The following is the code i am using for getting index of selected row.
    My problem is user select a line for the first time i am getting the index, but user select second time i am not getting the index
    module user_command_0300 input.
      call method cl_gui_cfw=>dispatch.
      case ok_code.
        when c_hist.
          perform f_show_history.
        when others.
      endcase.
      clear ok_code.
    endmodule.                            
    then
    form f_show_history.
      data : p_wa_rows    type int4.
      data : p_i_rows     type salv_t_row.
      gr_table->get_metadata( ).
      p_i_rows = gr_selections->get_selected_rows( )." Here Its failing in second time. P_I_ROWS showing blank second time
      clear: wa_output.
      read table p_i_rows into p_wa_rows index 1.
      if sy-subrc eq 0.
        read table i_output into wa_output index p_wa_rows.
        if sy-subrc eq 0.
          perform f_display_document.
        endif..
      endif.
      refresh : p_i_rows. clear : p_i_rows.
      gr_selections = gr_table->get_selections( ).
      gr_selections->set_selected_rows( p_i_rows ).
      gr_table->refresh( ).
      call method cl_gui_cfw=>set_new_ok_code( new_code = 'REFR' ).
    endform.                                 " F_show_history
    PS : I don't want to place the button in the ALV application toolbar

    Hi Dear,
    I have some clue regarding your problem but that is in simple Alv not in oops.
    declare a first field of your internal table i.e. you are passing to alv as cell type c.
    then in layout
    add
    gs_layout-box_fieldname     =   'SEL'.
    pass this layout to alv.
    then you are able to get exact row number.
    LOOP AT gt_gi INTO gs_gi WHERE sel = 'X'.
            gs_gi-sel = ' '.
            APPEND gs_gi TO gt_gi.
            CLEAR gs_gi.
          ENDLOOP.
    Hope this clue will help you.
    Regards,
    Vijay

Maybe you are looking for

  • Is there a way to run an existing PS-JS script using external interface

    I have several previously written Photoshop JS scripts which I'd like to run through buttons on PS panels, much like the example for the HelloWorld introduction. I assume that--using external interface--I'll somehow be able to fire off these script f

  • Mac Pro/ Leopard/ Boot Camp/ XP and 2 ATI Radeon XT1900 ????

    I recently went surfaced from a hardware nightmare with my Mac Pro. I need 4 monitors on the XP pro/ boot camp side and was unble to do so using an added ATI XT1900 to my Mac Pro. The drivers would not successfully load. Also the added card buggered

  • Address Book entries deleted... then reappear!

    When I connect my address book to MobileMe, I am finding certain rogue address book entries that I want to change or delete, but they never retain the changes for very long. I delete or edit, sync to MobileMe righ away, and see the change correctly o

  • Drag and drop ALV to table control

    Hi all, Does anyone know if it is possible to program the drag-and-drop functionality from an ALV list to a table control? I would like to have this feature to let the user enter data on 1 screen. On the left part the user sees an ALV list and on the

  • Need to prepare an ABAP report!

    Hi MM Experts, I need to prepare an ABAP report on the following descriptions:- "Develop an MRP report that calculates the unrestricted stock, purchase order quantity, production order quantity, delivery quantity, planning order quantity on the basis