Refresh the table

Hi experts,
My requirement is delete the files from the KM itself.I have stored the list of files under the Km in particular folder(path)
I have a following code.
I have table with checkbox and delete button. when ever select the check box(single selection or muliple selection). the file should be deleted from the KM. but does not remove from the table. how can i remove the selected item from  the table and how can i refresh the table.  please help me its very urgent..
my table structure is
node_accelerator
    Acc_check---boolean
    Acc_file---string
try {
               for (int i = 0; i < wdContext.nodeTable_accelarator().size(); i++) {
                    if (wdContext.nodeTable_accelarator().getTable_accelaratorElementAt(i).getAcc_check()) {
                         String a =
                              wdContext.nodeTable_accelarator().getTable_accelaratorElementAt(i).getAcc_file();
                         IWDClientUser wdClientUser = WDClientUser.getCurrentUser();
                         com.sap.security.api.IUser sapUser =
                              wdClientUser.getSAPUser();
                         //create an ep5 user from the retrieved user
                         IUser ep5User =
                              WPUMFactory.getUserFactory().getEP5User(sapUser);
                         ResourceContext resourseContext2 =
                              new ResourceContext(ep5User);
                         RID pathRID2 =
                              RID.getRID(
                                   "/documents/SAPse/Projects/Implementaion/Accelarator/"+ a+ "/");
                         IResourceFactory resourseFactory2 =
                              ResourceFactory.getInstance();
                         IResource collection2 =
                              resourseFactory2.getResource(
                                   pathRID2,
                                   resourseContext2);
                         collection2.delete();
          } catch (Exception e) {
               wdComponentAPI.getMessageManager().reportSuccess("error in delete");
Regards,
P.Manivannan.

Hi Sumit,
I got a solution withoutusing removeElemet().
I create a seperate method for delete() for following code
wdContext.nodeTable().invalidate();
try
     IWDClientUser wdClientUser = WDClientUser.getCurrentUser();
                              com.sap.security.api.IUser sapUser =
                                   wdClientUser.getSAPUser();
                              //create an ep5 user from the retrieved user
                              IUser ep5User =
                                   WPUMFactory.getUserFactory().getEP5User(sapUser);
     ResourceContext resourseContext2 =
          new ResourceContext(ep5User);
     RID pathRID2 =
                                   RID.getRID(
                                        "/documents/SAPse/Projects/Implementaion/"
                                                                                          + "/Templates/");
                              IResourceFactory resourseFactory2 =
                                   ResourceFactory.getInstance();
     ICollection collection2 =
          (ICollection) resourseFactory2.getResource(pathRID2,resourseContext2);
          ICollection collection11 = (ICollection) collection2;
     for (IResourceListIterator itr =
          collection11.getChildren().listIterator();
          itr.hasNext();
          IResource res = (IResource) itr.next();
          String name = res.getName();
          //                                                                 IPrivateRight.ITableElement contentElem = null;
          contentElem =
               wdContext.nodeTable().createTableElement();
          contentElem.setFile(res.getDisplayName(true));          wdContext.nodeTable().addElement(contentElem);
catch(Exception e)
     wdComponentAPI.getMessageManager().reportSuccess("error " +e);
NOTE: i used invalidate function in top of the table
I call the delete method  in my button event...
Thanks For ur valuable replies
Regards,
P.Manivannan.

Similar Messages

  • Is it able to refresh the table view automaticlly after trigger an event?

    Hi expert,
    I have one table view and a "Delete" button, each time when the user click the del button, it will delete the row which is selected via a RFC module in the backend, afterwards, I want this table view to be refreshed and read the real data from backend via another function module, is it possible? how could I do it?
    Thanks and best regards

    Let me do some summarize if my understanding is correct
    1. Use a timer as "start" point of a table view, set the "interval" to be 0.05 minute
    2. use the condition in the timer with a formula (BOOL(STORE@RETURN_CODE==0)).
    3. If I trigger one event in the "table view", for example, a "Delete" event and it will return the result RETURN_CODE = 0 to datastore
    4. Afterwards, if the time interval of the timer has been reached, 1st it will evaluate the value of the datastore and decide whether to refresh the table view.
    Am I right?
    Just as you mentioned before, it is not a perfect solution, as we may still wait for the timer to be triggered after a few seconds.
    Thanks for your answer.

  • Refresh the table found on the same page as the form

    Hi , I am doing an entry form where user will enter data that will be saved to the database. below is a table which consist of all the data entered by the specific user. When i submit the form the data is stored in the database. But the table is not refreshed. i Have to click on the header of one of the column to refresh the table how can the table be refreshed when i submit the data in the form ...
    Please help me
    Thanks
    Lutchumaya

    Hi,
    define a value of the ID property of the button. Set the same value to the PartialTrigger property of the table (or if this doesn't do it, to the surrounding af:form element)
    Frank

  • How to refresh the table control on some action

    Hi All,
         In a web Dynpro application, I am filling data to the Table control through Supply function. When  I do some action (like save new record )  i want to refresh the table control means add the newly added record.
       How to refresh the Table control.
    Thanks
    Hemalatha

    hi hema........
        if you are using a select query inside the supply function...
        then...
        you can just use node->invalidate(). method..
        it just invalidates the node that is bound to the table.
       so the supply function will be called again, which again uses the select query to fetch the values.. so that your table gets refreshed.
    ---regards,
       alex b justin

  • Refresh the table after closing the Popup iView

    Hi all,
    I have list of survey in my table. In that table i have toolbar button(DELETE) for deleting the survey. While deleting the survey it asks the confirmation. If we click Ok it delete the selected survey and close the popup also. what I want is I should refresh the table after closing the Popup.How can i achieve this?
    Help me in this regard.
    Thanks & Regards,
    Hemalatha J

    Hi Hema,
    Check this link.
    Visual Composer - You can do anything....
    In this blog, they are used 'Refresh' Button and a Hidden 'Plain text' message to solve this problem. If you are satisfy with this you can take this solution.
    Or you can try to trigger the 'Submit' action of 'Input form' once again from the 'Popup window' when the 'Delete' button is clicked.
    Hope it helps...
    Regards
    Basheer
    Edited by: Basheer on Dec 23, 2008 8:03 PM

  • How to refresh the table control

    hi experts,
    i used bapi to update the changes made in data of table control in modulepool.
    like i <b>changed serial number and short text of equipment</b> . <b>now when
    i simultaneously go for transaction ie02  i,e equipment change in another session with table control open in other session , and now i changed data of particular equipment number in ie02 , now when i use refresh button in table control that change should be affected.  how would be the logic for the refresh button</b>
    <b>when i use the refresh button in the table control , screen should be refreshed or filled with updated data. so what is the flow and logic for that.</b>

    example
    REPORT demo_dynpro_tabcont_loop.
    CONTROLS flights TYPE TABLEVIEW USING SCREEN 100.
    DATA: ok_code TYPE sy-ucomm,
    save_ok TYPE sy-ucomm.
    DATA: itab TYPE TABLE OF demo_conn,
    fill TYPE i.
    TABLES demo_conn.
    DATA: lines TYPE i,
    limit TYPE i.
    SELECT * FROM spfli INTO CORRESPONDING FIELDS OF TABLE itab.
    CALL SCREEN 100.
    MODULE status_0100 OUTPUT.
    SET PF-STATUS 'SCREEN_100'.
    DESCRIBE TABLE itab LINES fill.
    flights-lines = fill.
    ENDMODULE.
    MODULE fill_table_control OUTPUT.
    READ TABLE itab INTO demo_conn INDEX flights-current_line.
    ENDMODULE.
    MODULE cancel INPUT.
    LEAVE PROGRAM.
    ENDMODULE.
    MODULE read_table_control INPUT.
    lines = sy-loopc.
    MODIFY itab FROM demo_conn INDEX flights-current_line.
    ENDMODULE.
    MODULE user_command_0100 INPUT.
    save_ok = ok_code.
    CLEAR ok_code.
    CASE save_ok.
    WHEN 'REFRESH'.
    refresh : itab.
    WHEN 'NEXT_LINE'.
    flights-top_line = flights-top_line + 1.
    limit = fill - lines + 1.
    IF flights-top_line > limit.
    flights-top_line = limit.
    ENDIF.
    WHEN 'PREV_LINE'.
    flights-top_line = flights-top_line - 1.
    IF flights-top_line < 0.
    flights-top_line = 0.
    ENDIF.
    WHEN 'NEXT_PAGE'.
    flights-top_line = flights-top_line + lines.
    limit = fill - lines + 1.
    IF flights-top_line > limit.
    flights-top_line = limit.
    ENDIF.
    WHEN 'PREV_PAGE'.
    flights-top_line = flights-top_line - lines.
    IF flights-top_line < 0.
    flights-top_line = 0.
    ENDIF.
    WHEN 'LAST_PAGE'.
    flights-top_line = fill - lines + 1.
    WHEN 'FIRST_PAGE'.
    flights-top_line = 0.
    ENDCASE.
    ENDMODULE.
    PROCESS BEFORE OUTPUT.
    MODULE status_0100.
    LOOP WITH CONTROL flights.
    MODULE fill_table_control.
    ENDLOOP.
    In the screen
    PROCESS AFTER INPUT.
    MODULE cancel AT EXIT-COMMAND.
    LOOP WITH CONTROL flights.
    MODULE read_table_control.
    ENDLOOP.
    MODULE user_command_0100.
    <b>rewards point for helpful answer</b>

  • How to refresh the table after change value in the VO programatically?

    Hi,
    I like to update my table by using a popup. My problem is that the table does not refresh after I change the value in the table's VO by the popup.
    There is another table in the popup, and the popup is triggered by a command button. An af:showPopupBehavior is nested in the button. The method of the button in backing bean is as following,
    public void accountcodeButtonClicked(DialogEvent dialogEvnt) {
    ViewObject volisttable=am.getAcChartValidateView1();
    String nowcode=volisttable.getCurrentRow().getAttribute("Code").toString();
    ViewObject vobasetable=am.getGlDetailView1();
    vobasetable.getCurrentRow().setAttribute("AccountCode",nowcode);
    The partialTrigger of the base table's column AccountCode points to the triggering button.
    I do not know why the base does not refresh after the above method is executed.
    Please me.
    Stephen

    Hi,
    kind of a shame that after so many years of ADF the message that updates should be through the binding layer hasn't gone through ;-)
    You change the underlying business service, which doesn't impact the binding layer the way you do it. So here is what you can try in the same order
    - 1. RequestContext.getCurrentInstance().addPartialTarget(<table reference>)
    - 2. If 1. doesn't show the changed data, try and re-execute the iterator that is the base of the table. If this works then the effect you see is caused because you ignore using the binding layer
    Frank

  • Refresh the table definition

    I changed the primary key of a table and tried refreshing the same in Sunopsis using Reverse option. It showed two primary keys i.e. both the old and the new one.
    I have read in forum that the 'Reverse' is an incremental method and so we have to manually delete if something is removed. So, I tried deleting the old primary key, but it resulted in error 'SNPW.FK_POP5 violated'.
    I tried deleting those records in the SNP_POP table in work repository (SNPW), but it lead to a loop of such foriegn key constraints (and table list extends like SNP_STEP, SNP_SOURCE_TAB etc).
    At last I had no choice except to delete the changed table in all the interface, and deleted the respective datastore in the model, and add that table as new one and recreated the interface. This is a lengthy and cumbersome process.
    Please let me know step by step procedure to alter the table if any of its constraint key got changed. Thanks.

    Hi SS.
    It is a fact that ODI wont delete any data model change.
    To drop old values open the column (for instance) tree and look if it is using at some place ("Used in" option at tree)
    If it is used, go to the object and "delete" the use. It will allow you to drop any ODI object.

  • Refresh the table by a button

    Anyone have the code about this operation???
    If u have, can u give an example,
    thx a lot...

    If you have a table model, and change it I just use table.revalidate() and table.repaint() to update the table...

  • How can I refresh the table in detailStamp in another table

    I have:
    <af:table value="#{bindings.View1.collectionModel}" id="table1"
    *rowDisclosureListener="#{myFun.rowDisclosureListener}">*
    <f:facet name="*detailStamp*">
    <af:panelFormLayout id="pfl2">
    <f:facet name="footer"/>
    <af:table value="#{bindings.View2.collectionModel}" *id="table2"*
    </af:table>
    </af:panelFormLayout>
    </f:facet>
    </af:table>
    Into *rowDisclosureListener* I wrote:
    *//With param read in row table1, I apply criteria in table2*
    ViewObject vo = ADFUtils.findIterator(getIteratorName()).getViewObject();
    if (vo != null) {
    ViewObject vo1 = ADFUtils.findIterator("myIterator").getViewObject();
    applyViewCriteriaOnViewObject(vo1, "myCriteria");
    vo1.setNamedWhereClauseParam("parm", vo.getCurrentRow().getAttribute("field1"));
    vo1.executeQuery();
    AdfFacesContext adfFacesContext = null;
    adfFacesContext = AdfFacesContext.getCurrentInstance();
    adfFacesContext.addPartialTarget(table.getParent());
    *In table2 I set partialTriggers="::::pc1 :::table1">*
    Everythings works perfectly (the criteria is applied correctly), but when I disclose row, table2 is empty. It is not refresh. Why?
    Thanks

    And now?
    How can I replace table2? What is the component that I can use istead of the table2? From ViewObject vo1 I received many rows.
    And I can not replace table1 with treetable (I do not know what to change).
    Thanks

  • Is it possible to refresh the table from a Materialized view

    Hi,
    Is it possible to update the underlying table on which a Materialized view is created when some changes in a Materialized view is done.Is this reverse compatibility possible in Materialized View?
    Thanks in Advance,
    V.Dennis

    If you created the materialized view as UPDATEABLE then changes to it should automatically be relected in the underlying table. If this is not occurring I suggest you check the replication jobs. You probably have a stack of errors in DEFERROR.
    Cheers, APC

  • How to refresh the list of select one choice which is inside a table?

    Hello I am using Jdeveloper Version 11.1.2.1.0.
    The table is a normal table that is made to look like a treeTable.
    For some rows are or can be parents with Parent_vo_group_id = null and other are children with parent_vo_group_id = vo_group_id of the parent...
    If a children changes its parent_vo_group_id to null it can become a parent as well.
    I am having a select one choice inside a table column. The list comes from the same table with column Name:
    <af:table value="#{bindings.VoGroupAdminView2.collectionModel}" var="row"
                                                      rows="#{bindings.VoGroupAdminView2.rangeSize}"
                                                      contentDelivery="immediate"
                                                      visible="#{bindings.VoGroupAdminView2Iterator.currentRow != null}"
                                                      fetchSize="#{bindings.VoGroupAdminView2.rangeSize}"
                                                      partialTriggers="::soc1" styleClass="AFStretchWidth"
                                                      rowBandingInterval="0" editingMode="clickToEdit"
                                                      binding="#{adminGroupManagementBean.groupTable}"
                                                      selectionListener="#{adminGroupManagementBean.groupSelectionListener}"
                                                      rowSelection="single" id="t5">
                                                <af:column sortProperty="#{bindings.VoGroupAdminView2.hints.Name.name}"
                                                           sortable="false" styleClass="columnData"
                                                           headerClass="tableHeader"
                                                           headerText="#{bindings.VoGroupAdminView2.hints.Name.label}"
                                                           id="c1">
                                                    <af:inputText value="#{row.bindings.Name.inputValue}"
                                                                  requiredMessageDetail="Please enter a group name"
                                                                  label="#{bindings.VoGroupAdminView2.hints.Name.label}"
                                                                  required="true" id="it7" immediate="true" autoSubmit="true"
                                                                  columns="#{bindings.VoGroupAdminView2.hints.Name.displayWidth}"
                                                                  maximumLength="#{bindings.VoGroupAdminView2.hints.Name.precision}"
                                                                  shortDesc="#{bindings.VoGroupAdminView2.hints.Name.tooltip}"
                                                                  contentStyle="#{row.ParentVoGroupId eq null? 'font-weight:bold' : 'padding-left:20px'}"
                                                                  valueChangeListener="#{adminGroupManagementBean.groupNameChangeListener}"
                                                                  partialTriggers="soc2">
                                                        <f:validator binding="#{row.bindings.Name.validator}"/>
                                                    </af:inputText>
                                                </af:column>                                   
                                                <af:column sortProperty="#{bindings.VoGroupAdminView2.hints.ParentVoGroupId.name}"
                                                           sortable="false" styleClass="columnData"
                                                           headerClass="tableHeader"
                                                           headerText="#{bindings.VoGroupAdminView2.hints.ParentVoGroupId.label}"
                                                           id="c4">
                                                    <af:selectOneChoice value="#{row.bindings.ParentVoGroupId.inputValue}"
                                                                        label="#{row.bindings.ParentVoGroupId.label}"
                                                                        simple="true" immediate="true"
                                                                        required="#{bindings.VoGroupAdminView2.hints.ParentVoGroupId.mandatory}"
                                                                        shortDesc="#{bindings.VoGroupAdminView2.hints.ParentVoGroupId.tooltip}"
                                                                        id="soc2" autoSubmit="true"
                                                                        unselectedLabel="&lt;null&gt;"
                                                                        valueChangeListener="#{adminGroupManagementBean.parentIdValueChangeListener}"
                                                                        visible="#{row.bindings.ChildrenCount.inputValue eq 0 ? true : false}">
                                                        <f:selectItems binding="#{adminGroupManagementBean.selectOneChoiceList}"
                                                                        value="#{row.bindings.ParentVoGroupId.items}"
                                                                       id="si2"/>
                                                    </af:selectOneChoice>
                                                </af:column>
                                            </af:table> My select one choice uses the same iterator as the table.
    <iterator Binds="VoGroupAdminView2" RangeSize="-1" DataControl="AppModuleDataControl"    id="VoGroupAdminView2Iterator"/>The table uses this view called VoGroupAdminView:
    Select t1.vo_Group_id,     
           t1.name,
           t1.Vehicle_Owner_Id,
           t1.Graphical_Symbol,
           t1.Lm_Comment,
           t1.Parent_Vo_Group_Id ,
           decode (t2.children_count, null, 0, t2.children_count) as children_count
           from
    (SELECT VoGroup.vo_Group_id,     
           VoGroup.name,
           VoGroup.Vehicle_Owner_Id,
           VoGroup.Graphical_Symbol,
           VoGroup.Lm_Comment,
           VoGroup.Parent_Vo_Group_Id
      FROM VO_GROUP VoGroup
    START WITH VoGroup.Parent_Vo_Group_Id IS NULL
    CONNECT BY VoGroup.Parent_Vo_Group_Id = PRIOR VoGroup.Vo_Group_Id
    order SIBLINGS by VoGroup.name) t1,
    (select parent_vo_group_id, count (parent_vo_group_id) as children_count from vo_group
    group by parent_vo_group_id) t2
    where t1.vo_group_id = t2.parent_vo_group_id (+)the ParentVoGroupId attribute has list of values from this view object called VoGroupAdminLov:
    SELECT
        VO_GROUP.NAME,
        VO_GROUP.VEHICLE_OWNER_ID,
        VO_GROUP.PARENT_VO_GROUP_ID,
        VO_GROUP.VO_GROUP_ID
    FROM
        VO_GROUP
    WHERE  VO_GROUP.PARENT_VO_GROUP_ID is null
    and VO_GROUP.VO_GROUP_ID <> ?
    order by  VO_GROUP.NAMEI want to refresh the list of values in the select one choice everytime when i add a new row in the table, delete row in the table or change the value of select one choice component.
    What I have tried:
        public void parentIdValueChangeListener(ValueChangeEvent valueChangeEvent) {
            this.setValueToEL("#{row.bindings.ParentVoGroupId.inputValue}", valueChangeEvent.getNewValue());
            BindingContainer bc = BindingContext.getCurrent().getCurrentBindingsEntry();
            DCIteratorBinding voGroupAdminIterator = (DCIteratorBinding)bc.get("VoGroupAdminView2Iterator");
            Key selectedGroupKey = voGroupAdminIterator.getCurrentRow().getKey();
            AppModuleImpl am = (AppModuleImpl)ADFUtils.getApplicationModuleForDataControl("AppModuleDataControl");
            am.getTransaction().postChanges();
            am.getVoGroupAdminView2().executeQuery(); //refresh the table view object;
            am.getVoGroupAdminLov1().executeQuery(); //refresh the list of values view object
            voGroupAdminIterator.invalidateCache();  //remove the cache of the iterator
            voGroupAdminIterator.setCurrentRowWithKey(selectedGroupKey.toStringFormat(true)); // set the selected row again.
            RichSelectOneChoice soc =
                (RichSelectOneChoice)FacesContext.getCurrentInstance().getViewRoot().findComponent(":pt1:t5:soc2");
            AdfFacesContext.getCurrentInstance().addPartialTarget(soc);
            AdfFacesContext.getCurrentInstance().addPartialTarget(this.groupTable);    
        }When i am adding a new row to the table its select one choice list is refreshed but only for the new row. The rest rows have not updated list of values for their select one choice components.
        public String addGroupButtonAction() {
            AppModuleImpl am = (AppModuleImpl)ADFUtils.getApplicationModuleForDataControl("AppModuleDataControl");
            ViewObjectImpl voGroupAdminView = am.getVoGroupAdminView2();
            Row newRow = voGroupAdminView.createRow();
             newRow.setNewRowState(Row.STATUS_INITIALIZED);
            voGroupAdminView.insertRowAtRangeIndex(0, newRow);
            am.getTransaction().postChanges();
            return "null";
        }Edited by: 897833 on Mar 19, 2012 9:07 AM

    I made a button to refresh the value of select one choice and it doesn't work yet.
    So I just move one of the
        public String refreshParentIdSOCButtonAction() {
            BindingContainer bc = BindingContext.getCurrent().getCurrentBindingsEntry();
            DCIteratorBinding voGroupAdminIterator = (DCIteratorBinding)bc.get("VoGroupAdminView2Iterator");
            Key selectedGroupKey = voGroupAdminIterator.getCurrentRow().getKey();
            AppModuleImpl am = (AppModuleImpl)ADFUtils.getApplicationModuleForDataControl("AppModuleDataControl");
            am.getTransaction().postChanges();
            am.getVoGroupAdminView2().executeQuery();
            am.getVoGroupAdminLov1().executeQuery();
            voGroupAdminIterator.invalidateCache();
            voGroupAdminIterator.setCurrentRowWithKey(selectedGroupKey.toStringFormat(true));
            AdfFacesContext.getCurrentInstance().addPartialTarget(this.parentIdSelectOneChoice);  //refresh the binded SOC as you said
            AdfFacesContext.getCurrentInstance().addPartialTarget(this.parentIdSelectOneChoiceList); //refresh the binded list even
            AdfFacesContext.getCurrentInstance().addPartialTarget(this.groupTable); //refresh the table it is in;
            return null;
        }Edited by: 897833 on Mar 23, 2012 2:58 AM

  • Deleting the Row from the table is not refreshing the contents in the form

    Hi,
    We developed a table and form in the same UI based on the following suggestion.
    Display and edit currently selected row of ADF Table in ADF Form
    1. Created one view object based on the employees table.
    2. dragged the view object to the UI as table.
    3. dragged the view object as form.
    4. set partial triggers on the form's container (panelformlayout) as tableId.
    Tested the application with the edit options and everything is working fine. But the problem comes when we delete the record from table. it is not refreshing the form based on the newly selected row after deleting the record. If we commit the data the form contents are updated to the selected row (which is not desired).
    Can you please suggest how to fix the issue, refreshing the form with the selected row after deleting the records.
    Thanks and Regards,
    S R Prasad

    The Code snippet looks fine. I think, the issue is in the partial trigger setting
    4. set partial triggers on the form's container (panelformlayout) as tableId.In order to the table to get refreshed, the table's partialTriggers property should be set to id of the delete Button.
    Go to table, select partialTriggers in the Property Inspector, Click on Expression Builder at the right and select the delete Button.
    Can you set this and check?
    Sample Code:
    <af:panelHeader text="panelHeader 1" id="ph1">
    <f:facet name="context"/>
    <f:facet name="menuBar"/>
    <f:facet name="toolbar">
    <af:commandButton text="Delete" id="cb1"/>
    </f:facet>
    <f:facet name="legend"/>
    <f:facet name="info">
    <af:table var="row" rowBandingInterval="0" id="t1"
    partialTriggers="::cb1">
    <af:column sortable="false" headerText="col1" id="c1">
    <af:outputText value="#{row.col1}" id="ot1"/>
    </af:column>
    <af:column sortable="false" headerText="col2" id="c4">
    <af:outputText value="#{row.col2}" id="ot3"/>
    </af:column>
    <af:column sortable="false" headerText="col3" id="c3">
    <af:outputText value="#{row.col3}" id="ot4"/>
    </af:column>
    <af:column sortable="false" headerText="col4" id="c5">
    <af:outputText value="#{row.col4}" id="ot2"/>
    </af:column>
    <af:column sortable="false" headerText="col5" id="c2">
    <af:outputText value="#{row.col5}" id="ot5"/>
    </af:column>
    </af:table>
    </f:facet>
    </af:panelHeader>
    Thanks,
    Navaneeth

  • Problem in refreshing the data of the UI element Table

    Hi Experts,
    I am having a problem.
    I have a screen which displays list of variants in table ( variant name , variant desc )
    I am binding the entries of table in WDDOINIT method.
    but when i go back to selection screen view and come back to display variants view, WDDOINIT is not triggering.
    Now if i move the code written in WDDOINIT method to WDDOMODIFYVIEW method, its not retaining the lead selection as the binding happens on every server round trip. if i check with First_time = 'X'. its same as that of having it in WDDOINIT method.
    How do i overcome this problem of refreshing the table data.
    any clue is highly appreciated.
    Regards,
    Ajay

    hi Ajay ,
    create a custom controller for this and when u want to move from selection screen view to display variant ,
    call method of this custom controller
    DATA lo_edit TYPE REF TO ig_edit .
    lo_edit =   wd_this->get_edit_ctr( ).
      lo_edit->edit1(
    here I am calling the edit1 method of my custom controller named EDIT.
    try to move code of ur WDDOINIT here.
    it shud help
    rgds,
    amit

  • How to delete and refresh the contents of table control..

    how to delete particular row in table control .consider we r having three rows i wish to delete the third row.while on debugging the third row gets deleted successfully.but that is displayed in table control.then how to refresh the table control...

    hi,
    try like this....
    USER_COMMAND of PAI
    MODULE user_command_9000 INPUT.
      CASE ok_code.
        WHEN 'BACK' OR 'UP' OR 'CANCEL'.
          LEAVE PROGRAM.
        WHEN 'DEL'.
          GET CURSOR LINE lin_no.
          f1 = 1.
       ENDCASE.
    ENDMODULE.                 " USER_COMMAND_9000  INPUT
    and in Module in which u fetching data in PBO, write like
    MODULE get_data OUTPUT.
      IF f1 <> 1.
        SELECT kunnr name1
        INTO CORRESPONDING FIELDS OF TABLE mytab
        FROM kna1.
      ENDIF.
      IF f1 = 1.
        DELETE mytab INDEX lin_no.
        FREE lin_no.
        FREE f1.
      ENDIF.
    ENDMODULE.                 " get_data  OUTPUT
    reward if useful...

Maybe you are looking for

  • TS4515 - MY OWN phone locked me out?

    Ugh, I'm freaking out here. >:( TL;DR - teenager, given an iphone 4s, restored it a bunch of times, connected a few different emails to them. Restored after iOS 7.1 update, now I'm locked out. Bought new from legit mall retailer years ago, don't know

  • How do i find out what drives are present in a particular system

    Hi, How do i find out what drives are available in a particular system either by giving the systems ipaddress or the systems name...

  • Is there a way to "clean out" my harddrive?

    Pardon my possible 'silly' question but is there a way to make sure everything I have deleted is permanently gone and the disk space is free? I recently deleted 5,000+ high resolution DSLR photos from iphoto [and the folders, etc] in hopes that it wo

  • Default entry on MIR7/FB60

    Hi, On the MIRO/MIR7 transaction and FB60 if you do an entry for credit memo the system defaults the document type to credit memo the next time you access the transaction. Can you change it so that the system will always default the document type bac

  • Ask a acropdf.dll question

    void __fastcall TForm1::BitBtn1Click(TObject *Sender)   AcroPDF1->LoadFile(WideString("G:\\1.pdf"));       AcroPDF1->printAll(); when i print, warning arise(content is :"Warning! The script called for the Acrobat file, this may print the whole docume