How to refresh MessageChoice in advanced table on LOV change?

I have an advanced table for data entry. One column has Employee Name, which is an LOV. Another column is a MessageChoice, listing eligible elements for that person. Everything works fine when the page is first loaded. This is the code I'm using in processRequest to set up the MessageChoice: The MessageChoice is set up using a PicklistViewDefinition (not instance) as each row has to have different selections.
OAAdvancedTableBean table = (OAAdvancedTableBean)webBean.findChildRecursive("TimeEntryTbl");
OAMessageChoiceBean elePoplist = (OAMessageChoiceBean)table.findChildRecursive("ElementSelect");
elePoplist.setListVOBoundContainerColumn(0, table, "EmployeeGroupName");
elePoplist.setListVOBoundContainerColumn(1, table, "PeriodEndDate");
elePoplist.setListVOBoundContainerColumn(2, table, "AssignmentId");
elePoplist.setPickListCacheEnabled(false);
The problem is when a new row is added, initially the poplist will be empty, which is expected. After choosing a value from the Employee LOV, the AssignmentId (which is a FormValue) will be populated. At this point, I need the Poplist to refresh to get the correct list of elements. I'm not sure how to make the poplist refresh. In ProcessFormRequest, I have:
if (pageContext.isLovEvent())
String lovInputSourceId = pageContext.getLovInputSourceId();
System.out.print("lovsource=" + lovInputSourceId);
And it prints the correct lov source. The dev guide says you can invoke an AM method there... but what should the AM do? I'm not sure how to refresh a poplist for a specific row when it is defined in an advanced table with Bound container columns, using a picklist view definition.

I looked through that thread, but nothing in there seemed to really directly address my problem. The solutions in there seemed to be to make view instances instead of using the bound container columns.
But, to answer my own question, I think I found the solution, which so far seems to be working ok...
if (pageContext.isLovEvent())
String lovInputSourceId = pageContext.getLovInputSourceId();
if ("PersonSelect".equals(lovInputSourceId))
pageContext.setForwardURLToCurrentPage(null, // no parameters to pass
true, // retain the AM
OAWebBeanConstants.ADD_BREAD_CRUMB_NO,
OAWebBeanConstants.IGNORE_MESSAGES);
Which basically just refreshes the page so all the MessageChoice fields are re-populated based on the latest information in the row. No need to automatically re-execute any VOs and let's OAF do it's own thing to maintain them.

Similar Messages

  • How To Create the New Advance Table in standered RN?

    Hi Gurus,
    How to create the New Advance Table in stander RN?
    My requirement is slandered RN Having 1 Advance Table that advance table retrieve the two types of data 1.FUNC 2.BEHV Now My Client is asking split the data
    1) FUNC Data
    2) BEHV Data.
    Now i did first one through Vo Extension Filter the FUNC Data. now i really struck the Another part plz help me i cont go the next step....pl z tell me what are prerequisites are needed and how to go next step plz help me Gurus.
    Regards,
    Srini

    Hi,
    I have adding new & existing forms and creating User Defined Field in row. example on adding a field in an existing Form and its corresponding to the database, including user input validations?
    I want to add a new field in the detail section ( row area ) of a Production Document, and save it to database and read it back when the document is opened.
    Thanks.
    Syed Waqar Khurshid

  • How to default Sysdate in Advance table region on clicking Add Another Row

    Hi,
    Can any one please help me how to default Sysdate (MessageTextInput column) in Advance table region on clicking Add Another Row.
    Thanks,
    Mohan

    Got it... thanks mukesh..here it works.Reference to others!!!
    if (ADD_ROWS_EVENT.equals(pageContext.getParameter(EVENT_PARAM)))
    OAViewObject vo3 = (OAViewObject)am.findViewObject("XxStageLineVO1");
    OARow row1 = (OARow)vo3.getCurrentRow();
    java.util.Date sysdate = pageContext.getCurrentUserDate();
    String convSysDate = pageContext.getOANLSServices().dateToString(sysdate);
    row1.setAttribute("StrtDt", convSysDate);
    }

  • How to reorder rows in advanced table

    Hi ,
    I have a requirement to create a advanced table on a page which has col say A,B ,C
    i need to create 2 rows as the pageload which will show fixed values in column A for initially created two rows
    1) free
    2) chargeable
    after this if user clicks on the add another row button
    he should create another row and Column A should be editable and user has to fill value as below
    3) Extension
    i am able to do this much on the page, but the problem is with ordering of rows
    order of rows should be
    1) free
    2) chargeable
    3) extension
    but when user click to create the row it always create the row on the top rather than on bottom
    Please help!!

    Hi
    On the Add New Row button click
    Get the reference to Vo
    Row row=vo.last()
    vo.setCurrentRow(row);
    vo.next()
    vo.insertRow(vo.createRow())
    Thanks
    Ivar

  • How to show the two advance tables In a ROW

    Hi ALL,
    There is any Option to show the two advance tables In a ROW
    Thanks&Regards
    vinu

    I have responded to your other post. Kindly respond to that and close this one.
    Regards
    Sumit

  • How to find out if a table has been changed?

    hello
    how can I find out in a zreport, if a specific table has been changed and  data has been added or deleted?
    like for instance the date of last change to the table?
    thanks
    Alisa

    Alisa...you can do it following manner
    * Execute the report RSVTPROT to extract the changes done to database table
    * table with output going into memory
    TYPES: BEGIN OF ty_abap_list.
            INCLUDE STRUCTURE abaplist.
    TYPES: END OF ty_abap_list.
    DATA: gt_abap_list  TYPE STANDARD TABLE OF ty_abap_list.
      SUBMIT rsvtprot AND RETURN
        EXPORTING LIST TO MEMORY  USING SELECTION-SCREEN 1000
                                  WITH cusobj   EQ c_tabname "Table Name
                                  WITH dbeg     EQ gv_begdate
                                  WITH tbeg     EQ c_begtime
                                  WITH dend     EQ gv_enddate
                                  WITH tend     EQ c_endtime
                                  WITH objfirst EQ ''
                                  WITH tabfirst EQ 'X'.
    * Extract the list from memory
      CALL FUNCTION 'LIST_FROM_MEMORY'
           TABLES
                listobject = gt_abap_list
           EXCEPTIONS
                not_found  = 1
                OTHERS     = 2.

  • How to Refresh JTree if a file System got changed during Run-time

    Hi,
    Can anyone tell me how to refresh a JTree(javax.swing.JTree) used for displaying file system(both local and remote).
    I'm getting a problem if a file/directoy is added to the file system, after my Applet is loaded. Actually, i have used DefaultTreeModel's reload() method for refreshing and calling it inside SwingUtilities.invokeLater() using Thread, but its not working.
    I want that the tree should reflect the latest Files/Directories on the click of a node, if any file or directory is added under that node.
    Plz tell me if this is possible or not.
    Thanks

    Hi Shay_te,
    Thanx for ur reply as i was eagerly waiting for the one.
    but the example is using the TreeTable
    and i have used JTree and DefaultTreeModel.
    I'm calling reload(node) within treeExpand() method
    Then, i'm regestring addTreeModelListener() as
    m_model.addTreeModelListener(new javax.swing.event. TreeModelListener(){ }
    inside which all 4 methods are over-ridden
    code snippet is as follows so plz help me and tell if this the right way:
    class DirExpansionListener implements TreeExpansionListener{
            DirExpansionListener(){
            public void treeExpanded(TreeExpansionEvent event) {
                final DefaultMutableTreeNode node = getTreeNode(event.getPath());
                final FileNode fnode = getFileNode(node);
                Thread runner = new Thread() {
                    public void run() {
                        if (fnode != null && fnode.expand(node)) {
                            Runnable runnable = new Runnable() {
                                public void run() {
                                    try{
                                       m_model.reload(node);
                                        m_model.addTreeModelListener(new javax.swing.event.TreeModelListener() {
                                            public void treeNodesChanged(javax.swing.event.TreeModelEvent evt) {
                                            public void treeStructureChanged(javax.swing.event.TreeModelEvent evt) {
                                                System.out.println("Path of node changed->"+evt.getTreePath());
                                            public void treeNodesInserted(javax.swing.event.TreeModelEvent evt) {
                                                System.out.println("Nodes Inserted method called..");
                                            public void treeNodesRemoved(javax.swing.event.TreeModelEvent evt) {
                                        System.out.println("Run inside DEvent called..");
                                        //Thread.sleep(500);
                                        //fnode.expand(node);
                                    }catch(Exception e){System.out.println("err :" +e);}
                            SwingUtilities.invokeLater(runnable);
                runner.start();
            public void treeCollapsed(TreeExpansionEvent event) {}
        Please reply...

  • 10g How to Refresh / Reload records in table

    I am extremely new to JDeveloper and I am just trying to get my head around a few of the more simple aspects. I have worked through a few tutorials and learnt the basics.
    I have only one table involved as what I am trying to achieve is quite simple. I have a browse form (where I can see all records in the table and navigate my way through them), an edit form (where I can edit a record using an edit link associated with the table row) and a find form (where I can type in details to pull matching records). I have linked the find results form to the edit page so that once a record is found the user can edit this record. This bit works fine (surprised the hell out of me) but the problem is that when the edits are made and the confirm button is clicked the screen returns to the browse page (this is correct) but in the browse table there is only the record I just edited, I can't see all the others. I'm pretty sure there must be an easy way to fix this with some kind of refresh/reload data action in between the find/edit and browse page. Please can someone help.
    If you need any further information let me know, I hope this simple query can be solved easily. Many thanks, Ben Sayers

    Frank,
    I used the basic find mode for this. Executing the query finds the records that match but when I have finished with the 'finding' and just want to browse all records again, what code do I need and where do I put it?
    Thanks you for you help, once I've got my head around this I should be able to fumble my way through the rest. But all the tutorials so far seem so high-level and I am so far away from the code I have no idea how to actually implement anything myself. If you could detail the sets for this I would be able to start to understand the workings of things.
    Many thanks,
    Ben Sayers

  • How to refresh dataservices when underlying table changes

    I'm writing a Flex application using FlashBuilder that accesses several MySQL tables. I've generated data services to access the tables and have used a datagrid to display the data successfully.
    I then realized I was missing a couple of columns in one of my tables. I used phpAdmin to add the columns to the table. When I try to add the new columns to the datagrid, they don't show up in the Bind to Field dropdown. (I am able to type in the new column names, but they don't seem to function in the grid.)
    Looking at the service datatype and code in the Data/Services tab, I can see that they're not showing the new columns. I tried doing a refresh, but they still don't show up.  I've snooped through the code in the services folder and I could try to add them myself. Before I do, I thought I'd better find out if there's a better way.
    Is the data service generation a one-time only type of function or is there a way to have it "re-generate" the data service so as to include any new or changed columns? Any advice on how best to handle this in the future (short of "finish the data model first" )?
    Thanks.

    Do a "Configure Return Type" on the Operation which is bound to the datagrid. Right click on the operation -> Configure Return Type. This will generate a new data type with a new property corresponding to MySQL column.
    Add a column to DataGrid either in Code OR right click on DataGrid -> Configure Columns and add new column with 'HeaderText' and 'Bind To field' values.
    -Radhakrishna

  • How to refresh page after selecting value from LOV item , in a tabular form

    Hi ,
    I have a tabular form, which contains 2 items(columns), of type "Select List - named LoV".
    Now, couple of issues here.
    1.
    2nd item(column) in tabular form, that LoV should get populated based user's selection value in first item LoV. So how do i refer to the value, that user selected in first item's LoV? I will have to use this reference in LoV query of my 2nd item ( on this tabular form)
    2.
    How can we refresh the page, when user selectes value in first item ( from LoV). As this is a tabular form, here item type is Select List, we dont have an option to pick item type as Select List with Submit. So problem is that when user selects value for item 1, refresh does not happen and item 2 LoV does not get populated as per user's selection in item 1.
    Please help here. Would be really appreciated.
    Thanks and Regards,
    Rave.

    Thanks Ben and Dan for your responses.
    Ben, your solution helped me with refresh of page, as page got submitted.
    This answers to my 2nd question. However, I still need to know first question, which basically is, how do i refer to the value, that user selected in first item LoV.
    Issue is, I selected the value in first item LoV, it got submitted and page fot refreshed. But after page refresh, first item LoV loses its value that I had selected last time. It does not retain the selected value after refresh.
    I have an unconditional process, that on every submit(refresh) of page, I set my items with their corresponding values. But problem is what do i mention there to refer to this item.
    I looked in view source of my page, this item is referred as f03.
    So i used "apex_application.g_f03", to set this item to its value, in my uncoditional submit process. But it did not work. I tried to refer this item as "f03" in this unconditional submit process. But still it did not help, the selected item loses its value after page refresh(submit).
    Any help here would be really appreciated. Please suggest how do we refer to this item's selected value.
    Thanks and Regards,
    Ravi.

  • How can I tell if any table data has changed?

    HI
    I'm in the process of reverse engineering an application. We don't have the source code, so I've been looking to the Oracle 8 database to give me some clues as to what insert, update, delete operations are being performed.
    Is there any SQL I could run which would indicate the table data has been changed in some way.
    Thanks
    Glenn

    What's the application architecture? Is this a client/server application? Or a three-tier application? Is there a lot of PL/SQL? Or is all the SQL getting generated in the application and sent to the database? Depending on the architecture, a SQL*Net trace on the client may be appropriate-- that will log the SQL the client app is sending to the server. If you have a three-tier app, though, it may be hard to relate the SQL to a particular operation or to relate the SQL statements to each other. If you have a lot of stored procedures, you'd only see the procedure call, not the SQL the procedure executes.
    You could trace a particular database session, which has similar issues in a three-tier environment or if MTS (the precursor to shared server) is in use, but does capture SQL issued by stored procedures. That may put a degree of load on the database server as well.
    You could also query the data dictionary (i.e. V$SQL) periodically to see the SQL statements in the shared pool. You have to ensure that you're polling frequently enough to catch SQL statements before they age out of the shared pool and you won't generally be able to relate one statement to another or to a particular application function. But you could see all the SQL the database is executing.
    Justin

  • How to display dynamic values in poplist at row level in advanced table

    I want to display dynamic values in poplist at row level based on a row value in advanced table, with lov i can achieve it, is there any way to achieve this in poplist
    Thanks
    Bbau

    Babu,
    You have been long enough in forum and still come out with these one liners. Problem statement is not clear.
    --Shiv                                                                                                                                                                                                                                                               

  • WebDynpro Java: how to remove blank element from Table and Dropdown.

    Hi  Folks
    In a webdynpro application,
    I created a table and witten the below code to populate the table
         IPrivateDummyView.IFirst_TableElement First_Table_Element = null;
         First_Table_Element = wdContext.nodeFirst_Table().createFirst_TableElement();
         First_Table_Element.setF_Value("One");
         wdContext.nodeFirst_Table().addElement(First_Table_Element);
         First_Table_Element = wdContext.nodeFirst_Table().createFirst_TableElement();
         First_Table_Element.setF_Value("2");
         wdContext.nodeFirst_Table().addElement(First_Table_Element);
    As per the code, i got 2 row in the table.
    But , i have one Empty row on top of the table ,  how to get ride of this.
    i find the same problem happening with dropdown too, where i used DDBI, i populated a the content as mention, but i initial 2 row as blank and then i have my own elements ,as per my code.

    >
    > how to remove blank element from Table and Dropdown
    >
    Change selection property of related node to from 0..1 to 1..1 (mandatory)
    Re: DropdownByIndex and empty line (Thread: DropdownByIndex and empty line )
    Re: Can the empty selection be removed from element dropdownbykey(Thread: Can the empty selection be removed from element dropdownbykey )
    Edited by: Anagha Jawalekar on Nov 18, 2008 10:28 PM

  • How to refresh bean value in advanced table from vo/database value in PR.

    Hi,
    I have requirement in which I have two OAF pages. First is the base page and second is popup page. Base page displays some values in table with messagetextinput. When user clicks button on the base page it is calling popup page. Now user changes value (Messagetextinout) in popup page and submits the popup page (which also closes popup page). Submit request in popup page does some calculation and also changes value of base page VO. But when control goes back to the base page, base page messagetestinput bean does not get changed even though VO is changed by submit request in popup page.
    Note: Popup page is closed using java script with following code.
    window.opener.submitForm('DefaultFormName'); // Submits base page to refresh the values in base page
    window.close(); // Closes popup page

    Thanks for the prompt reply.
    On base page, in advance table I am having a column called Value, it is either text field or LOV item based on the value of a list item called field type located in same advanced table, if value of the field type is FIELD we are displaying LOV else we are displaying text box. User can enter 4000 characters long value in Value column when field type value is not FIELD. Length of the Value text box in advanced table is limited so we have provided a link so that user can open the modal dialog box with the default value as base page's value column's value.
    We have set the destination URI property of the link on base page to open modal dialog box:
    javascript:var a = window.open('OA.jsp?page=/cummins/oracle/apps/perc/perc4681/g2config/webui/perc4681ValueModalDialogPG&retainAM=Y&pDetailSeqNo={@G2DetailSeqNo}','a','height=500,width=900,status=yes,toolbar=no,menubar=no,location=no'); a.focus();
    We have developed a page for modal dialog box, on PR of this page we are calling following method of AM to populate the default value.
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    Serializable[] params;
    params = new Serializable[] {pageContext.getParameter("pDetailSeqNo")};
    OAMessageTextInputBean value = (OAMessageTextInputBean) webBean.findChildRecursive("value");
    value.setValue(pageContext,(String)am.invokeMethod("getPopupValue",params));
    public String getPopupValue(String pSeqNumber)
    Perc4681G2DetailVOImpl vo1 = getPerc4681G2DetailVO1();
    Row[] r1 = vo1.getFilteredRows("G2DetailSeqNo",pSeqNumber);
    vo1.setCurrentRow(r1[0]);
    Perc4681G2DetailVORowImpl row = (Perc4681G2DetailVORowImpl) vo1.getCurrentRow();
    return (String)row.getAttribute("Value");
    On modal dialog box we have a button (it is not submit button) called done, we have set destination uri property of the button as below:
    javascript:opener.submitForm('DefaultFormName',1,{'XXX':'abc','Value':document.getElementById('value').value});window.close();
    we are sending the value entered in dialog box as parameter to base page.
    We have called below procedure of AM on PR of base page
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    Serializable[] params;
    OAPageLayoutBean oapagelayoutbean = pageContext.getPageLayoutBean();
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    if (!pageContext.isBackNavigationFired(false))
    some code
    else
    if((("abc").equals(pageContext.getParameter("XXX"))))
    String pop_up_attr_value= pageContext.getParameter("Value");
    params = new Serializable[] {pop_up_attr_value};
    am.invokeMethod("setPopupValue",params);
    enableDisable(webBean, pageContext);
    else if (!TransactionUnitHelper.isTransactionUnitInProgress(pageContext, "G2DetailCreateTxn", true))
    OADialogPage dialogPage = new OADialogPage(STATE_LOSS_ERROR);
    pageContext.redirectToDialogPage(dialogPage);
    else if (!TransactionUnitHelper.isTransactionUnitInProgress(pageContext, "G2DetailUpdateTxn", true))
    OADialogPage dialogPage = new OADialogPage(STATE_LOSS_ERROR);
    pageContext.redirectToDialogPage(dialogPage);
    public void setPopupValue(String pVal)
    Perc4681G2DetailVOImpl vo1 = getPerc4681G2DetailVO1();
    Perc4681G2DetailVORowImpl row = (Perc4681G2DetailVORowImpl) vo1.getCurrentRow();
    row.setAttribute("Value",pVal);
    Everything mentioned above is working as expected whereas I am not able to see the value ented in modal dialog window in value column of base page.
    Value is getting set in VO but it is not getting reflected in page.
    Could you please let me know where I am going wrong.
    Thanks in advance.

  • Advanced Table does not refresh after database level action

    Hi,
    I have a page which has an advanced table. I update the advanced table from the page do some validations, update some DB level columns(also part of advanced table) and see that the changes are saved to the DB but the advanced table does not show the updates done at the DB level.
    I tried clearing the VO Cache and re-executing the VO but still it does not refresh the Advanced table data.
    This is very critical requirement for the client, any inputs will be greatly appreciated.
    Thanks a lot in Advance.
    Here is the code snippet from my CO's processRequest:
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAAdvancedTableBean tblbean = (OAAdvancedTableBean)webBean.findChildRecursive("recasttable");
    if(tblbean!=null)
    tblbean.setRendered(true);
    OAApplicationModule tblam = (OAApplicationModule)am.findApplicationModule("RecastLineAM1");
    tblam.invokeMethod("initQuery");
    tblbean.getTableData();
    Here is my AM - initQuery() code:
    public void initQuery()
    //clearVOCaches("RecastLineEO",true);
    clearVOCaches(null,true);
    getRecastLineVO1().init();
    Here is the VO - init() code:
    public void init()
    System.out.println("****************************executing...");
    OADBTransaction tx = (OADBTransaction) getApplicationModule().getTransaction();
    if (tx.getTransientValue("RECAST_ID") !=null)
    Number recastId = (Number) tx.getTransientValue("RECAST_ID");
    System.out.println("recastId: "+ recastId);
    setWhereClause("RECAST_HDR_ID = :1");
    setWhereClauseParams(null); // Always reset
    setWhereClauseParam(0, recastId);
    executeQuery();
    }

    hi,
    This is how I am calling a DB package. the package does updates on the table. once done I am issueing a commit and requerying the data, however the vo is not getting refreshed.... Can someone point out what am I missing... why is the VO not getting refreshed....
    This is very critical...
    Thanks
    Srini
    public void validateRecast(String respKey)
    OADBTransaction tx = (OADBTransaction)getApplicationModule().getTransaction();
    Number recastId = (Number) tx.getTransientValue("RECAST_ID");
    System.out.println("*********************validateRecast().RecastId: " + recastId);
    OracleCallableStatement ocs = null;
    Connection conn = tx.getJdbcConnection();
    String strOut="", strErr="";
    Number respId = null;
    try
    respId = new Number(respKey);
    catch(Exception e)
    throw new OAException("Invalid Responsibility");
    String stmt = "BEGIN " +
    "GE_RECAST_UTILS_PKG.validate_recast(:1,:2,:3,:4); " +
    "END;";
    try
    ocs = (OracleCallableStatement)conn.prepareCall(stmt);
    ocs.setNUMBER(1,recastId);
    ocs.setNUMBER(2,respId);
    ocs.registerOutParameter(3,OracleTypes.VARCHAR);
    ocs.registerOutParameter(4,OracleTypes.VARCHAR);
    ocs.execute();
    strOut = ocs.getString(3);
    strErr = ocs.getString(4);
    ocs.close();
    System.out.println("Returned with: " + strOut);
    if(strOut.equalsIgnoreCase("ERROR"))
    //throw new OAException(strErr);
    tx.putTransientValue("ERROR",strErr);
    tx.commit();
    getApplicationModule().clearVOCaches("RecastLineEO",true);
    RecastLineVOImpl lineVo = (RecastLineVOImpl)getApplicationModule().findViewObject("RecastLineVO1");
    lineVo.init();
    System.out.println("===============RecastLnId: " +lineVo.first().getAttribute("RecastLnId"));
    System.out.println("===============Product Line: " +lineVo.first().getAttribute("ProductLine"));
    catch(SQLException e)
    tx.rollback();
    if(ocs!=null)
    try
    ocs.close();
    }catch(SQLException e1)
    throw OAException.wrapperException(e1);
    throw OAException.wrapperException(e);
    }

Maybe you are looking for

  • Time machine - on a new Mac, how can I find my old files?

    My iMac had to give way to the new baby, so I got myself an older MacBook Pro to replace it. I used the Migration Assistant to port all my music, photos etc. over, but the hard disk was smaller so had to forgo some bigger files - like my iMovie libra

  • Internet explorer tries to open pdf in my old v6.0 acrobat not newly updated reader v9.0

    When I try to open a pdf online Acrobat v6 tries to open it so I get an error message saying that v8 or v9 reader is required. I have v9 reader and it happily opens pdf files sent as attachments etc, as the default, but ie is defaulting to the old ve

  • In iMovies can you change the seconds all at once?

    If I want to change the duration of each photo in iMovie can I cange all at once?

  • Formatting from Pages to Word- Headers

    I'm trying to format my Pages 09 document into a Word format and can't figure out the headers. I want to include name, title and automatic page number on each page, except for the cover (first) page. It seems my previous Pages settings are not allowi

  • Dynamic Naming of Webi reports

    Hi, I have a requirement where webi report generates 5 times a day.For each time the column name/Header needs to change dynamically. For Instance if report is generated at 10 am in the morning, it should display "COMSOL" and if the report generates a