Report with editable rows

Hi,
I have a strange requirement, i am creating a tool for uploading the excel sheets.In the run time it will create the table which will be like user_name concatenated with date and time. so, everytime a user logs in, the table will be created based on his user name and the columns will be the headers in the excel sheet. My problem is i want make the row as an editable row whenever the user checks the checkbox and clicking on the edit button. I should be able to update the particular row in the table. Is it possible in htmldb to make the particular row an editable mode and update it? The problem is the table is created dynamically and we can the catch the table name only in the runtime. If it is not possible can you suggest some other way to overcome this? Please provide me a solution as this is a high priotity issue for me.
Thanks,
Ramky

I guess I misunderstood. You're saying that each user will upload a file, but that every single file may have a different number of columns? So the only way you can tell is to read the first line, and create a column for every single heading in the file?
What I'm not understanding is when you say you will upload the file, but maybe need to make changes. However the next time the person logs in or needs to upload a new file, you drop the old table. If you are dropping the old table, what changes need to be made between the time they are uploaded and dropped? Couldn't you just let the user load the file in again?
The only reason I ask is that dynamic pl/sql is kind of a pain to work with, and if there was a static way for you to do this, I would personally lean toward that approach. Maybe you can explain exactly what the process does in simple terms and I can help out a bit more.

Similar Messages

  • Interactive Report with specific rows editable

    I have an interactive reports, with the edit (pencil) link to a maintenance form. I only want the link to show for specific records in the reports. Can you put a condition in the link column to the pencil for certain records?
    If so, how can you access the value of the field? ie. I need to check the value of 'USER_NAME' in the select below against :APP_USER
    select A.pk_id as "PK_ID",
    A.fk_sis_user as "FK_SIS_USER",
    A.list_name as "LIST_NAME",
    A.list_description as "LIST_DESCRIPTION",
    B.user_name as "USER_NAME",
    A.creation_date as "CREATION_DATE"

    Not exactly what you are asking for, but it may give you an idea hot to create conditional
    icon and link.
    From always excellent examples from Denes Kubicek:
    http://apex.oracle.com/pls/otn/f?p=31517:23:3086073313243153::NO
    HTH
    Thomas

  • Create a Procedural ALV Report with editable fields and save the changes

    Hi,
    I am new to ABAP. I have created a Procedural ALV Report with 3 fields. I want to make 2 fields editable. When executed, if the fields are modified, I want to save the changes. All this I want to do without using OO concepts. Please help . Also, I checked out the forum and also the examples
    BCALV_TEST_GRID_EDIT_01
    BCALV_TEST_GRID_EDIT_02
    BCALV_TEST_GRID_EDIT_04_FORMS
    BCALV_TEST_GRID_EDITABLE
    BCALV_EDIT_01
    BCALV_EDIT_02
    BCALV_EDIT_03
    BCALV_EDIT_04
    BCALV_EDIT_05
    BCALV_EDIT_06
    BCALV_EDIT_07
    BCALV_EDIT_08
    BCALV_FULLSCREEN_GRID_EDIT
    But all these are using OO Concepts.
    Please help.
    Regards,
    Smruthi

    TABLES:     ekko.
    TYPE-POOLS: slis.                                 "ALV Declarations
    *Data Declaration
    TYPES: BEGIN OF t_ekko,
      ebeln TYPE ekpo-ebeln,
      ebelp TYPE ekpo-ebelp,
      statu TYPE ekpo-statu,
      aedat TYPE ekpo-aedat,
      matnr TYPE ekpo-matnr,
      menge TYPE ekpo-menge,
      meins TYPE ekpo-meins,
      netpr TYPE ekpo-netpr,
      peinh TYPE ekpo-peinh,
      line_color(4) TYPE c,     "Used to store row color attributes
    END OF t_ekko.
    DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
          wa_ekko TYPE t_ekko.
    *ALV data declarations
    DATA: fieldcatalog TYPE slis_t_fieldcat_alv WITH HEADER LINE,
          gd_tab_group TYPE slis_t_sp_group_alv,
          gd_layout    TYPE slis_layout_alv,
          gd_repid     LIKE sy-repid.
    START-OF-SELECTION.
      PERFORM data_retrieval.
      PERFORM build_fieldcatalog.
      PERFORM build_layout.
      PERFORM display_alv_report.
    *&      Form  BUILD_FIELDCATALOG
          Build Fieldcatalog for ALV Report
    FORM build_fieldcatalog.
      fieldcatalog-fieldname   = 'EBELN'.
      fieldcatalog-seltext_m   = 'Purchase Order'.
      fieldcatalog-col_pos     = 0.
      fieldcatalog-outputlen   = 10.
      fieldcatalog-emphasize   = 'X'.
      fieldcatalog-key         = 'X'.
    fieldcatalog-do_sum      = 'X'.
    fieldcatalog-no_zero     = 'X'.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR  fieldcatalog.
      fieldcatalog-fieldname   = 'EBELP'.
      fieldcatalog-seltext_m   = 'PO Item'.
      fieldcatalog-col_pos     = 1.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR  fieldcatalog.
      fieldcatalog-fieldname   = 'STATU'.
      fieldcatalog-seltext_m   = 'Status'.
      fieldcatalog-col_pos     = 2.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR  fieldcatalog.
      fieldcatalog-fieldname   = 'AEDAT'.
      fieldcatalog-seltext_m   = 'Item change date'.
      fieldcatalog-col_pos     = 3.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR  fieldcatalog.
      fieldcatalog-fieldname   = 'MATNR'.
      fieldcatalog-seltext_m   = 'Material Number'.
      fieldcatalog-col_pos     = 4.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR  fieldcatalog.
      fieldcatalog-fieldname   = 'MENGE'.
      fieldcatalog-seltext_m   = 'PO quantity'.
    fieldcatalog-edit             = 'X'
      fieldcatalog-col_pos     = 5.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR  fieldcatalog.
      fieldcatalog-fieldname   = 'MEINS'.
      fieldcatalog-seltext_m   = 'Order Unit'.
      fieldcatalog-col_pos     = 6.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR  fieldcatalog.
      fieldcatalog-fieldname   = 'NETPR'.
      fieldcatalog-seltext_m   = 'Net Price'.
      fieldcatalog-col_pos     = 7.
      fieldcatalog-outputlen   = 15.
      fieldcatalog-datatype     = 'CURR'.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR  fieldcatalog.
      fieldcatalog-fieldname   = 'PEINH'.
      fieldcatalog-seltext_m   = 'Price Unit'.
      fieldcatalog-col_pos     = 8.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR  fieldcatalog.
    ENDFORM.                    " BUILD_FIELDCATALOG
    *&      Form  BUILD_LAYOUT
          Build layout for ALV grid report
    FORM build_layout.
      gd_layout-no_input          = 'X'.
      gd_layout-colwidth_optimize = 'X'.
      gd_layout-totals_text       = 'Totals'(201).
      gd_layout-info_fieldname =      'LINE_COLOR'.
    ENDFORM.                    " BUILD_LAYOUT
    *&      Form  DISPLAY_ALV_REPORT
          Display report using ALV grid
    FORM display_alv_report.
      gd_repid = sy-repid.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
           EXPORTING
                i_callback_program      = gd_repid
                i_callback_pf_status_set = 'STATUS'
                i_callback_top_of_page   = 'TOP-OF-PAGE'
               i_callback_user_command = 'USER_COMMAND'
               i_grid_title           = outtext
                is_layout               = gd_layout
                it_fieldcat             = fieldcatalog[]
               it_special_groups       = gd_tabgroup
               IT_EVENTS                = GT_XEVENTS
                i_save                  = 'X'
               is_variant              = z_template
           TABLES
                t_outtab                = it_ekko
           EXCEPTIONS
                program_error           = 1
                OTHERS                  = 2.
    ENDFORM.                    " DISPLAY_ALV_REPORT
    *&      Form  DATA_RETRIEVAL
          Retrieve data form EKPO table and populate itab it_ekko
    FORM data_retrieval.
      DATA: ld_color(1) TYPE c.
      SELECT ebeln ebelp statu aedat matnr menge meins netpr peinh
       UP TO 10 ROWS
        FROM ekpo
        INTO TABLE it_ekko.
      LOOP AT it_ekko INTO wa_ekko.
        ld_color = ld_color + 1.
        IF ld_color = 8.
          ld_color = 1.
        ENDIF.
        CONCATENATE 'C' ld_color '10' INTO wa_ekko-line_color.
        MODIFY it_ekko FROM wa_ekko.
      ENDLOOP.
    ENDFORM.                    " DATA_RETRIEVAL
          FORM top-of-page                                              *
    FORM top-of-page.
      WRITE:/ 'This is First Line of the Page'.
    ENDFORM.
          FORM status                                                   *
    FORM status USING rt_extab TYPE slis_t_extab.  .
      SET PF-STATUS 'ALV'.
    ENDFORM.
          FORM USER_COMMAND                                          *
    -->  RF_UCOMM                                                      *
    -->  RS                                                            *
    FORM user_command USING rf_ucomm LIKE sy-ucomm
                             rs TYPE slis_selfield.            
      DATA ref1 TYPE REF TO cl_gui_alv_grid.
      CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
        IMPORTING
          e_grid = ref1.
      CALL METHOD ref1->check_changed_data.
      CASE rf_ucomm.
    when 'SAVE'.
    get all the modified entries and store them in an internal table and udpate them in to the required transaction or your custom table.
    endcase.
    endform.
    ENDFORM.
    here u need to 2 performs for PF status and USER_COMMAND in the ALV parameters.
    create a custom PF status and create push buttons and assign your ok codes in your PF status.
    if the field has to be edited in the ALV then pass EDIT = 'X' for that field in the fieldcatlog preparation.
    Hope this will help you.
    Regards,
    phani.

  • Empty report with pagination,  rows not displayed

    Dear HTML DB Team,
    We have in our reports the next error: An empty report with pagination appears , no rows not displayed
    The test case to reproduce the error:
    1. Create "SQL report" with next report attributes in "Layout and Pagination"
         a. Row ranges 1-15 16-30 in select list (with pagination)
    b. Number of Rows : 15
    c. Number of Rows (Item): empty
    d. Max Row Count: empty
    2. Fill the table on which the report is based with 17 rows
    3. Go to the 2nd page of the report , pagination rows 16-17 of 17
    4. Remove 2 rows from the table, refresh report
    5, The pagination shows now 1 - 15 of 15 rows
    - no rows displayed
    - no "previous button" ( only )
    - no way to get the rows displayed, except logging out and in again
    Any suggestions?
    Erik

    Hello,
    i encountered the same problem while developing in HTMLDB.
    In application builder, i select application Application 106, then click on items, then click next ( the application has 22 global items). Now i want to take a look at the global items in application 105 (there are only 5). In the menu i click Builder - Application 106, select application 105 from Available Applications, click Go and Items. It shows no rows, but says that is displaying rows 1-5, and offers a Next button. No way to see/modify the items unless make a new session or go back to Application 106, Click Previous to see the first page of global items and then again switch to Appication 105 or click to the next button and then manually set pg_min_row=1 in URL.
    One more question - is this forum the right place to report bug suspicions, or is there some other special place for that?
    Best regards,
    Andres

  • 2 Classic Reports with edit fields on the same page

    Hi All, need your help.
    I am trying to have 2 classic reports on one page with edit fields like date, list values, text
    I have noticed that the element indexes are the same f01_0001 have both first elements from both reports.
    This is making my code go crazy.
    Also i have a problem with Date Picker, if i select it as a column type for a first element in second report the icon shows up in the first report.
    I think this is because of indexing, but... Classic Date Picker put the icon on second report but when i select the date, the values is populated to first column in first report
    Does anyone have a solution for this problem! (for example change the indexing for second report)
    DB is 11.2g
    Apex is 4.2.0.00.27
    Thank you,
    Andrei
    Edited by: aracila on Feb 20, 2013 9:03 AM

    Are these tabular forms, ie updteable.
    If so, you can only have one per page
    Gus

  • Report Template Help - Vertical report with multiple rows on the same line.

    I am tearing my hair out trying to figure a way to do this. I want a vertical report, but with the rows across the page rather than down it.
    e.g.
    ROW1    ROW2    ROW3    ROW4   ROW5
    ROW1    ROW2    ROW3    ROW4   ROW5
    ROW1    ROW2    ROW3    ROW4   ROW5
    ROW1    ROW2    ROW3    ROW4   ROW5
    ROW1    ROW2    ROW3    ROW4   ROW5
    ROW1    ROW2    ROW3    ROW4   ROW5
    ROW1    ROW2    ROW3    ROW4   ROW5
    ROW1    ROW2    ROW3    ROW4   ROW5Has anyone managed to do this?

    Use a custom named column report template. The template could generate either:
    <li> a table with one physical <tt>tr</tt> row, with your "columns" being the logical "rows" of the report rendered as the <tt>td</tt>s within the row
    <li> a list of lists using CSS to render them side-by-side via <tt>float</tt> or <tt>inline-block</tt> (Some examples of similar techniques)

  • Interactive report with single row select

    Hi,
    Is it possible to create an interactive report that has a single row select column i.e. you can only select one row and when you select another row it deselects any row selected before, simular to a list of values but with the functionionality of an IR report.
    Thanks in advance

    Hi,
    Try adding this to the query of your report:
    select ...
           apex_item.radiogroup(1, some_unique_column) sel
    from ...You didn't say how you want to use this, but when the page is submitted the array apex_application.g_f01 may contain either none or exactly one element, which will be the some_unique_column value of the selected row.
    Luis

  • Report with Row Edit capability

    When creating a report, what are the components that enable row edit capability. A few basic reports I generate do not have this capability. How would I change an existing report to allow row edits and then linking to a form to edit content.
    Thanks,
    BT

    <p>BT,</p>
    <p>If you're looking for reports which contain for every row an extra column with a link to a form to edit content, you will find an example in the Demonstration Application ( look for About the Customers Page). If you're looking for a report with editable fields then you'll need collections, see the following example Taking up Collections.</p>
    <p>If you're changing existing reports, adding an extra column is an easy solution but you will have to build forms if they not exists already. In the case of collections you'll have to rewrite all you're reports queries and build separate DML processes as well.
    Unfortunately, making a report editable is not just a toggle.</p>
    <p>With kind regards,</p>
    <p>Jornica</p>

  • SQL Query updateable report with row selector. Update process.

    I have a SQL Query updateable report with the row selector(s).
    How would I identify the row selector in an update process on the page.
    I would like to update certain columns to a value of a select box on the page.
    Using the basic:
    UPDATE table_name
    SET column1=value
    WHERE some_column=some_value
    I would need to do:
    UPDATE table_name
    SET column1= :P1_select
    WHERE [row selector] = ?
    Now sure how to identify the [row selector] and/or validate it is checked.
    Thanks,
    Bob

    I don't have the apex_application.g_f01(i) referenced in the page source...In the page source you wouldn't find anything by that name
    Identify the tabular form's checkbox column in the page(firebug/chrome developer panel makes this easy)
    It should be like
    &lt;input id=&quot;...&quot; value=&quot;&quot; type=&quot;checkbox&quot; name=&quot;fXX&quot; &gt;we are interested in the name attribute , get that number (between 01 and 50)
    Replace that number in the code, for instance if it was f05 , the code would use
    apex_application.g_f05
    --i'th checked record' primary keyWhen you loop through a checkbox array, it only contains the rows which are checked and it is common practice to returns the record's primary key as the value of the checkbox(available as the the i'th array index as apex_application.g_f05(i) , where i is sequence position of the checked row) so that you can identify the record.

  • Report with updateable checkbox

    Here is what I want to do :
    I have a report with a HTMLDB_ITEM.checkbox on a 'Y', 'N' field. I would like to be able to update that value by simply checking and unchecking my generated checkbox.
    Example : select player_no, player_name, htmldb_item.checkbox(1,active,'N','Y') from players.
    I would like to be able to uncheck the active checkbox and the field value for that player(using the player_no) would be updated to 'N' and vice versa when checking the box.
    I had created a process that looped on my checkbox item like explained in the "how to", but only the check items were processed.
    Then I tried adding the following to my select and looping on the second item, but both items do not follow each other. If I have 2 checkbox checked and 10 players, than the item 1(checkbox) has only 2 records compared to 10 for item 2(hidden player_no):
    htmldb_item.checkbox(1,active,'N','Y')||htmldb_item.hidden(2,player_no)
    Is my request feasible ?

    Sorry, I used HTML tags to bold stuff, didn't realize that didn't work.
    Sorry for the slow response, I have been swamped with work.
    I am assuming everyone is using the htmldb_application.g_fxx(i) variables in PL/SQL processes when trying to process their checkboxes.
    Here's an example that would be similar to Patrick's situation (above). This would be in the SQL for the report region:
    htmldb_item.checkbox(1, player_no, decode(active, 'Y', 'CHECKED', null) || htmldb_item.hidden(2,player_no)
    Let me explain why I'm doing this:
    First: htmldb_item.checkbox(1, player_no, decode(active, 'Y', 'CHECKED', null) will create checkboxes. Rows with active = 'Y' would have a checked checkbox, but the value of the checkbox is the player_no. I would assume (and suggest) that player_no is a unique value for that record.
    Second: htmldb_item.hidden(2,player_no) will be the item you wish to update. (I always make this the primary key or unique value, so I can update any data for that record, and it must be the same value as the checkbox value)
    In the How To documents, they tell you to use this for processing checkboxes:
    for i in 1..htmldb_application.g_f01.count
    loop
    --process here
    end loop; where htmldb_application.g_f01 is your checkbox item.
    I have noticed that it only counts the rows that have a checked checkbox. So if you have a report with 10 rows, and you've checked 2 checkboxes, the count for that item is only 2. Where as, the count for you hidden items is 10.
    There are two ways I have made this process work, but here is probably the easiest way I would process all rows (rows with a checked checkbox and rows without the checkbox checked):
    /*this will loop through every row of the report*/
    for i in 1..htmldb_application.g_f02.count
    loop
    /*this will account for when they don't check any boxes*/
    if htmldb_application.g_f01.count != 0
    then
    /*this will loop through the checked checkboxes*/
    for k in 1..htmldb_application.g_f01.count
    loop
    /*this compares the values of player_no of the checkbox and hidden item*/
    if htmldb_application.g_f01(k) = htmldb_application.g_f02(i)
    then
    --process where checkbox is checked
    update xtable
    set active = 'Y'
    where player_no = htmldb_application.g_f02(i);
    else
    --process where checkbox is not checked
    update xtable
    set active = 'N'
    where player_no = htmldb_application.g_f02(i);
    end if;
    end loop;
    else
    --same process where checkbox is not checked
    update xtable
    set active = 'N'
    where player_no = htmldb_application.g_f02(i);
    end if;
    end loop;
    Now I this is not exactly the same thing I have in my process, but this is extremely similar, so excuse any syntactical errors I have made.
    Let me know if this helps. I realize when I post this, all the spacing I have to make the code easier to read is gone, so I would suggest spacing things in notepad for easier reading.
    If you want to see how to use all the htmldb_item package items then you can be found them in the HTML DB documentation: https://cwisdb.cc.kuleuven.ac.be/ora10doc/appdev.101/b10992/mvl_api.htm#sthref1469

  • Select-options with 2 rows

    Hi,
    i've got to make a report with 2 rows in the select-options
    SELECT-OPTIONS: sel001 FOR stichtag NO INTERVALS NO-EXTENSION,
                    sel002 FOR dfkkop-gpart DEFAULT 'M00000' TO 'M99999',
                    sel003 FOR dfkkop-vtref DEFAULT 'A00000' TO 'A99999',
                    sel004 FOR dimaiobpar-zstatus DEFAULT '1' NO INTERVALS.
    for sel003 i need another default-row with 'B00000' to 'B99999' so that i can assign both rows to vtref_r
    APPEND sel002 TO gpart_r.
    APPEND sel003 TO vtref_r.
      CALL FUNCTION 'FKK_OPEN_ITEM_SELECT_WITH_DATE'
           EXPORTING
                i_key_date = stichtag
                i_gpart    = gpart_r
                i_vtref    = vtref_r
           TABLES
                t_op       = itab2.
    i need both in this function.
    regards,
    Tobias

    Hi Tobias,
    You can use the header line of sel003 to append these values to the selection table sel003 (actually sel003 is the name of the header line as well as the table created using SELECT-OPTIONS sel003 for.... statement).
    APPEND sel002 TO gpart_r.
    APPEND sel003 TO vtref_r.
    "set the header line for sel003 for the second row
    sel003-sign = 'I'.
    sel003-option = 'BT'. "between for a range
    sel003-low = 'B00000'.
    sel003-high = 'B99999'.
    append sel003.
    clear sel003." this will clear the header line sel003
    CALL FUNCTION 'FKK_OPEN_ITEM_SELECT_WITH_DATE'
    EXPORTING
    i_key_date = stichtag
    i_gpart = gpart_r
    i_vtref = vtref_r
    TABLES
    t_op = itab2.
    Using header lines is an obsolete way in ABAP Objects context, try avoiding it.
    Hope this helps.
    Thanks
    Sanjeev

  • Reports with 7000 records taking 10mts

    Hi
    I have designed a IR report which can retrieve between 10 records to 500,000 records. But for retrieving 7000 records it tooks 10 minutes.
    Could anyone tell me how to improve the performance.

    MUnky
    thanks for your response. I have recreated a interactive report.
    I enabled 10046 trace and i run the report with 15 row at 1st time after i changed the interactive rows per page 500 records and navigated it twice. My trace file shows 15 seconds overall but the apex debug session took 45 seconds. I have create some partition on that table. Table has 4.8 million rows and size is 1.5gig.
    The following are the trace output
    select
    ROWID as apxws_row_pk,
    "APXSEQ",
    "JOB_SEQ_ID",
    "ISSUE_ID",
    "TARGET_TABLE_NAME",
    "PROGRAM_NAME",
    "ISSUE_COL_NAME",
    "ISSUE_COL_VALUE",
    "ISSUE_TYPE",
    "KEY_COL_NAME_1",
    "KEY_COL_VALUE_1",
    "KEY_COL_NAME_2",
    "KEY_COL_VALUE_2",
    "KEY_COL_NAME_3",
    "KEY_COL_VALUE_3",
    "KEY_COL_NAME_4",
    "KEY_COL_VALUE_4",
    "KEY_COL_NAME_5",
    "KEY_COL_VALUE_5",
    "KEY_COL_NAME_6",
    "KEY_COL_VALUE_6",
    "KEY_COL_NAME_7",
    "KEY_COL_VALUE_7",
    "KEY_COL_NAME_8",
    "KEY_COL_VALUE_8",
    "KEY_COL_NAME_9",
    "KEY_COL_VALUE_9",
    "KEY_COL_NAME_10",
    "KEY_COL_VALUE_10",
    "KEY_COL_NAME_11",
    "KEY_COL_VALUE_11",
    "KEY_COL_NAME_12",
    "KEY_COL_VALUE_12",
    "KEY_COL_NAME_13",
    "KEY_COL_VALUE_13",
    "KEY_COL_NAME_14",
    "KEY_COL_VALUE_14",
    "KEY_COL_NAME_15",
    "KEY_COL_VALUE_15",
    "ORA_ERROR_MESSAGE",
    "RUN_DATE",
    "BLOCK_NAME",
    count(*) over () as apxws_row_cnt
    from (
    select * from (
    select * from obe.APX_EXCpt_bkp1 where apxseq=3 and issue_id='102.21'
    ) r
    ) r where rownum <= to_number(:APXWS_MAX_ROW_CNT)
    order by ROWID
    call count cpu elapsed disk query current rows
    Parse 3 0.00 0.00 0 0 0 0
    Execute 3 0.00 0.00 0 0 0 0
    Fetch 1806 0.15 0.14 0 1473 0 1806
    total 1812 0.15 0.14 0 1473 0 1806
    Misses in library cache during parse: 0
    Optimizer mode: ALL_ROWS
    Parsing user id: 478 (OBE) (recursive depth: 1)
    Rows Row Source Operation
    202 WINDOW SORT (cr=491 pr=0 pw=0 time=42548 us)
    7039 COUNT STOPKEY (cr=491 pr=0 pw=0 time=91640 us)
    7039 PARTITION RANGE SINGLE PARTITION: 3 3 (cr=491 pr=0 pw=0 time=77555 us)
    7039 PARTITION HASH SINGLE PARTITION: 2 2 (cr=491 pr=0 pw=0 time=63451 us)
    7039 TABLE ACCESS BY LOCAL INDEX ROWID APX_EXCPT_BKP1 PARTITION: 18 18 (cr=491 pr=0 pw=0 time=49367 us)
    7039 INDEX RANGE SCAN APX_EXCPT_BKP1_IDX1 PARTITION: 18 18 (cr=21 pr=0 pw=0 time=7174 us)(object id 1059619)
    Rows Execution Plan
    0 SELECT STATEMENT MODE: ALL_ROWS
    202 WINDOW (SORT)
    7039 COUNT (STOPKEY)
    7039 PARTITION RANGE (SINGLE) PARTITION: START=3 STOP=3
    7039 PARTITION HASH (SINGLE) PARTITION: START=2 STOP=2
    7039 TABLE ACCESS MODE: ANALYZED (BY LOCAL INDEX ROWID) OF
    'APX_EXCPT_BKP1' (TABLE) PARTITION: START=18 STOP=18
    7039 INDEX MODE: ANALYZED (RANGE SCAN) OF
    'APX_EXCPT_BKP1_IDX1' (INDEX) PARTITION: START=18 STOP=18
    Trace file shows fetch count is equal to rows count. is there any option in apex to do bulk fetch?
    And munky what is the tuned response time to retrieve 1000 records per page and navigation to next page time

  • Getting corresponding report with respect to the specific uitlity

    Hi
    I have 7-reports with same columns but for different 7-utilities(seawater,portable water, gas consumption ...etc). If suppose user enters one utility(seawater) in the selection screen then he/she needs to get corresponding "SEAWATER" report .
    Samiliary for other utilities also.
    so how can user gets corresponding report with corresponding with specific uility.
    pls let me knw
    regards
    kumar

    Hi Kumar
    Do you mean that
    1. You want 7 reports for 7 utilities with the same column Structure and how can user get these?
    If this is the case, create 7 Queries and use the same re-usable structure in the Columns. Then go ahead and rsestrict the Utilities with the specific utilities in Free Char. Give the name as per the Utilities, so that the user can distinguish between these queries.
    OR
    2. You want one report and user has the choice which utility he wants to run the report for, then....
    Create on report with the rows/columsn that you want. Create a variable on the Utilities Info-Object and restrict the Utilities Info-Object with this variable. So user will be prompted to enter this variable for utility and corresponding report will be generated.
    Does this answer your question?
    Cheers
    Abhishek

  • Creating TREE REPORT with CHECKBOX against each row

    Hi Friends,
    I need to create a <b>TREE REPORT with  CHECK BOX</b> against each row. when the user selects a row and clicks on a custom button then those should get populated into an internal table. <b>This is HIGH priority</b> one and I have tried my best but couldnt find any solution. Please advise me some sol.
    thanks in advance for your valuable time and help.
    Regards
    srithan
    Message edited by me for easyness
            Reddy

    Hi
    Following code is to add checkboxes in ALV tree:
    FORM add_root_request USING pls_data_ TYPE csg_gs_outtab_p_key__l_is_sub_node_ TYPE c
    CHANGING pl_carrid_key._node = nodes->add_node( related_node = p_key
    relationship = cl_gui_column_tree=>relat_last_child ).
    ... §0.2 if information should be displayed at
    the hierarchy column set the carrid as text for this node
    text = p_ls_data-object.
    node->set_text( text ).
    ... §0.3 set the data for the nes node
    node->set_data_row( p_ls_data ).
    item = node->get_hierarchy_item( ).
    item = node->get_item( 'FCHECKBOX' ). "FCHECKBOX is my radio button field in internal table which I am using to populate the ALV
    item->set_type( if_salv_c_item_type=>checkbox ).
    pl_carrid_key = node->get_key( )._
    CATCH cx_salv_msg.
    ENDFORM_._Following code is for handling checbox_change event
    PERFORM application_action_events.
    FORM application_action_events .
    data: lr_events type ref to cl_salv_events_tree.
    *data gr_events type ref to lcl_handle_events.
    lr_events = gr_tree->get_event( ).
    create object gr_events.
    set handler gr_events->check for lr_events.
    set handler gr_events->on_link_click for lr_events.
    set handler gr_events->on_before_user_command for lr_events.
    set handler gr_events->on_after_user_command for lr_events.
    set handler gr_events->on_keypress for lr_events.
    endform. " application_action_events----
    CLASS lcl_handle_events DEFINITION.
    PUBLIC SECTION.
    METHODS:
    check FOR EVENT checkbox_change OF cl_salv_events_tree IMPORTING node_key columnname checked. "Here node_key is the row number
    ENDCLASS. "lcl_handle_events DEFINITION
    CLASS lcl_handle_events IMPLEMENTATION
    §4.2 implement the events for handling the events of cl_salv_table
    CLASS lcl_handle_events IMPLEMENTATION_._
    METHOD check_._
    WRITE 'hello'_._
    DATA lwa_modify_check_ TYPE REF TO csg_gs_outtab.
    node_key = node_key - 1_._
    READ TABLE csg_gt_list INDEX node_key REFERENCE INTO lwa_modify_check._
    if columnname = 'FCHECKBOX'_._
    IF checked = 'X'_._
    If the value in internal table is set to X, then it is deselct
    lwa_modify_check->fcheckbox =_ ' '_._
    ELSE_._
    lwa_modify_check->fcheckbox =_ 'X'_._
    ENDIF_._
    ENDIF_._
    if columnname = 'CHECKBOX_READ'_._
    IF checked = 'X'_._
    If the value in internal table is set to X, then it is deselct
    lwa_modify_check->checkbox_read =_ ' '_._
    ELSE_._
    lwa_modify_check->checkbox_read =_ 'X'_._
    ENDIF_._
    ENDIF_._
    *MODIFY TABLE csg_gt_list from l_wa_modify_check.
    flag_test = flag_test + 1_._
    ENDMETHOD_._ "check
    ENDCLASS_._ "lcl_handle_events IMPLEMENTATION
    Please give me reward points

  • Form report with both edit and column link

    hi experts,
    How can we create form report with both edit and column link. Ie, the form should have both the Edit link and column link. When we click on the edit link(in page1) it should go for the page2 and the page2 should display the corresponding row fields which should be editable. but when i click the column link it should bring me to the next page but the corresponding values of the column should not be editable.
    Regars,
    KK

    hi,
    Here i have achieved this by making the column link and page navigation.

Maybe you are looking for

  • Problem when creating Database (Database, OS and hardware Configuraiton)

    Problem when creating Database: There are two problems, which I faced during creation of database. When creating database with Oracle Database Assistant. One when creating pre tuned database from CD. And second when creating customized database givin

  • IPad frame on projector too small

    I'm connecting my newest iPad to an Epson projector (powerlite home cinema 710hd) using an adapter. I think it's this one, http://store.apple.com/us/product/MD098ZM/A/apple-digital-av-adapter, but I'm not entirely sure. It certainly looks just like t

  • Update field in me01

    In me01 i need to update in source list records column MRP  how i can do it i tried Batch input i dont want it... any one did it in past....

  • Adsl daemon not starting

    I have pppoe connection, in the past worked very well, I 've recently replaced an antique motherboard 10 years old with a 775 socket Asrock, chipset G41 that has Realtek 8102E/8103E on-board lan and I have since then always had to manually do sudo /e

  • IPod 1gig bug...i think.

    This isnt really a question, well i guess it is, but, when I go to rate a song on my 1 gig nano, i rate it real quick, and then press the middle button to go back to the time of the song, and, it changes screens, but, is still the rate screen. its we