Issues with report with checkbox

Hi friends,
i have created a report with checkbox.
the query is
> select apex_item.checkbox(1,person_id,'unchecked') "select",
person_id,
AVAIL_SAL_CERTIFICATE,
OCCURANCE,
LAST_AVAILED_DATE,
REASON,
EFFECTIVE_START_DATE,
EFFECTIVE_END_DATE
from YY_SALARY_CERTIFICATEnow am having one button in my report region. suppose if i checked the particular row in report and clicked that button it should redirect to next page which is a form page it contains all the fields what report page had and it should display the value of corresponding report row which i checked.
how i can achevie this?
pls someone help me...

<li>On Submit PLSQL
DECLARE
  lc_colln_name VARCHAr2(100) := 'MY_COLLN';
BEGIN
  APEX_COLLECTION.CREATE_COLLECTION(lc_colln_name);
FOR i IN 1..APEX_APPLICATION.G_F01.COUNT --use the checkboxes array index used in query
LOOP
   --Add each checked record id to collection
   APEX_COLLECTION.ADD_MEMBER
            p_collection_name => lc_colln_name
           ,p_c001 => APEX_APPLICATION.G_F01(i)  --Now c001 column of collection has this id
END LOOP;
END;<li>SQL Query of report in Page 2
select person_id,
AVAIL_SAL_CERTIFICATE,
OCCURANCE,
LAST_AVAILED_DATE,
REASON,
EFFECTIVE_START_DATE,
EFFECTIVE_END_DATE
from YY_SALARY_CERTIFICATE
         ,apex_collections AC
where AC.collection_name = 'MY_COLLN' --use the name of the collection created previously
AND    person_id = AC.c001

Similar Messages

  • Issue migrating reports with Graphical features.

    Hi guys,
    I am working on migrating reports from 10g to 11g and I have an issue with the reports which contains a Graph. They are giving the following error when I run them against the 11g report server(they are running fine against the 10g server with out any issues)
    The report terminated with error:
    REP-56048: Engine rwEng-1 crashed., job Id: 24.
    I have searched on Google, for a solution to fix them, the closest I found was Installing Oracle Graphics 6i engine in a separate Oracle Home, but this was said for 9i and 10g, you can find that in the below oracle document:
    http://www.oracle.com/technetwork/middleware/reports/graph-faq-with-style-094084.html#q101
    Does anyone know, if I can Install Oracle Graphics 6i engine in a separate Oracle Home for 11g too?, to make them work at least, if not modifying the existing ones?
    Thanks,
    Sona.

    Hi Sona,
    unfortunately installing Graphics 6i in a separate OH for 11g wont work. This option was only possible until Reports 10g as a temporary option while migrating to the new BI beans graphing functionality included in 10gR2 and 11g.
    Reference
    http://www.oracle.com/technetwork/middleware/reports/graph-faq-with-style-094084.html
    Migrating Oracle Graphics 6i charts
    How do I migrate my charts from Oracle Graphics to the new graph format in Oracle9i Reports or Oracle Reports 10g?
    Oracle9i Reports Release 1 onwards, Oracle Graphics has been desupported. Oracle9i Reports and Oracle Reports 10g use BI Beans to generate graphs. Because of the underlying technology, there is no direct migration path from Oracle Graphics to the BI Bean graphing functionality. As such, the user will need to rewrite all of their graphs using the new Graph Wizard within the Reports Builder.
    Top of Page
    Can I still run my existing Oracle Reports Developer 6i reports containing Oracle Graphics charts in Oracle Reports?
    As noted in the Oracle Reports Statement of Direction, Oracle Graphics is no longer shipped with Oracle Reports. However, as part of the migration path, you can still run Oracle Graphics charts in Oracle Reports if you install the Oracle Graphics 6i engine in a separate Oracle Home. You should only maintain Oracle Graphics 6i as a temporary measure while you redesign your charts using the new Graph Wizard. For further details on how to configure Oracle to use Oracle Graphics 6i, please see the Graphics Migration section in the Oracle9i Application Server Migration from Oracle9iAS Release 1 (1.0.2.2.x) to Release 2 (9.0.2) manual.
    Top of Page
    Can I modify or add Oracle Graphics 6i charts to my reports with Oracle9i Reports or Oracle Reports 10g?
    No. You must have a separate installation of Oracle Graphics 6i Builder in order to modify your existing Oracle Graphics 6i charts since Oracle Graphics is not shipped with Oracle Reports. We strongly recommend that you migrate your charts to the new standard in Oracle Reports.
    Thanks, RZ

  • Aggregation issue for report with bw structure

    Hi,
    I am facing aggregation issue while grouping reports in webi.
    We have a BW query with 16 values, which we bring to bw as structure. Out of 16, 8 are percentage values (agg. type should be average).
    If we bring the data at site level, data is comming properly. But if we use same query and try sum/grouping( on region level), then percentage is getting added.
    Since it's a dashboard report with lots of filters, we cannot go for seperate query at each level(site, region, zone).
    How we can resolve this.. please give me suggestion.
    Regards
    Baby

    Hi,
    Since we were using structure, it was not possible to produce the required result in BO.
    We change structure to keyfigures and bring all of them in to BO. All the column formulas are now in BO side.
    Now it is working fine.
    Regards
    Baby
    Edited by: Baby on May 10, 2010 11:39 AM

  • Need to create form on a table with report with a table has NO primary key

    Hi, I tried to created some insert/update/delete form+report in an application, it works fine only if the table has primary key. Does anyone know how to create the same functionality with a table with no primary key? I saw an application is built on older version of htmldb that is using tables with no primary keys at all.
    Here are the specific issues that I am facing:
    - I am building some Form on a table with Report, it requires the table with primary key for form to update. Is there a workaround that I can use tables that has no primary keys at all?
    - Say if primary key is necessary in the previous report+form, but the maximum number of columns that I can use to composed a primary is only 2 for that Form-Report, I cannot find anything handling > 2 primary key. Do you know if there are some ways to composite a primary key from many columns together?
    Your help is really appreciated.
    Thanks,
    Angela

    Sorry to ask response so late. I had no time to get back to that issue before.
    Regarding the triggers, I can make it work for the update, but not the insert.
    Here is my trigger:
    create or replace trigger STATUS_T1
    instead of insert on STATUS
    begin
    insert into STATUS ("LABEL", "AREA", "OWNER", "TEST_NAME", "STATUS", "REMARKS", "BUGS", "DEV_MGR", "TEST_BY_DATE")
    values(:new.LABEL, :new.AREA, :new.OWNER, :new.TEST_NAME, :new.STATUS, :new.REMARKS, :new.BUGS, :new.DEV_MGR, :new.TEST_BY_DATE);
    end;
    by any chance, you can notify what is wrong?
    I already skip the ROWID when inserting to the view STATUS, but I cannot figure out what is wrong when inserting a new record to that view.
    It gave me the following errors:
    ORA-06550: line 1, column 38: PL/SQL: ORA-00904: "ID": invalid identifier ORA-06550: line 1, column 7: PL/SQL: SQL Statement ignored
    Error Unable to process row of table STATUS
    Then, I turned to debug mode, I am thinking that maybe because I use a HIDDEN item to hold the value of ROW_ID as I use the rowid (called ID in the view) to retrieve the record as a column link from previous page. What do you think?
    Thanks again,
    Angela

  • Problem with report with filter from other query

    Hi All,
    I have some report with two queries:
    1. First contain Date(1) converted to int (like 20140807). This query calculate Date as getdate minus number of day which I could define (for example -8 return getdate minus 8 days).
    2. The second contain also Date(2) converted to int. I would like to add filter where Date(2) will be on the list from results in query 1. When I try do this I receive:
    Database error: [Microsoft][ODBC SQL Server Driver][SQL Server]Statement(s) could not be prepared.. (IES 10901) (WIS 10901)
    When I have changed number of days from -8 to -30 in query 1, query 2 return some records.
    I do not know why it work sometimes, sometimes not.

    Sathish, but I use defined by me objects (today number + days) and (today number) in BO so I do not want to change it manually.
    Arijit, the second query without any filters return records with Date(2) equal 20140715. When I add filter with Date(2) = returned data from query 1 (getdate minus 8 days) I receive error. I know that getdate minus 8 days return dates (20140807...20140801) so 20140715 is out of the range. In this case query should return blank page.
    When I change query 1 from 8 to 30 days is working correctly because 20140715 is in this range. Maybe it help to help me
    This is condition from query1:
    WHERE
      dbo_Date.DateID(1)  BETWEEN  year( ( cast(convert(varchar, dateadd(day,@Prompt('Enter the number of X days',  'N',,Mono,Free, Persistent),getdate()) , 102) as datetime) ) )*10000 + month(( cast(convert(varchar, dateadd(day,@Prompt('Enter the number of X days',  'N',,Mono,Free, Persistent),getdate()) , 102) as datetime) ))*100 + day( ( cast(convert(varchar, dateadd(day,@Prompt('Enter the number of X days',  'N',,Mono,Free, Persistent),getdate()) , 102) as datetime) ) )  AND  year( getdate() )*10000 + month(getdate())*100 + day( getdate() )
    but I use the same condition in other reports and it is work.

  • Speed Issue in Report With 1130680 Records Returned

    Hi
    <b>Apologies to the mods if this is in the wrong section, it contains content related to Legacy SDKs (VB6/COM), newer .NET content as well as report design issue.</b>
    I'm using Windows XP SP3 with the database hosted on my machine, an [email protected] with 2GB DDR2 RAM. Neither the client's pc nor their server are as powerful as mine. (It sucks, I know.)
    A report has a speed issue for the end users. The query to the database (SQLS2008) takes 30 seconds and returns 1 130 680 records. And yes, this is the amount of records that need to be returned (the report is a Sales Details report for transactions from 2008/09/01 to 2009/03/31) Running the query through SQLSMS takes the same amount of time whether I execute the statement that the report sends or put the query into a stored procedure. The relevant indices are in place.
    Our application is written in VB6 and uses the CR9 unmanaged runtime. I've written a small little CR application in VS2008 to see if running the report through the CR.NET runtime would make it quicker. I built the .NET app in release mode (with optimization and no debug data) and ran the exe to do the speed tests. The times taken for the report to run:<ul>
    <li>VB6 app - 3:30s
    <li>.NET app - 4:30s
    <li>VS2008 IDE - 2:02s
    </ul>
    I have run the report three times for each app using my cellphone as a stopwatch and the times are reproducible to within two seconds.
    I accidentally ran the report in the VS2008 IDE and it took 2:02s to run. Thinking that the loading of the DLLs in .NET was part of the problem, I added code under a button on the form with the following code:
    CrystalReportsApplication1.Properties.Settings a = new CrystalReportsApplication1.Properties.Settings();
    Assembly aAss = Assembly.LoadFile(a.CR01Engine);
    Assembly bAss = Assembly.LoadFile(a.CR02EntFramework);
    Assembly cAss = Assembly.LoadFile(a.CR03EntInfoStore);
    Assembly dAss = Assembly.LoadFile(a.CR04ReportSource);
    Assembly eAss = Assembly.LoadFile(a.CR05Shared);
    Assembly fAss = Assembly.LoadFile(a.CR06WinForm);
    to preload the assemblies. Unfortunately it made virtually no difference to the running time of the report.
    Suggestion from The specified item was not found. on [this page|Speed issue - internal processing vs views;:
    8. For summaries, use conditional formulas instead of running totals when possible.
    I didn't know that, but we're doing that already.
    I even tried using ngen in a virtual machine for the .NET app, but the time was the same. And yes, I know that ngen is only supposed to aid startup times and that it is actually recommended to let the JIT optimize on the fly instead of ngen optimize beforehand. What really struck me was that even in a VM (using Virtual PC 2007) using 512MB of RAM and only a single core the time was the same.
    My questions:<ol>
    <li>I thought that VS2008 shipped with CR2008 Basic, but according the the references in my project it's CR10. Would the CR2008 runtimes improve the report speed?
    <li>Why do the CR10 .NET runtimes take longer to execute than the CR9 COM runtimes?
    <li>I really, really, really need the .NET runtime to outperform the COM runtimes as our purchase of CR2008 hinges on this. As you can probably guess, we're currently using ye olde CR9.2 from 2002.
    <li>Why oh why do the CR10 .NET runtimes take longer to execute than the CR9 COM runtimes?
    <li>The first level of grouping is a variable which changed the grouping depending on a parameter. I changed it to a field from one of the tables and the times for the apps are:
    <ul>
    <li>VB6 - 2:15s
    <li>.NET - 2:48s
    <li>CR9.2 IDE - 2:19s
    <li>VS2008 IDE - 2:34s
    </ul>I may or may not be able to push it out to the client like this, I don't know. Why did the VS2008 IDE take longer this time? All I did was change the grouping-on-parameter to ordinary grouping.
    <li>Why oh why oh WHY do the CR10 .NET runtimes take longer to execute than the CR9 COM runtimes? Are they just thunkers to the COM DLLs?
    <li>Why does the run in the VS2008 IDE (in debug mode BTW, not release mode) run quicker than both programs?
    <li><i>AndrewJ.requestACookie(Flavour.Strawberry, Flavour.Alternate.ChocChip, RequestMethod.Please); // Hey, it's 5:44PM and I want to go home for the long weekend! </i>
    </ol>
    Thank you and have a blessed Easter!
    Edited by: AndrewJ on Apr 14, 2009 10:04 AM. Changed the CPU, I was thinking of my CPU at home.

    Please re-post if this is still an issue to the .NET Development - Crystal Reports Forum or purchase a case and have a dedicated support engineer work with you directly.
    Bottom line is CR Basic is version 10.5. CR 2008 is 12.2.x.xxxx. Install CR 2008 SP 1 to get .NET support.
    And you can't compare COM to .NET, it's like comparing apples and oranges, both fruits but different flavors.

  • Query issue---Aging report with Net due

    Hello Gurus,
    I am just stuck very badly with a report requirement. The reports has billing doc and item with amount aggregated under different age buckets.
    Ex:
    Bill doc-0000000001;item-10; aged bucket 10-20days-- -100
    Bill doc-0000000001;item-20; aged bucket 30-40days-- 1000
    remember that these are two different rows and columns. The user wants to see the net amount due for 30-40 days i.e 1000-100=900 not 1000.
    How do I achieve this?
    Thanks
    Simmi

    Technically the report is correct, the amount of due 10-20 days is -100 while the amount due for 30-40 days is 1000 where the sum is 900. The only problem is the aging dates and line item number if you get ride of them then you will get 900 which is correct but if you drill down by date the report is correct. There is no way to achieve what they want if you have to display the line item number. Tell them this is correct.
    thanks.
    Wond

  • Issues with report with radio group

    Hi Friends,
    Am new to this apex 4.0,i have created a report using radio group
    select apex_item.radiogroup(1,person_id,'checked',person_id) "select",
    person_id,
    AVAIL_SAL_CERTIFICATE,
    OCCURANCE,
    LAST_AVAILED_DATE,
    REASON,
    EFFECTIVE_START_DATE,
    EFFECTIVE_END_DATE
    from YY_SALARY_CERTIFICATENow my requirement is if i checked the radio button and i pressed the next button in my report,it should redirect to the next page which is a detailed form page ant it should display the corresponding checked report row values.
    both the report and form having the same fields,
    please Someone help me to achieve this...

    hi vee,
    ya vee,actually i used my friend account because i forgot my password.Today only i reset my password so only i posted this issue..
    regards,
    yams

  • Image upload in  Form with Report

    Hello
    I have created a table FA_CUST_DTL
    Column Name     Data Type     Nullable      Default     Primary Key
    CUST_ID NUMBER      No          1
    CUST_NAME     VARCHAR2(1000) Yes          
    CUST_ADD     VARCHAR2(4000)     Yes          
    MOBILE     NUMBER(12,0)     Yes          
    PHONE     VARCHAR2(15)     Yes          
    EMAIL     VARCHAR2(100)     Yes          
    SIGNATURE_IMAGE     BLOB     Yes          
    MIMETYPE     VARCHAR2(200)     Yes          
    FILENAME     VARCHAR2(400)     Yes          
    IMAGE_LAST_UPDATE     DATE      Yes          
    Then i created a page Form With report with the trigger . After Browsing , images are not showing in my report.
    Can u tell me any idea abt it plz help me its urgent for me.
    Regards
    Geet

    If you need to control height and width of your uploaded images, then you must use the APEX_UTIL.GET_BLOB_FILE_SRC function. Please refer to this documentation:
    [http://download.oracle.com/docs/cd/E10513_01/doc/apirefs.310/e12855/apex_util.htm#AEAPI129]

  • Report with Checkbox

    I am trying to follow the example shown at the below link but it is not working. I am modifying some of the code since I am using version 1.6. Any ideas as to what I may be doing wrong. The checkbox appears and I can select and deselect items but I cannot get P6_HOLDER to hold any of the values of the selected items. Thanks!
    http://apex-smb.blogspot.com/2009/01/apex-report-with-checkboxes-advanced.html
    First I created a page item called P6_HOLDER.
    Next I created a report region (sequence 40) with the below code.
    select htmldb_item.checkbox (1, dev_obj_id, 'onchange="spCheckChange(this);"',
    :P6_HOLDER, ':') checkbox, dev_id, dev_obj_desc from edm_dev_obj where
    dev_id = :P6_TEMP_DEV_ID
    **I then created a html region (sequence 1) with the below code**
    <SCRIPT src="http://www.google.com/jsapi"></SCRIPT>
    <SCRIPT>
    // Load jQuery
    google.load("jquery", "1.2.6", {uncompressed:true});
    function spCheckChange(pThis){
    var get = new htmldb_Get(null,$v('pFlowId'),'APPLICATION_PROCESS=CHECKBOX_CHANGE',$v('pFlowStepId'));
    get.addParam('f01',pThis.value); //Value that was checked
    get.addParam('f02',pThis.checked ? 'Y':'N'); // Checked Flag
    gReturn = get.get();
    $f('checkListDisp').innerHTML=gReturn;
    </SCRIPT>
    CHECKBOX List:
    <DIV id=checkListDisp>&P6_HOLDER.</DIV>
    I then created an application process on Demand called CHECKBOX_CHANGE with the below code
    DECLARE
    v_item_val NUMBER := htmldb_application.g_f01;
    v_checked_flag VARCHAR2 (1) := htmldb_application.g_f02;
    BEGIN
    IF v_checked_flag = 'Y' THEN
    -- Add to the list
    IF :P6_HOLDER IS NULL THEN
    :P6_HOLDER := ':' || v_item_val || ':';
    ELSE
    :P6_HOLDER := :P6_HOLDER || v_item_val || ':';
    END IF;
    ELSE
    -- Remove from the list
    :P6_HOLDER := REPLACE (:P6_HOLDER, ':' || v_item_val || ':', ':');
    END IF;
    -- Just for testing
    HTP.p (:P6_HOLDER);
    END;

    Hi
    Create a page level validation (fucntion returning boolean) and write code similar to following
    DECLARE
    v_count NUMBER := 0;
    BEGIN
    FOR i IN 1..APEX_APPLICATION.G_F01.COUNT LOOP
    IF APEX_APPLICATION.G_F01(i) IS NOT NULL THEN
    v_count := v_count + 1;
    END IF;
    END LOOP;
    IF v_count = 0 THEN
    RETURN TRUE;
    ELSE
    RETURN FALSE;
    END IF;
    END;I take it your report query is similar to following
    select apex_item.checkbox(1,"PK_CLMN") Tick, col2, col3 FROM tbl_nameCheers,
    Hari

  • 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

  • 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

  • Issue with report S_ALR_87011964

    Hi Gurus
    I have executed teh report  S_ALR_87011964 but some assets not shown  assets such as 25698 (class 4000).  Compare this to asset 25650 (class 2000) which is also rs0 value but this asset is shown in the report
    any idea why it is not shown?
    kind regards
    Sunitha

    Hi,
    the report only shows active assets at report date. If the asset is retired, it is not shown.
    Second issue could be that you do not have authorization for a certain asset class. Execute the report with SAP_ALL authorization should answer this ...
    Regards,
    Markus

  • Issue with report RBDMIDOC

    Hi Gurus,
    I have an issue with the report RBDMIDOC. When I run it to the message type MATMAS, it takes 8 or 9 seconds to send the IDoc. With the message type CLFMAS takes 3 seconds.
    The duration of the execution of this report depends only of the access to the BDCP and BDCPS tables or is there any other factor that has influence on this time?
    The BDCPS table has 300000 entries, and is well indexed.
    What could I do to reduce this time?
    Thanks and regards,
    Manuel Míguez.

    [Duplicate Post|Issue with Report RBDMIDOC;

  • Issue with report Y_DEV_82000038 P & L by period plan.

    Hi,
        It seems we are having an issue with report Y_DEV_82000038. When we are executing this report then in the output for one line item it is showing one value and when we drill down it it is shoiwng double value of what it is showing in the initial screen of output.
    Regards

    Hi,
    The reports with 'Y' or 'Z' are not standard ones. You have to check with the person who developed this report. Ask to your ABAP team to help you.
    Regards,
    Eli

Maybe you are looking for

  • Simple exception chaining problem

    The problem is 'throw new ClientException(e.getMessage());' the error message kept stating to be in try/catch but it's already in try bracklet. I tried placing the exception in other bracklet but it defeats the purpose of showing the exception in thi

  • Media Player dumps content

    The win7 media player has suddenly dumped all of the albums and song lists I count on.  It appears that the music is still in the My Music folder but totally without organization and there are a lot of unknown and empty albums.   80% of the content i

  • Can data pump only export/import views also.

    Hi Can anybody tell me how to export or import only tables and views through data pump.

  • Unable to install Flash Player on Mac mini

    Hi Folks!  You all have probably encountered this question before...so here goes.  I own a mid 2010 Mac mini running OS X 10.10 (Yosemite).  Had Adobe Flash player running fine then was prompted to upgrade (text read "Your Flashplayer is outdated") 

  • Necesito ayuda mi ipod 5 no agarra sin audifonos !

    estaba escuchando música y de repente mi ipod 5  de 32GB dejo de sonar y quise volver a poner musica y no se pudo se regresaba tampoco YouTube agarra ni los videos y le puse mis audifonos y ya sonada la musica y los videos se ponian pero se los quite