[Urgent] Issue with Selected rows in Advanced table

[I have searched archive and found lots of mails on same issue but none were conclusive so i am asking this again]
Hi All,
I have created an advanced table and i want to have functionality of deleting selected rows.
For implementation of this functionality, i have created a selectflag transient attribute [varchar2] and linked it to multiple select item of Advanced table but the table always returns null for selectflag attribute irrespective of row being selected or not.
One thing i have noticed is that i can't supply 'checked value' and 'unchecked value' property in advanced table multiple select item. Is that the issue?
Can anybody please guide, its quite urgent.
Regards
Lokesh

Hi Reetesh,
Thanks for the reply.
Yes, you are right i am using same AM at 2 different places.
Let me just elaborate a little about my implementation:
I have a Page layout region and within this page layout, i have a query bean which performs results based search.
Within this query bean, i have added an Advanced table within that query bean to display the results.
Now coming to multiple AM issue:
1. Page Layout region must have one AM or its an error.
2. If i donot add an AM to advanced table, it doesn't return rows.
So do i need to have 2 diferent AM's for this implementation?
Regards
Lokesh

Similar Messages

  • How to save the  selected rows from Advance table into database

    Hi
    I have requirement like..
    In custom page , Manager Search the Candidates and selects the candidate ROWS from advance table.
    The reqt is how to save the selected multiple rows into the database.

    hi Reetesh,
    In Custom page
    Supoose the Recruiter Search is for Position Finance Mangager , it retrieves 100 rows , out of which Recruiter select 10 rows .
    So in Such scenario how to save this 10 rows against Recruiter
    , i mean , Is i need to create custom table, to save Recruiter , these selected 10 rows.
    I hope u understand my question

  • Issue with Selection Listener when the table has only one row

    Hi All ,
    I have developed a table in which I am using Selection Listener to perform some task when any row is selected.
    It is working fine when I have more than 1 row in the table, but when I have only one row in the table , the selection listener do not call the corresponding method in bean.
    I understand that selection event will be raised only when the row is changed, but in the use case when only one row is there, what should be done to make the selection listener work ?
    In the selection listener I have written code to make the selected row as current row , and perform the required task.
    Please suggest a way out for this situation.
    Thanks in advance.

    Hi,
    try removing this attr from table
    selectedRowKeys="#{bindings.xxx_VO1.collectionModel.selectedRow}"

  • IRecruitment - custom page based on selected row in advanced table

    HI,
    We are implementing an addition to iRec. From the vacancy search page I have added an extra image column called worklog to the advanced table. Within the attributes I have set the view instance and and view attribute to
    View Attribute VacancyId
    View Instance IrcVacancyVO
    However this value does not get passed across. I have even called the image ID VacancyId in the hope that this value pair would be posted to the custom app I have written.
    I know this is a pretty low tech question on here, but does anyone know how I can pass the id of the selected row acroos to my custom page?
    TIA,
    Simon

    Hi Simon,
    In OATables we can not get the handle of current row.
    The alternate solution is to call an AM method, execute the method and get the value from the VO row. Return it back to CO and then you can call your new page from the Search page in iREC.
    it should work. Let me know if you are facing any problem.
    Thanks
    Anoop

  • Issue with selecting a line on table control

    Hello Experts,
    We have a table control and using w/ SelColumn for selecting the highlighted line on a table control. It's working fine sometimes but not working in other cases. It's really wierd.
    On this screen, under the Table Control, we have provided Bottons do some functionality.
    When the users select a row and click on this push button, it has to call another pop-up screen.
    We have the code like this:
    PROCESS BEFORE OUTPUT.
      MODULE INIT_0600.
      LOOP AT T_qacomp_prt INTO qacomp_prt WITH CONTROL TC_qacomp_prt.
        module fill_part_number.
        MODULE Gray_Parts.
        FIELD T_qacomp_prt-MARK.
        module highlight_lines.
        MODULE LINES_0600.
      ENDLOOP.
    PROCESS AFTER INPUT.
      MODULE CANCEL_600 AT EXIT-COMMAND.
      LOOP AT T_qacomp_prt.
        FIELD T_qacomp_prt-MARK.
        MODULE READ_TABLE_CONTROL_600.
      ENDLOOP.
      MODULE USER_COMMAND_0600.
    In User-Command the code is like this:
    MODULE USER_COMMAND_0600 INPUT.
      when 'ADD'.
       if t_qacomp_prt-mark = 'X'.
        get cursor line lin.
      call screen 0615 starting at 30 15.
    else.
       message i999(zxx) with 'Please select a line'.
    endif.
    For eg, When there are 5 lines on the table control, If I select the 2nd line and click on "ADD", it is calling the pop-up correctly.
    However, If I select the 4th line and click on "ADD" button, it is giving the message "Please select the line".
    PS: PBO, PAI code already exists, I only added the "USER-COMMAND" code.
    Can you please let me know what went wrong? I greatly appreciate your help.
    Thanks.

    Hi,
    Provide a Check box for that table control. Declare that Check box field as Type c in Main program. Go to screen PAI module write code for deleting that lines by clicking one button using sy-ucomm. Delete it where is_chk = 'X'..like try

  • Urgent::Issue with advanced tables....

    Hi
    i am new to OA framework
    i have view instance (associated with a custom table..i want to insert data into this table using advanced table)with X view attributes..
    among them one is primary key.i set that using a sequence value..
    rest all.. i made them as columns of an advanced table..
    two among the above are form values..
    now i added a footer for adding a row in advanced table region...
    when i click on the add another row ...i am getting this error...please check it...i am stuck here since long time..
    Error: Cannot Display Page
    You cannot complete this task because one of the following events caused a loss of page data:
    * Your login session has expired.
    * A system failure has occurred.

    i added this code in my controller....
    if ((tableBean.getName().equals(pageContext.getParameter(SOURCE_PARAM)))
    && (ADD_ROWS_EVENT.equals(pageContext.getParameter(EVENT_PARAM)))) {
    am.invokeMethod("createRecordInv");
    and in my am i wrote this..
    public void createRecordInv()
    try
    ARTransactionLineVOImpl vo = getARTransactionLineVO1();
    if (!vo.isPreparedForExecution())
    {   vo.executeQuery();     }
    if (vo != null)
    vo.setMaxFetchSize(0);
    ARTransactionLineVORowImpl row1 = ( ARTransactionLineVORowImpl)vo.createRow();
    if (vo.getFetchedRowCount() == 0)
    vo.insertRow(row1);
    else
    { vo.insertRowAtRangeIndex(vo.getFetchedRowCount(),row1); }
    row1.setNewRowState(row1.STATUS_INITIALIZED);
    OADBTransaction transaction = getOADBTransaction();
    Number CdArScheduleId = transaction.getSequenceValue("CLE_CD_CASH_DOC_AR_INVS_ALL_S");
    ARTransactionLineVORowImpl TransDetailsVORow = (ARTransactionLineVORowImpl)vo.getCurrentRow();
    TransDetailsVORow.setCdArScheduleId(CdArScheduleId);
    catch(Exception ex)
    { ex.getMessage();  }
    i am getting NULL POINTER EXCEPTION.....
    i set some of the values in advanced table prgramatically later using PPR...
    is it ok....
    just look into this n let me know if im wrog some where....

  • I am unabel to select all rows in advance table using Select All option

    Hi all ,
    I am unable to select all the rows in advance table . Select All option in advance table selects all rows present in working page but doesnt select the rows which we get by clicking next button ... i am having a requirement to select all the rows with a single click on select all , is it possible ..
    Plz help
    Thanking you all

    Hi,
    I'm using an adf table but i don't want to have the "Select All" and "Select None" options above the table. Does someone know how i have to remove those links?
    Or is there indeed a solution to override the methodes of those links?
    Message was edited by:
    Alexander

  • How to add new rows in Advanced Table along with attribute value?

    Hi,
    I have one advanced table that contain one messageChoice and messageTextInput field.
    I want to add new rows in advanced table. I can able to add rows using the AddMoreRows button in the footer of the advanced table,
    but I want to add attribute value(contactId) each time when new row created.
    contactId I am getting from pageContext.getParameter("contactId")
    How to achive this? Please suggest.
    Thanks & Regards,
    Sunita

    Hi,
    There are two ways to do it.
    1. Use create method of entity object, create method fires whenever you creates new row.
    2. Handle the event raised by addanotherrow button and write logic there to initialize contactid as you are getting contactid from pageContext so I will suggest you to use this method.
    if (tableBean.getName().equals(pageContext.getParameter(SOURCE_PARAM)))
    && ADD_ROWS_EVENT.equals(pageContext.getParameter(EVENT_PARAM)))
    //write your logic here to default the contact id
    Hope this will help.
    Regards,
    Reetesh Sharma

  • Display and edit currently selected row of ADF Table in ADF Form

    I have an ADF Read-only Table and ADF Form, which were created from the same Data Control.
    I need to be able to edit the selected row of the table in the form (just like in "Binding Data Controls to your JSF page" part of "Developing RIA Web Applications with Oracle ADF" Tutorial). However, I can't figure out how to do this :(
    I found the following solution on the Web: #{bindings.DeptView1.currentRow.dataProvider.dname} - but it doesn't work, since "the class oracle.jbo.server.ViewRowImpl does not have the property dataProvider".
    Sorry for the newbie question.
    Thanks in advance for any help!

    Hi,
    AFAIK, dataProvider is not supported on ADF BC, hence the error.
    If you have created ADF Read only table and form from the same data control you just need to refresh the form based on table selection to show up the selected record, to do which you just need to add partialTriggers property to the panelFormLayout and set its value to the id of table
    Sireesha

  • Issue in Dependent poplist in Advanced table

    Hi,
    I am facing problem while implementing dependent poplist in advanced table. I have a query region and the results are populated in advanced table. In advanced table i have 2 poplists A and B.
    A is dependent on one of the column C1 in the advanced table. This value of C1 comes from database and is read only field in the advanced table. Based on different values in column C1 value in poplist A should be populated.
    Poplist B is dependent on poplist A. The value in poplist B should change when i change the value in poplist A.
    So both the poplist queries have bind variable. Poplist A has bind variable for column C1 and poplist B has bind variable for A.
    I have gone through the thread http://forums.oracle.com/forums/thread.jspa?messageID=2297322&tstart=0 and followed all the steps mentioned by Mukul.
    *1) I have set picklist view definition for both poplists A and B. Both the poplists have Add Blank Value = True*
    *2) In the process request method, i have set setListVOBoundContainerColumn and picklist cache to false*
    //Get poplist fields
    OAMessageChoiceBean mcbA =
    (OAMessageChoiceBean)webBean.findChildRecursive("A");
    OAMessageChoiceBean mcbB =
    (OAMessageChoiceBean)webBean.findChildRecursive("B");
    //set the poplists cache as null
    mcbA.setPickListCacheEnabled(false);
    mcbB.setPickListCacheEnabled(false);
    //Assign the bind Variable for poplists
    OAAdvancedTableBean advTableBean = (OAAdvancedTableBean)webBean.findChildRecursive("AdvTblRN");
    //Set the bind variable to C1
    mcbA.setListVOBoundContainerColumn(0, advTableBean,"C1Field");
    //Set the bind variable to ActionField
    // BFormValueField is attached to a transient attribute ATransAttr with default value as xxxxx
    mcbReasonField.setListVOBoundContainerColumn(0, advTableBean,"BFormValField");
    *3) I have set fireaction event EVNT on poplist A.*
    *4) In the process form request on EVNT i am setting the value of transient attribute ATransAttr equal to the value selected in poplist A for the particular row.*
    if(strPageEvent.equalsIgnoreCase("EVNT")){
    //To fetch the row reference from VO
    String rowReference =
    pageContext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
    Serializable[] serRowRefParam = {rowReference};
    applicationModuleObj.invokeMethod("execPoplists",serRowRefParam);
    AM method
    public void execPoplists(String strRowRef){
    SearchQueryVORowImpl rowSearchQueryVOObj =
    (SearchQueryVORowImpl)findRowByRef(strRowRef);
    if(rowSearchQueryVOObj != null) {
    String strAVal = rowSearchQueryVOObj.getA();
    rowSearchQueryVOObj.setATransAttr(strAVal);
    When i run the page and do a search, i am getting correct values in poplist A depending on value in Column C1. But when i select any value in poplist A (for any row) the value in poplist B is changing for all the rows of advanced table. The requirement is that Poplist B of the selected row should display the values based on the value of poplist A for that row. Poplist B for other rows should display blank as nothing has been selected in the poplist A for those rows.
    Please let me know what have i missed in the above code.
    Thanks,
    VG
    Edited by: VG on Jul 18, 2011 8:02 PM

    Hi Gyan,
    Let me know if there is a workaround for the problem. I want poplist B to display values based on poplist A for each row. If i select A1 from Poplist A for row1 then poplist B should display values B1,B2,B3 in that particular row1. Other rows should not display these B1,B2,B3 values as i have not selected anything in poplist A of other rows.
    Thanks,
    VG

  • Get values from selected row in a Table?

    Hello.
    I'm on VC 7.1 (the trial version downloaded from SDN).
    I'm trying to figure out a way to retrieve some values from the currently selected row in a Table element through the output connector.
    I have a web-service which returns results to the Table, and I want the user to be able to select one of the rows and then trigger another web-service call with some of the values from that row -- is this possible?
    Also, I can't find any documentation that lists what can and can't be done with each UI element, is there something like this some where? (the Modeler's guide doesn't help, and the Reference guide seems to focus on menu items and what the VC screen looks like)
    Thanks,
    Alon

    Hi Alon
    This is a very simple task.
    You just need drag the service which you want to execute, after select row, in model.
    Drag output connector from table to input connector of service. Then map the parameter.
    Regards
    Marcos

  • Issue with Select options in select statement - ABAP Question

    Hi
    I am facing an issue with select options. Select statement is returning sy-subrc as 4.
    I wrote the program as below:
    SELECT-OPTIONS:
    s_kunnr FOR bsad-kunnr,
    s_lifnr FOR bsak-lifnr,
    s_gjahr FOR bsad-gjahr,
    s_bukrs FOR bsad-bukrs,
    s_saknr FOR bsad-saknr,
    s_budat FOR bsak-budat.
    In start of selection I have written the select statement as
    SELECT * FROM bsak INTO TABLE lt_bsak
    WHERE bukrs IN s_bukrs AND lifnr = s_lifnr AND gjahr IN s_gjahr AND budat IN s_budat AND saknr IN s_saknr.
    In selection screen I have not entered any values and executed the program. I am not getting any result. When I debug that, sy-subrc is 4 at above select statement. But table has records.
    If am removing the "lifnr = s_lifnr " condition in select then select is returning values.
    I am not getting where I made the mistake. Please suggest.
    Thank you
    Hanu

    Hi,
    The problem here with where condition select option lifnr = s_lifnr.
    Use below select query.
    SELECT * FROM bsak INTO TABLE lt_bsak
    WHERE bukrs IN s_bukrs
        AND lifnr     IN s_lifnr
        AND gjahr   IN s_gjahr
        AND budat  IN s_budat
        AND saknr  IN s_saknr.
    s_lifnr is a select option and you are passing it as parameter lifnr = s_lifnr.
    if you want to pass this s_lifnr as single vale then pass in below mentioned way.
    lifnr = s_lifnr-low
    BR,
    Vijay

  • Issues with selection tools using PS CS6

    OK, I'm having issues with selections in Photoshop CC…   This video shows my issue (which I never had with CS3).  Basically, I go to select an area within an image, and then the selection area disappears, and when I go to move the selection area I am unable to get the selection to "drop".  This happens regardless of whether I'm using my wacom tablet or my trackpad.  My mac is a 2009 macbook pro running 10.8.5.  Updated my OS and wacom tablet with the latest drivers.  I've gone into preferences and disabled the GPU, but to not avail.  Haven't run into this issue at work using CS6 (but i'm on a windows box there) Any ideas?  Any help would be greatly appreciated ;-) http://www.youtube.com/watch?v=FGPla7V9QI8

    say, SAKNR is 10 character field and ur appending only 6 characters, then it will give such type of errors normally.
    before inserting the data to ur Z table use function module... CONVERSION_EXIT_ALPHA_INPUT

  • When iam selecting row of the table i got the exception

    Hi ,
    When iam selecting row in the table at that time iam getting below exceptions
    <21/02/2013 1:31:35 PM EST> <Warning> <oracle.adf.view.rich.component.fragment.UIXRegion> <ADF_FACES-00009> <Error processing viewId: /InventoryPropertiesViewTF/InventoryPropertiesView URI: /com/avocent/trellis/apps/mainUi/inventory/pages/fragments/InventoryPropertiesView.jsff actual-URI: /com/avocent/trellis/apps/mainUi/inventory/pages/fragments/InventoryPropertiesView.jsff.
    javax.el.PropertyNotFoundException: Target Unreachable, 'BracketSuffix' returned null
    <21/02/2013 1:31:35 PM EST> <Warning> <oracle.adf.view.rich.component.fragment.UIXRegion> <ADF_FACES-00009> <Error processing viewId: /PropertyDisplayTF/PropertyDisplay URI: /com/avocent/trellis/apps/coreapps/ui/fragments/PropertyDisplay.jsff actual-URI: /com/avocent/trellis/apps/coreapps/ui/fragments/PropertyDisplay.jsff.
    javax.el.PropertyNotFoundException: Target Unreachable, 'BracketSuffix' returned null
         at com.sun.el.parser.AstValue.getTarget(Unknown Source)
    Please Let me know why its getting this type exception only some time interemitten issue,
    Please provide me any solution for these,
    jdeveloper 1.1.1.4

    Check your page code for an EL that uses 'BracketSuffix'. This is the point of error as the 'BracketSuffix' can't be evaluated at the given point.
    Timo

  • Passing selected rows in a table to Popup Iview

    Hi all,
    I have a main iview in which i search and display some data in a table. Users can select multiple rows from the table and upon clicking on a button in the table toolbar, all the selected rows should be passed to a popup iview.
    But, when i tried, only one value is passed to the popup.
    I need to update a set of rows together from the popup iview.
    Is it a limitation of pop iviews in VC, or did i miss out anything?
    I have selected "multiple select" option for the source table.
    Can anyone advice us on this???
    Thanks alot in advance
    Shobin

    Hi Sreeni,
    Thanks alot for your reply.
    As I saw in some forum posts in SDN, multiple data rows can not be passed to a pop up.
    My application has a list of submitted appointment orders which the authorized person can  approve. I wanted a popup in order to provide a confirmation message when the user multi select and approve many AOs together.
    I found a work around without using pop ups. Instead, I used layers to show the confirmation message. I passed the selected rows to another table using signal in and out.
    It works now.
    Thanks alot
    Shobin

Maybe you are looking for