Multiple rows in interactive reports?

Can we click on multiple rows at a time in interactive reports??
If yes how.....
Would reward.
thanks

alchemi,
    u can use that one by using the  hide stmt on the desired two fields.
And in the first secondary list, u can put a if condition for the hided fields. so that if the condition is satisfied u can process a set of commands else process the other block of commands.
Regards...
Arun.
Reward points if useful.

Similar Messages

  • How to select multiple row in ALV report

    Hi friends,
    1. How to select multiple row in ALV report
                   ( How to set tab in ALV report and want to select multiple line.)
    Thanking you.
    Subash

    Hi Sahoo,
    If you are using the class CL_GUI_ALV_GRID. In methods SET_TABLE_FOR_FIRST_DISPLAY.
    in layout structure you will find field SEL_MODE
    pass :
    LS_LAYOUT-SEL_MODE = 'A'.
    In PAI.
      CALL METHOD GRID->GET_SELECTED_ROWS
        IMPORTING
          ET_INDEX_ROWS = T_ROWS
          ET_ROW_NO     = T_ROWID.
    Hope these will solve your problem.
    Regards,
    Kumar M.

  • Multiple selection in interactive reports

    hi,
    how can we do multiple selection in interactive reports using check box?
    my first list will have a list of account numbers along with the check box. if few check boxes are clicked then the other fields from the table for the checked account numbers . kindly help me with this.

    Hi,
    REPORT zbcd .
    data : BEGIN OF ITAB OCCURS 0,
            VAR1(4) TYPE C,
            VAR2(4) TYPE c,
           END OF ITAB,
           LINE1 TYPE I,
           VAR3(4) TYPE C,
           VAR4(4) TYPE C,
           FLAG TYPE C,
           CURRENT TYPE I.
    data : BEGIN OF WA OCCURS 0,
           XYZ(100) TYPE C,
           END OF WA.
    MOVE: '1234' TO ITAB-VAR1,
          'ABCD' TO ITAB-VAR2.
    APPEND ITAB.
    MOVE: '5678' TO ITAB-VAR1,
          'EFGH' TO ITAB-VAR2.
    APPEND ITAB.
    MOVE: '9999' TO ITAB-VAR1,
          'IJKL' TO ITAB-VAR2.
    APPEND ITAB.
    SET PF-STATUS 'BUTTONS'.
    *HERE PF-STATUS CONSIST OF PUSHBUTTON WITH USERCOMNAD 'DISP'.
    LOOP AT ITAB.
    WRITE: / FLAG AS CHECKBOX, ITAB-VAR1, ITAB-VAR2.
    ENDLOOP.
    DESCRIBE TABLE ITAB LINES LINE1.
    REFRESH ITAB.
    CLEAR ITAB.
    CURRENT = 0.
    CLEAR: VAR3, VAR4.
    AT USER-COMMAND.
    CASE SY-UCOMM.
    WHEN 'DISP'.
    DO LINE1 TIMES.
    CURRENT = SY-INDEX + 2.
    READ LINE CURRENT LINE VALUE INTO wa.
    IF wa-XYZ(1) EQ 'X'.
      WRITE: wa-XYZ+2(4) TO VAR3,
             wa-XYZ+7(4) TO VAR4.
      WRITE: VAR3 TO ITAB-VAR1,
             VAR4 TO ITAB-VAR2.
      APPEND ITAB.
    ENDIF.
    ENDDO.
    ENDCASE.
    THEN U SECONDARY LIST VALUE SELECTION TAKES PLACE
    SELECT * FROM MARA INTO TABLE ITMARA FOR ALL ENTRIES IN ITAB WHERE MATNR = ITAB-MATNR.
    LOOP AT ITMARA.
    WRITE:-----FIELDS TO BE DISPLAY IN OTHER LIST...
    ENDLOOP.
    *NOTE :-1.PLEASE EXECUTE ABOVE PROGRAM WITH OUT CHANGES IN DEBUG MODE TO CLEARLY UNDERSTAND. 
    2.ALSO U CAN MOVE ABOVE ITAB REQUIRED FIELD VALUES INTO ONE OF INTERNAL TABLE(BY LOOPING) WHICH IS LIKE SELECTOPTIONS MARA-MATNR(ie TB_MATNR) AND USE*
    (AND INSTEAD OF VAR1 AND VAR3 U CAN PLACE THE MATNR)
    SELECT * FROM MARA INTO TABLE ITMARA WHERE MATNR IN TB_MATNR.*
    Edited by: Vijay Mekala on Feb 1, 2008 5:16 PM

  • Deleting multiple rows in a report ?

    db11gxe  , apex 4.0 , firefox 24 ,
    how to delete multiple rows in a report at one time ?
    thanks

    Hi newbi_egy,
    Here is a small demo with few steps that can be used in your scenario-
    1) Below is the query of a report on emp table which has empno column with unique values-
    SELECT APEX_ITEM.CHECKBOX(1,empno) " ", ename, job FROM   emp ORDER  by 1
    2) A Delete button is created that submits the page.
    3) An on-submit process is created with Process point On Submit - After Computation and Validations with condition that the below process runs when Delete button clicked.
    BEGIN
    FOR i in 1..APEX_APPLICATION.G_F01.count
    LOOP
    delete from emp where empno=APEX_APPLICATION.G_F01(i);
    END LOOP;
    END;
    I hope this might help you.
    Regards,
    Das123

  • Want to update multiple rows of the report but getting a bug.

    hi,
    I am trying to update multiple rows of a report.For that I have created a teport with dynamic checkbox generated using ---HTMLDB_ITEM.CHECKBOX(1,utt.trouble_ticket_id) " "----.Checkboxes are rendered perfectly on the report.
    but when I tried to update the selected rows of the report as given in the documentation
    begin
    :P16_priority:=htmldb_application.G_F01.count;
    for i in 1..htmldb_application.G_F01.count
    loop
    update umanage_trouble_ticket set severity =:P16_priority where
    trouble_ticket_id = htmldb_application.G_F01(i);
    end loop;     
    end;
    I found that all the rows are updated.not only selected rows.
    and the count it gives =no of rows returned + no of rows selected.
    Please help me regarding this.
    thanx.
    BHARAT

    Hi Bernhard,
    I think that u didnt get y problem.
    When I take the value from "htmldb_application.g_f01(i)" then it should return id's of rows that are checked but when I do that it returns id's of all the rows.So I am not able to update only checked rows.
    from id's of rows i mean value provided when generating checkboxes through query.
    htmldb_item.checkbox(1,trouble_ticket_id) " "
    I am approching to the solution as specified in the documentation. "Adding check boxes to each row in a report".
    but still cant find any solution.
    thanx that u showed some intrest in my problem.
    If u can get the solution reply soon.
    Regards
    BHARAT

  • Hide filter type - row in interactive report

    Hello all,
    how can I deactivate or hide the filter type - row in interactive report and the only option to be filter type - column?
    Is it possible with some javascript?
    Thanks in advance !

    The CSS approach works fine, but I made some improvements:
    1. CSS-Selector is case sensitive
    2. Only select the label with the attribute for="apexir_FILTER_TYPE". Attention: the CSS-Selector for the for-attribute works in IE and Firefox different
    /* Hide IR Filter Type Row */
    #apexir_FILTER_TYPE {
    display:none;}
    /* IE */
    label[htmlFor="apexir_FILTER_TYPE"] {
    display:none;}
    /* Firefox */
    label[for="apexir_FILTER_TYPE"] {
    display:none;}

  • Multiple Radiobuttons per row in Interactive Report

    I added some code per Vincent Deelen's "Using radio buttons in an APEX report"
    Vincent Deelen: Using radio buttons in an APEX report
    This works just like his blog says it will with one problem.
    My interactive report has more than one page of data. Whenever I click to go to the
    second page of data, the click event on the radiobuttons in the dynamic action no longer works.
    I leave the page items that stores my key values unhidden and they do not change once I change pages in my interactive report.
    Any ideas as to what to do or something I am missing.
    Apex 4.2.1
    Oracle 11g database
    blue responsive theme 25
    Here is my query
    select q_cev,
           apex_item.radiogroup(p_idx            => rownum,
                                p_value                    => 'Y',
                                p_selected_value      => gmpick_flag01,
                                p_display                 => 'Yes',
                                p_attributes              => 'class="gmpickflag01 flagY"')
                                as RBYES,
           apex_item.radiogroup(p_idx            => rownum,
                                p_value                    => 'N',
                                p_selected_value      => gmpick_flag01,
                                p_display                 => 'No',
                                p_attributes              => 'class="gmpickflag01 flagN"')
                                as RBNO,
           apex_item.radiogroup(p_idx            => rownum,
                                p_value                    => 'U',
                                p_selected_value      => decode(gmpick_flag01,null,'U',
                                                                    'U','U',gmpick_flag01),
                                p_display                => 'Undecided',
                                p_attributes             => 'class="gmpickflag01 flagU"')
                                as RBUND,
           sort_qkey1,sort_qkey2,sort_qkey3,
           q_key1_trans, q_key2_trans, q_key3_trans
    from cts_ajha_q_ref LEFT OUTER join cts_gen_multipick
       on (cts_ajha_q_ref.q_cev = cts_gen_multipick.gps_cev
            and cts_gen_multipick.gmpickcode= 'CTS551HZGRCKLIST01'
            and cts_gen_multipick.op_cev = :P155102_OP_CEV)
    where cts_ajha_q_ref.cts_no_show is null
        and cts_ajha_q_ref.cts_showflag01 is not null
    I created a dynamic Action
    Event:       
    Click
    Selection Type:
    jQuery Selector
    jQuery Selector:  .gmpickflag01
    Execute Javascript Code
    var rbyes = $('#radioReport .apexir_WORKSHEET_DATA tbody tr td[headers="RBYES"] input:checked').map(function() {
       return $(this).parent().parent().find('td[headers="Q_CEV"]').html()}).get().join(':')
    var rbno = $('#radioReport .apexir_WORKSHEET_DATA tbody tr td[headers="RBNO"] input:checked').map(function() {
       return $(this).parent().parent().find('td[headers="Q_CEV"]').html()}).get().join(':')
    var rbund = $('#radioReport .apexir_WORKSHEET_DATA tbody tr td[headers="RBUND"] input:checked').map(function() {
       return $(this).parent().parent().find('td[headers="Q_CEV"]').html()}).get().join(':')
    //Send the delimited Q_CEV's to hidden page items to submit.
    $s('P155102_RBYES',rbyes)
    $s('P155102_RBNO',rbno)
    $s('P155102_RBUND',rbund)
    Also have code to step thru the page items to insert into database.

    Hi,
    With the code as it is, you'll have to submit your change before you jump to your next paginated set of rows. You'd either have to create a submit function on paginate, or rewrite the map function in the dynamic action to save the result set of your the results on the pagiation set that you are leaving.
    Javascript only works on the data that is actually on the page, ie can be found with html. When you paginate to the next set of rows, the data on the previous set can no longer be manipulated or consulted.
    Regards
    Vincent
    http://vincentdeelen.blogspot.com

  • Multiple Queries on Interactive Report

    hi all,
    Can i run multiple queries based on some condition in creating an interactive report?? I mean
    i want to run a single query as
    if :P12_QUERY == 1 then
    first query
    else if :P12_QUERY == 2 then
    second query
    end if;
    Please provide me the syntax if its possible. Plz help me in this regard.
    With Regards,
    Sunil Bhatia

    Hello,
    You will need to create a pipeline function and use it in your query. But both your queries have to return the same dataset.
    Example:
    function choose_query(v_query_type integer) return some_type pipelined
    is
    v_query varchar2(4000);
    v_cur sys_refcursor;
    v_row some_type;
    begin
    if :P12_QUERY == 1 then
    v_query := 'select ....';
    else if :P12_QUERY == 2 then
    v_query := 'select ....';
    end if;
    open v_cur for v_query;
    loop
    v_row := some_type(null, null, null);
    fetch v_cur into v_row;
    exit when v_cur%notfound;
    pipe row (v_row);
    end loop;
    close v_cur;
    end;In interactive report you have to set query:
    select * from table(choose_query(:P12_QUERY ))
    Best Regards, Kostya Proskudin

  • Highlight current row on Interactive Report

    What is the best way to highlight (or identify) the current row in an Interactive Report?
    I’ve created an interactive report, based on a custom SQL query, with a link (on the primary key (id)) to give the user the possibility to select a certain record (that will show some additional regions with detail information). How can I identify (highlight, indicator) the selected row in an Interactive Report?
    Many thanks for your help,
    John

    I wanted the same without using jQuery. Roel's example set me on the right track. To ensure keeping my current row highligthing after using the pagination links I've managed to dynamicly modify the pagination link in the IR using javascript, but I have a little (I hope) problem left.
    I've managed to change the pagination link when rendering the page from
    <a h ref="javascript:gReport.navigate.paginate('pgR_min_row=16max_rows=15rows_fetched=15')"></a>to
    <a h ref=javascript:gReport.navigate.paginate('pgR_min_row=16max_rows=15rows_fetched=15');highLight(this)></a>Unfortunatly my added code does not notice the changes made by the gReport.navigate.paginate code. It does only work when I add an alert (); in my highLight code. This alert will force showing the changes made in the DOM-model by gReport, allowing the highLight function to re-exame the DOM-model and change the pagination link.
    Anyone an idea how to overcome this problem ?
    Kind regards,
    Ralph

  • Displaying multiple rows in interactive PDF form

    hi All,
    I am creating a web dynpro application to display the data retrived from back end in an interactive form.
    Data is stored  in the back end in the form of tables.
    Now I want to display the entire data coming from tables in rows in the PDF which I am generating.
    please guide me how to go ahead.
    thanks and regards
    kris

    hi Markus,
    Thanks for the information.
    Let me be clear about my problem with you.
    I am using a RFC to get data from SAP system and display them in the web dynpro application using Interactive form.
    I want to know how can we make the multiple rows of data  be displayed in the interactive form, as we can do in the view designing of web dynpro application.
    I have data in the back end R/3 system and I want to bind
    that data with the Interactive form and display the same in a tabular format as we do in the case of view.
    Thanks and regards
    kris
    ou please help me further

  • Alternating Row Colors - Interactive Report

    Hello All,
    I'm hoping someone out there can help me out w/this. :)
    I'm a newbie working w/an Interactive Report and want to have alternating row colors as a default w/out losing the IR advantages.
    I've tried javascript, but, whenever filters are applied the class gets stripped off.
    Has anyone had any luck w/this?
    Thanks In Advance

    Roel,
    I got it working... Adding the onload to the image is pretty awesome, I had to chuckle cause I would've never thought of that.
    It wasn't working for me earlier, but, i realized after it was a silly syntax error. :P
    Anywho - Check the link below.
    http://apex.oracle.com/pls/otn/f?p=17445:7::::::
    I had used a different striping script which was written by a buddy of mine Keith Daulton (Had to throw him props for a hawt script. Works in ie6/7, FF, Chrome & Safari).
    I'm 100% sure I'm not the only one who's wanted this done and struggled to get it. So below I'm providing it for those who run into this thread.
    <script type="text/javascript">
    // THIS DOES THE STRIPING
    function decorateDataGrids (strClass) {
         var tables = document.getElementsByTagName("table");
         for (var i=tables.length; i--;) {
              if (tables.className == strClass) {
                   var gridRows = tables[i].getElementsByTagName("tr");
                   for (var j=gridRows.length; j--;) { if (j%2) { gridRows[j].className = "even"; } }
    window.onload = function () {
         decorateDataGrids("apexir_WORKSHEET_DATA"); // THIS DOES THE STRIPING
    </script>
    <style>
    /* THIS OVERRIDES APEX'S DEFAULT STYLES */
    table.apexir_WORKSHEET_DATA tr.even td {
         background-color:#F1F5FA !important;
    table.apexir_WORKSHEET_DATA td {
         background-color:#FFFFFF !important;
         border:1px solid #B3B3A7 !important;
         padding:4px 8px !important;
    </style>
    onload event strapped to the img -- Thanks!!!
    <img src="#IMAGE_PREFIX#edit.gif" alt="" onload="decorateDataGrids('apexir_WORKSHEET_DATA');">
    Edited by: user11086646 on Jun 9, 2009 7:04 PM

  • How to delete multiple row in classic report.

    Dear Friends,
    i am using 4.1 ve.
    i have created classic report.i want to delete row .
    How can i do it.
    i need check box in classic report and if i select multiple check box then row should delete and before delete pop up should be pop up to confirmation to delete.
    How can i do it.
    Thanks

    Hi Vedant,
    here you have one advanced example:
    http://www.talkapex.com/2009/01/apex-report-with-checkboxes-advanced.html
    But you can do it easier using only apex_item.checkbox (creating one column in report query with this function).
    After you submit this page the value will be stored to apex_application.g_f0X variable where X is equal to p_idx param of function apex_item.checkbox.
    Note: only checked values will be stored.
    Br,
    Marko Goricki
    http://apexbyg.blogspot.com

  • Highlight Multiple Rows in a Report

    Hello all,
    I'm trying to implement a highlight as seen here,
    http://www.netlobo.com/javascript_background_color_toggle.html
    function toggleBgColor(elem)
    var style2 = elem.style;
    style2.backgroundColor = style2.backgroundColor? "":"#FFFF00";
    I have the above javascript in my report's region header and an onclick = "toggleBgColor(this);" in my report template (Horizontal border)
    I can run the page, but nothing happens on click. No errors and no highlighting.
    Any ideas are much appreciated.
    Thanks

    Both places should work, but the page header is cleaner.
    Maybe it's not in the correct place in the template? Can you put up an example on apex.oracle.com?
    I linked to Carl's sample app more as a general HTML/CSS/javascript intro, especially for plugging things into APEX. He doesn't have an example exactly like you're looking for, but he does have some row highlighting here.

  • Selecting multiple rows in BW Web reports

    Hello Everyone,
    I am working on the BW web report where we want to give user interaction screen through BSP.
    We achived this for a single row in BW report where when user clicks on some link or button it opens up the BSP screen with the selected row value in BW report.
    Now we want to give multiple rows option where user can select multiple rows in BW report and the corresponding values should be available in BSP by clicking of some button in BW.
    has anyone done this before. thanks in advance.
    regards
    rajeev

    HI
    Int leadSelection = wdcontext.nodemodelnode.getLeadSelection();
      for(int i=0;i<wdcontext.nodeModelNode.size;i++)
        if(wdcontext.nodeModelNode.isMultiselected(i) || leadSelection ==i)
               String name = wdcontext.nodemodelnode.getnameelementatindex(i).getName();
               String  address = wdcontext.nodemodelnode.getaddresselementatindex(i).getAddress();
               String age = wdcontext.nodemodelnode.getAgeelementatindex(i).getAge();
            Create a method for the Table Property onLeadSelect() where you can open a popup window
             Create a value node and with attributes same as Table attributes and then set the values of the table
             to the value node attributes.
    Thanks

  • How can I select 2 options in Interactive reports

    Hi Friends
    I have a doubt about Interactive reports/ ALV interactive reports. Is there any option to select multiple selections in interactive reports. If I am displaying in a screen CustNo, Name, Country.
    I want to see order details of that customer in another screen using AT Line-Selection. Can I select multiple customer nos at a time and also can I see those order details whom I selected over in first list.
    Please send me reply ASAP if there is any option with suitable example.
    Thanks
    Praveen.

    Check out this sample.  It uses two ALV grids.  On the first one you can do multiple selection, hit the continue buttons and it will throw another ALV with those material/plant records.  Implement the following program.  Create screen 100 and 200.  One each screen create a custom container called ALV_CONTAINER(screen 100) and ALV_CONTAINER2(screen 200).  Create the gui status for both.  Don't forget to create a "CONTINUE" button on the gui-status 100.
    report zrich_0006.
    tables: mara.
    type-pools: slis, icon.
    * Internal Tables
    data: begin of ialv occurs 0,
          matnr type mara-matnr,
          maktx type makt-maktx,
          end of ialv .
    data: begin of ialv2 occurs 0,
          matnr type mara-matnr,
          werks type marc-werks,
          end of ialv2.
    * Miscellanous Variables
    data: index_rows type lvc_t_row,
          index like line of index_rows.
    data: alv_container type ref to cl_gui_custom_container,
          alv_container2 type ref to cl_gui_custom_container,
          alv_grid type ref to cl_gui_alv_grid,
          alv_grid2 type ref to cl_gui_alv_grid,
          row_table type lvc_t_row with header line,
          ok_code like sy-ucomm,
          layout  type lvc_s_layo,
          fieldcat type lvc_t_fcat,
          fieldcat2 type lvc_t_fcat.
    select-options: s_matnr for mara-matnr.
    start-of-selection.
      select mara~matnr makt~maktx
                 into corresponding fields of table ialv
                     from mara
                          inner join makt
                             on mara~matnr = makt~matnr
                                    where mara~matnr in s_matnr
                                      and makt~spras = sy-langu.
      sort ialv ascending by matnr.
      call screen 100.
    *      Module  status_0100  OUTPUT
    module status_0100 output.
      set pf-status '0100'.
      set titlebar '0100'.
      data: lt_exclude type ui_functions.
    * Create Controls
      create object alv_container
             exporting container_name = 'ALV_CONTAINER'.
      create object alv_grid
             exporting  i_parent =  alv_container.
    *  Populate Field Catalog
      perform get_fieldcatalog.
    * Optionally restrict generic functions to 'change only'.
    * (The user shall not be able to add new lines).
      perform exclude_tb_functions changing lt_exclude.
    * Set selection mode to "D"  --  Multiple Lines
      layout-sel_mode = 'D'.
      call method alv_grid->set_table_for_first_display
          exporting
               is_layout              = layout
               it_toolbar_excluding   = lt_exclude
               i_structure_name       = 'IALV'
          changing
               it_outtab       = ialv[]
               it_fieldcatalog = fieldcat[].
    endmodule.
    *      Module  USER_COMMAND_0100  INPUT
    module user_command_0100 input.
      case sy-ucomm.
        when 'BACK' or 'CANC'.
          perform free_containers.
          if sy-subrc = 0.
            set screen 0.
            leave screen.
          else.
            leave program.
          endif.
        when 'EXIT'.
          perform free_containers.
          leave program.
        when 'CONTINUE'.
    * Retrieve selected rows from ALV grid
      clear index_rows.  refresh index_rows.
      call method alv_grid->get_selected_rows
               importing
                     et_index_rows = index_rows.
    * Do something with those selected rows here
          loop at index_rows into index.
            read table ialv index index-index.
            if sy-subrc = 0.
              select * appending corresponding fields of table ialv2
                           from marc
                               where matnr = ialv-matnr.
            endif.
          endloop.
          perform free_containers.
          leave to screen 200.
      endcase.
    endmodule.
    *      Form  FREE_CONTAINERS
    form free_containers.
      if not alv_container is initial.
        call method alv_container->free.
        clear: alv_container.
        free : alv_container.
      endif.
      if not alv_container2 is initial.
        call method alv_container2->free.
        clear: alv_container2.
        free : alv_container2.
      endif.
    endform.
    *      Form  Get_Fieldcatalog - Set Up Columns/Headers
    form get_fieldcatalog.
      data: ls_fcat type lvc_s_fcat.
      data: columnno(3) type n value '0'.
      refresh: fieldcat.
      clear: ls_fcat.
      ls_fcat-reptext    = 'Material Number'.
      ls_fcat-coltext    = 'Material Number'.
      ls_fcat-fieldname  = 'MATNR'.
      ls_fcat-ref_table  = 'IALV'.
      ls_fcat-outputlen  = '18'.
      ls_fcat-col_pos    = 1.
      append ls_fcat to fieldcat.
      clear: ls_fcat.
      ls_fcat-reptext    = 'Material Description'.
      ls_fcat-coltext    = 'Material Description'.
      ls_fcat-fieldname  = 'MATKX'.
      ls_fcat-ref_table  = 'IALV'.
      ls_fcat-outputlen  = '40'.
      ls_fcat-col_pos    = 2.
      append ls_fcat to fieldcat.
    endform.
    *      Form  Get_Fieldcatalog2 - Set Up Columns/Headers
    form get_fieldcatalog2.
      data: ls_fcat type lvc_s_fcat.
      data: columnno(3) type n value '0'.
      refresh: fieldcat2.
      clear: ls_fcat.
      ls_fcat-reptext    = 'Material Number'.
      ls_fcat-coltext    = 'Material Number'.
      ls_fcat-fieldname  = 'MATNR'.
      ls_fcat-ref_table  = 'IALV2'.
      ls_fcat-outputlen  = '18'.
      ls_fcat-col_pos    = 1.
      append ls_fcat to fieldcat2.
      clear: ls_fcat.
      ls_fcat-reptext    = 'Plant'.
      ls_fcat-coltext    = 'Plant'.
      ls_fcat-fieldname  = 'WERKS'.
      ls_fcat-ref_table  = 'IALV2'.
      ls_fcat-outputlen  = '4'.
      ls_fcat-col_pos    = 2.
      append ls_fcat to fieldcat2.
    endform.
    *      Form  EXCLUDE_TB_FUNCTIONS
    form exclude_tb_functions changing pt_exclude type ui_functions.
    * Only allow to change data not to create new entries (exclude
    * generic functions).
      data ls_exclude type ui_func.
      ls_exclude = cl_gui_alv_grid=>mc_fc_loc_copy_row.
      append ls_exclude to pt_exclude.
      ls_exclude = cl_gui_alv_grid=>mc_fc_loc_delete_row.
      append ls_exclude to pt_exclude.
      ls_exclude = cl_gui_alv_grid=>mc_fc_loc_append_row.
      append ls_exclude to pt_exclude.
      ls_exclude = cl_gui_alv_grid=>mc_fc_loc_insert_row.
      append ls_exclude to pt_exclude.
      ls_exclude = cl_gui_alv_grid=>mc_fc_loc_move_row.
      append ls_exclude to pt_exclude.
    endform.
    *      Module  status_0200  OUTPUT
    module status_0200 output.
      set pf-status '0200'.
      set titlebar '0200'.
    * Create Controls
      create object alv_container2
             exporting container_name = 'ALV_CONTAINER2'.
      create object alv_grid2
             exporting  i_parent =  alv_container2.
    *  Populate Field Catalog
      perform get_fieldcatalog2.
      call method alv_grid2->set_table_for_first_display
          changing
               it_outtab       = ialv2[]
               it_fieldcatalog = fieldcat2[].
    endmodule.
    *      Module  USER_COMMAND_0200  INPUT
    module user_command_0200 input.
      case sy-ucomm.
        when 'BACK' or 'CANC'.
          perform free_containers.
          if sy-subrc = 0.
            set screen 0.
            leave screen.
          else.
            leave program.
          endif.
        when 'EXIT'.
          perform free_containers.
          leave program.
      endcase.
    endmodule.
    Regards,
    Rich Heilman

Maybe you are looking for

  • Getting error while Using BAPI Interface in VB

    Hi, I m getting error message while creating object of SAP.BAPI.1 Error message is "out of memory : run time error 7". do I need to install any patch to my local PC? If yes then from where could i get that patch. Plz help me out. Thanks & Regards, Sa

  • FreeHand Page

    I wanted to remind everyone that the page is doing some good. We do have a lot of signatures, and the counter shows well over 3,000 visits. All we need to do is to keep letting people know that the page is out there. FH Addict, I really appreciated y

  • Printing is Cut Off

    Recently purchased a HP Deskjet 3050A- J611 series. I am working on creating announcement postcards in Microsoft Publisher on a Windows 7 64 bit operating system. Print preview shows that it all won't print and it doesn't. About 1/4 in or so is not p

  • I HAVE EARLIER PREPARED WINDOWS REPAIR DISC, NOW IT DOES NOT WORK

    140525 I HAVE WINDOWS 7  ULTIMATE VERSION- 32 BIT I HAVE EARLIER PREPARED MANY  " WINDOWS REPAIR DISC" FROM TIME TO TIME AS A PROTECTION ON THIS VERY LAPTOP AND OS. NOW IT DOES NOT WORK AND GIVE ERROR CODE -- 0XC00AA0301. I TRIED SEVERAL TIMES AND WA

  • Solaris libraries  and C apis for disk information

    i want to know which C APIs and libraries are used to get information about disk vendor,serial no etc.(similar to what we get using iostat -En)