DropDownClick event in table

Hai
i have tablenode like - POITEM and
i have two subnodes like - PONODE and ITEMNODE
i have two dropdowns in a table.
i bind PONODE -> poid -> attribute to first dropdown
next i bind ITEMNODE->itemid-> attribute to second dropdown
now i am showing the records in the first dropdown using some coding in supplyfunction or wddoinit method.
First dropdown code (wddoinitmethod)
  data:
    node_poitem                         type ref to if_wd_context_node,
    node_ponode1                        type ref to if_wd_context_node,
    elem_ponode1                        type ref to if_wd_context_element,
    stru_ponode1                        type if_employeepopvu1=>element_ponode1,
    itab_sflight_node            type STANDARD TABLE OF ZSPOID1,
    stru_sflight_node            LIKE LINE OF itab_sflight_node.
    SELECT poid FROM table1 INTO TABLE itab_sflight_node.
    node_ponode1->bind_table(
    new_items =  itab_sflight_node
    set_initial_elements = abap_true ).
the above code is working fine.
when i select the value from first dropdown and pass it to bring the values for second dropdown.this scnario is not working now
i have written the following syntax in
First Dropdown click method
data : itabitem            type STANDARD TABLE OF ZSPOID,
elem_ponode1->get_attribute(
      exporting
        name =  `POID`
      importing
        value = item_poid ).
    select  itemid  from table into corresponding fields of table itabitem where poid eq item_poid.
      data:
       node_poitem                         type ref to if_wd_context_node,
        node_itemnode1                      type ref to if_wd_context_node,
        elem_itemnode1                      type ref to if_wd_context_element,
        stru_itemnode1                      type if_employeepopvu1=>element_itemnode1 ,
        item_itemcode                       like stru_itemnode1-itemcode.
elem_itemnode1 = node_itemnode1->create_element(  ).
    node_itemnode1->bind_table(
    new_items =  itabitem
    set_initial_elements = abap_false ).
Guide me
Regards
Dhinakaran J

Hai
forget about supply function
i have written in the first dropdown click method.OK
when we click first dropdown,sure it goes every time to first dropdown method.
My Q is?
how to show the corresponding values in the second dropdwon?
is the following syntax corerct in the first dropdown method?
    node_itemnode1->bind_table(
    new_items =  itabitem
    set_initial_elements = abap_false ).
or
Shall i bind the elements like
node_itemnode1->bind_elements( stru_item ).

Similar Messages

  • How to create event in table maintenance generator

    Hi guys,
    I need to create an event for my table maintenace generator such that when the field land1 is filled, the landx field should take its data from t005t table. and the ladnx field should be display only, it can not be modified in table maintenance.
    How can i create an event in table maint. gen? How am i going to do it?
    thanks always,
    mark

    Hi,
    As mentioned in the last post go to the event screen by
    Environment --> Modifications --> Events.
    There you click on new entries and try writing your logic for event 21 i.e. after selecting 21 give some name of your event and write down the logic how you want to do this.
    If event number 21 does not work then try 1. One of these two should work.
    Hope this helps!!!
    Regards,
    Lalit

  • How to Create Event polling table

    hi,
    1)How to Create Event polling table
    2) wahts RPD stands for.
    3) when we are prefer Dynamic variables.
    thanks.
    raj

    1) http://obiee101.blogspot.com/2008/07/obiee-managing-cache-emptyingpurging.html
    2) Repository Project Design ?
    - More than likely the extension RPD was not used by anything else when Siebel Analytics first started using it, no doubt the 'RP' is repository, so use 'Definition' or 'Design' as you like. Im pretty sure there is nothing in the documentation but i've not checked, maybe you could check and let us know?
    3) Dynamic variables would be something like 'CURRENT_MONTH' where the same query does not need to fire per user (ie SESSION variable) but needs to be periodically refreshed. Another use of you dynamic variable might be 'LAST_ETL_DATE' or somethng similar which might implement with your event polling table. By including the Variable within a Business Model, all cache for the Business Model is purged whenever the Variable's value changes.

  • EVENTS in table maintenance Generator

    Hi, can u people help me while using EVENTS in Table Maintenance Generator. Means how can I perform different task using events.

    Hi,
    Using events in table maintenace generator, you can validate the fields, update the fields etc..There are events(01-New Entry), (02-Before Save); (03-After Save) etc... The respective events trigger on the action performed.
    To create events : Goto table maintenace generator screen->Enviorement->Modifications->Events.
    Select the from the list of events and peform based on ur requirement
    Regards
    Shiva

  • Events in table maintenance generator 01

    Hi all,
           I have an urgent requirement regarding the events in table maintenance generator.The requirement is i have a qty field in table i want to change the existing value it should allow only a lesser value.How to use TOTAL and EXTRACT structures.
    it is urgent.please help me out.
    Thanks & regards,
    Kranthi

    Follow the example below:
    form get_vendor_name.
      data w_extract type z_table.
      data begin of w_total.
              include structure z_table.
      data: action,
            mark,
      end of w_total.
      loop at extract into w_extract.
        check not w_extract-z_vend_no is initial.
        select single name1 from lfa1
                           into  w_extract-z_vend_name
                           where lifnr = w_extract-z_vend_no.
        modify extract from w_extract.
      endloop.
      loop at total into w_total.
        check not w_total-z_vend_no is initial.
        select single name1 from lfa1
                           into  w_total-z_vend_name
                           where lifnr eq w_total-z_vend_no.
        modify total from w_total.
      endloop.
    endform.
    Reward points if useful.
    Regards.

  • Some records stays in Event Polling Table forever and ever

    I have configured Event Polling Table at Oracle BI. It works fine and the entry cache are purged. But some records stays in EPT table for ever. Records without misstat1 are inserted by me (trigger). Records with OTHER=misstat1 are inserted by BI Server. There is no delete or error statement in log file for this timestamp. Other timestamps are deleted by BI Server.
    +++Administrator:fffe0000:fffe0012:----2008/09/22 22:17:58
    -------------------- Sending query to database named misstat1_db (id: <<127983>>):
    insert into
         BI_EPT("UPDATETYPE", "UPDATETIME", "DBNAME", "CATALOGNAME", "SCHEMANAME", "TABLENAME", "OTHER") values (1, TIMESTAMP '2008-09-22 22:08:24', '', '', '', 'MV_E_DENIK_KP', 'misstat1')
    UPDATETYPE     UPDATETIME     DBNAME     CATALOGNAME     SCHEMANAME     TABLENAME          OTHER
    1     22. 9. 2008 22:08:24                                                                    MV_E_DENIK_KP           misstat1
    1     22. 9. 2008 22:08:24                                                                    MV_E_HIM                           misstat1
    1     22. 9. 2008 22:28:19                                                                    MV_ODY_OSCI_VYROCI     misstat1
    1     22. 9. 2008 22:28:19                                                                    MV_ZPC_CERP           misstat1
    1     22. 9. 2008 22:08:24                                                                    MV_E_DENIK_KP     
    1     22. 9. 2008 22:08:24                                                                    MV_E_HIM     
    1     22. 9. 2008 22:28:19                                                                    MV_ZPC_CERP     
    1     22. 9. 2008 22:28:19                                                                    MV_ODY_OSCI_VYROCI     

    UpdateTime needs to be unique, but you can't put a unique constraint on it. As you probably know, the server will insert a nearly identical record (it will just put text in the OTHER field but everything else will be the same). Then it deletes both records. However, in your case it looks like there are some identical timestamps that are not just duplicates from the server's insert. If you make sure you don't have any identical timestamps in UpdateTime, I think it will work correctly if everything else is configured correctly.

  • Event Pooling Table doesn't work

    I have created Event Pooling Table and registered it. When I insert correct name into field TABLENAME nothing happens - when I look at BI Administrator - Manage - Cache - the table still has entry in cache (and record is deleted from EPT table). When I insert incorrect name info field TABLENAME, I can see message in errorlog (The physical table misstat1_db::MIP:MV_E_HIMA in a cache polled row does not exist.) and I suppose that it is working. But cache not purged.
    Can you someone tell me why?
    Thx.

    Hi,
    Stale cache entries are purged automatically at the specified polling intervals. As your saying record has deleted, it means that polling has occured.
    Are you sure that the cache entry you are looking at is the same table which has been modified?
    If possible, not a solution just for debugging, try to create sample request in Answers and check whether it's been changing when the table get modified.
    -Vency

  • When we are using Event pooling tables explicitly we have insert data into

    hi all
    i have read about event pooling table,
    if we implement event pooling tables then explicitly we have insert table information (like product_dim) in event pooling table explicitly
    suppose i have updated more then 5 tables in my database that time i have to enter(insert) 5 table information in event pooling table(Tables_nq_emt) in the back end
    if so then what is the use of event pooling table???
    this is event pooling table i have crated in back end
    CREATE TABLE S_NQ_EPT (
    UPDATE_TYPE DECIMAL(10,0) DEFAULT 1 NOT NULL,
    UPDATE_TS DATE DEFAULT SYSDATE NOT NULL,
    DATABASE_NAME VARCHAR2(120) NULL,
    CATALOG_NAME VARCHAR2(120) NULL,
    SCHEMA_NAME VARCHAR2(120) NULL,
    TABLE_NAME VARCHAR2(120) NOT NULL,
    OTHER_RESERVED VARCHAR2(120) DEFAULT NULL NULL
    Thanks

    Hi,
    IF you are using event pooling then you should make use of triggres in database.Create a trigger 'after insert' on some major table which you think is gonna update after every etl load.As soon as some data is inserted into this table trigger will automatically insert a record in event pooling table and cache will be purged.I am not sure about the syntax of triggers.Please google it around.
    If you are trying to purge cache through oDBC procdure then you need to create a shell script and based on whether ETL load has completed ,you need to execute this script.
    regards,
    Sandeep

  • Get value of Table data in Event of Table maintaince generaor

    Hi Expert,
    I want content of table in event of table maintenance generator (Event 01 - Before Saving Data in Database).
    can you please tell me that how can i achieve this value of whole table in this event.
    Regards,
    Chintan Shah

    Hi ,
    Try this..
    In event 01
    MESSAGE 'Dulicate Record Exist' TYPE 'S' display like 'E'.
    *--->It will stop save functionality
    vim_abort_saving = 'X' .

  • Cache purging in RPD using Event polling table

    Hi All,
    We have a star schema implemented with few dimension tables and one fact. I am trying to implement Cache management using Event Polling table concept.
    During validation,
    1. Created and ran an adhoc user report
    2. Inserted a record in event polling table with one of dimension table(not fact) of star schema used in adhoc reporting.
    3. Cache in the RPD doesn't get purge.
    Also i have tried validating by inserting a Fact table in Event polling table for which cache gets purged in the RPD within certain interval of time.
    Please help , why dimension tables inserted in Event Polling table and the corresponding RPD query is not getting purged.
    Thanks,
    LonaD

    I can't help you with why this happens, but we experience the same behavior in our environment.  I've always chalked it up to either bad design in the cache polling feature or a bug.
    To work around this, in the past we've used one of these two solutions -- (1) Schedule a daily cron job to clear the entire cache sometime after your nightly ETL refresh usually completes (2) Have your nightly ETL refresh trigger a clear of the entire cache as the last thing it does.  This way, your cache is cleared for most queries on a fact by fact basis, and the dimension-only queries (and anything else left over) get cleared at the end.
    If you figure out a way to do this via the event polling, I'd love to hear it.
    Tony

  • OnFilter event in Table UI element

    Hi,
    I need the coding for onfilter event in table ui element. And also i need step by step procedure for 'How to make the filter function possible in Table display'.
    ie. How many context nodes to be created, i have mapped on context node with bapi and bind it with a Table ui element.I need to display the filter in that table .Do i need to create on more with same structure  for onfilter or i need two context nodes to be created.
    Plz clear me.
    I have place the filter icon in Table UI Element. Also i binded the Filter context node Attributes with each column in Table ui element.  I need to make that icon function properly.
    Edited by: Ramanan Panchabakesan on Mar 25, 2008 6:51 AM
    Edited by: Julius Bussche on Aug 16, 2010 11:57 AM
    Forbidden word removed from title...

    hi,
    on clicking the filter button i got this error
    What has happened?
    The URL http://<server>/sap/bc/webdynpro/sap/ztabletestapp/ was not called due to an error.
    Note
    The following error text was processed in the system KCS : Conversion of type g to type l not supported.*
    The error occurred on the application server kaar-server9_KCS_00 and in the work process 1 .*
    The termination type was: RABAX_STATE*
    The ABAP call stack was:*
          Method: IFWDR_INTERNAL_API~ASSIGN_UNTYPED_REFERENCE of program SAPLWDR_RG_PROXY_FACTORY
          Method: ONACTIONFILTER of program /1BCWDY/EPRPAVSQP7YFCH7L2M4F==CP
          Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/EPRPAVSQP7YFCH7L2M4F==CP
          Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP
          Method: IF_WDR_ACTION~FIRE of program CL_WDR_ACTION=================CP
          Method: DO_HANDLE_ACTION_EVENT of program CL_WDR_WINDOW_PHASE_MODEL=====CP
          Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP
          Method: PROCESS_REQUEST of program CL_WDR_WINDOW=================CP
          Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP
          Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Edited by: Ramanan Panchabakesan on Mar 25, 2008 11:11 AM

  • Events in Table maintanance generator

    Hi All,
        Iam creating the events in the table mainatanance generator.
       My requiremnt is : I need to validate the non-key field. If i give an erro message the field is going to dispaly mode.so i tried to give an warning message dispaly like error. But after user re enters the value , i couldn't handle the value in that field.
    i could not find the event which will trigger after  the entering the value.
    Please help me.
    Thanks in advance.
    Kiran Kumar.

    Hi Kiran,
    The following is a very useful PDF link about IMPLEMENTING EVENTS IN TABLE MAINTENANCE which should solve your problem
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/how%20to%20implement%20events%20in%20table%20maintenance.doc
    table maintanance Generator is used to manually
    input values using transaction sm30
    follow below steps
    1) go to se11 check table maintanance check box under
    attributes tab
    2) utilities-table maintanance Generator->
    again from the MENU
    ENVIRONMENT->MODIFICATION->EVENTS
    you can find different events for this Table mainteance
    create function group and assign it under
    function group input box.
    also assign authorization group default &NC& .
    3)
    select standard recording routine radio in table
    table mainitainence generator to move table
    contents to quality and production by assigning
    it to request.
    4) select maintaience type as single step.
    5) maintainence screen as system generated numbers
    this dialog box appears when you click on create
    button
    6) save and activate table
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ed2d446011d189700000e8322d00/content.htm
    http://help.sap.com/saphelp_46c/helpdata/en/a7/5133ac407a11d1893b0000e8323c4f/frameset.htm
    /message/2831202#2831202 [original link is broken]
    One step, two step in Table Maintenance Generator
    Single step: Only overview screen is created i.e. the Table Maintenance Program will have only one screen where you can add, delete or edit records.
    Two step: Two screens namely the overview screen and Single screen are created. The user can see the key fields in the first screen and can further go on to edit further details.
    chk this link
    http://help.sap.com//saphelp_470/helpdata/EN/a7/5133ac407a11d1893b0000e8323c4f/frameset.htm
    Reward if it helps..
    Regards,
    Omkar.

  • Events in table maintains genrator

    hi gurus,
    events in table maintains generator..... 
    regards,
    praveen

    While creating the tables, sometimes we may need to update the table fields in the background
    Lets take an example, if create a table with 10 fields in those 10 fields there are 2 fields which are User name and the Date, these 2 fields should update automatically when a record Inserted/Updated in the table.
    For this, we need to create a table maintenance generator for that table. There in the table maintenance generator we have an option to create EVENTS.
    In the table maintenance generator, Environment --> Modifications --> Events then a screen will be appear here,we need to create the Events, for updating the fields create 05(Creating a new entry) and 21(Fill hidden fields) .
    In the EVENTS screen, press new Entries, there give 05 and give a name(This will become a PERFORM), then click the Editor pushbutton, this will be there at the right side of the entry, then a popup will be appear, you can create an include program, there inside of the include program write the below code
    form CREATE_ENTRY.
    TABLE-USERNAME = sy-uname.
    TABLE-CHANGED_ON = sy-datum.
    endform.
    Then in the events screen enter 21 and give the form name as HIDDEN_FIELDS, then press the editor button, then in the editor
    form HIDDEN_FIELDS.
    TABLE-USERNAME = sy-uname.
    TABLE-CHANGED_ON = sy-datum.
    update TABLE.
    endform.
    This CREATE_ENTRY Perform will be triggered for every new entry and the HIDDEN_FIELDS fields will be triggered for every changed value in the table, so the Fields USERNAME and the CHANGED_ON fields will be updated automatically when a new record inserted into the table or an existed record changes through the table maintenance generator.
    If you want any more functions, and then look at the events, you can press the F4 and look at the description of the event, then you come to know how to use and where to use.
    Check these links
    http://help.sap.com/saphelp_nw04s/helpdata/en/91/ca9f0ea9d111d1a5690000e82deaaa/content.htm
    http://abapliveinfo.blogspot.com/2007/12/events-in-table-maintenance-in-sap.html
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8129f164-0a01-0010-2a8e-8765287250fc
    Regards,

  • Cache purgin is not working with event polling table

    hi all,
    i am facing problem with event polling tables
    i will tell you the steps which i have followed for event polling tables
    1.i have created a table in back end for event polling table
    2.i have created ODBC connection to import the tables
    3. i have imported the tables along with event polling table
    4. i made the table as event polling table using utilities
    5.and then i ran the report in presentation catalog and i checked out the cache entries in Administration tool(in cache)
    6.and in back end i have manually inserted a db_name,catalog_name,schema_name and table name in to the event polling tales
    but cache purging is not happening ,
    any other steps that i have to follow ,or did i do any mistake while implementing event polling table
    please can any tell me how to make use of event polling table, i have followed following link
    http://gerardnico.com/wiki/dat/obiee/event_table_
    Thanks

    Hi,
    The steps are correct frm the link i have given,is the table name correctly specified i mean is it matching with the physical layer table.
    Test it for 1 table and check out by running the request containing that table and then insert 1 row manually to purge the activity or not by going to and verify that the cache entry is deleted and that you can find the below trace in the NQQuery.log file.
    Still the problem exists check out the log details whats the error.If your getting error in the same blog gerard has given some common errors and their support.
    hope you follow etiquitte.
    By,
    KK

  • Event pool table

    Hi,
    I have S_NQ_EPT table in physical layer and enabling event pool table
    Tools--> Utilities-->Oracle Bi Event Tables.
    I have selected S_NQ_EPT table and given f recency that is 4 mins. So every 4 minutes entries are going to be deleted.
    For testing, i have inserted a new record in S_NQ_EPT table and afte 4 mins that entry got deleted.
    I have created a new report from analytics. That has been stored in cache, When i check in S_NQ_EPT table, no records has been stored. How the S_NQ_EPT table got updated when entry got cached .
    Can you please give me some idea on it
    Regards,
    Malli
    Edited by: user10675696 on Dec 27, 2012 2:15 AM

    Check this link
    http://gerardnico.com/wiki/dat/obiee/event_table
    If helps pls mark

Maybe you are looking for