Transient Column in an Extended VO not refreshed.

Hi
Please can somebody point me in the right direction re: refreshing transient attribute.
I have the following scenario :-
I needed to add the Item Code for Internal (Inventory) Requisitions in some of the I-Procurement pages e.g. Shopping Cart.
I have done the following :-
1. When I extended the standard VO, I noticed that I could not use the Expert Mode to modify the standard view sql. So I used the attributes window to create a new attribute with a SQL expression to fetch my item code.
2.The extended query works fine and the extended VO has been imported into the MDS.
FYI : I initially kept the "Generate Java Files" ticked, but that caused problems when I navigated to some pages. So I read a few forum notes and decided not to generate any java files for the extended VO. No errors occured when opening pages.
3. I personalised the Shopping Cart page to show my new column from my extended VO.
Here's the problem ....
4. When I browse I-Procurement and add to the cart I then press "View shopping cart" . The Shopping Cart displays and I can see my new column. But the column value is SOMETIMES blank/null.
5. If I then press "Save", I-Proc returns to the previous browse/shop page. If I immediately press the "View shopping cart" then my new transient column is populated.
Question : How can I ensure that the extended VO column gets consistently populated when navigating between pages ?
Thanks in advance
Ramnik

Hi
Thanks for your reply. But I don't think the commit cycle is the issue. Here is what is currently happening :
1. End user selects one or more items and adds to the shopping cart (page 1).
2. Each item that is added results in a requisition line being created in the underylying table.
3. When the user select View Shopping Cart link, the records that have been stored in the table are displayed. As the user added rows on page 1, I checked in TOAD / SQL*PLUS and records are committed to the database
4. The Shopping Cart page (page 2) is based on the table (EO / VO) and also has a number of associated items.
5. I extended the VO for this page to also display a transient value. The extended VO query looks something like :
SELECT
RequsitionsLinesEO.HeaderID
,RequsitionsLinesEO.LineId
,RequsitionsLinesEO.ItemId
,RequsitionsLinesEO.VendorId
,RequsitionsLinesEO.SuggestedSite
,(SELECT productcode
FROM table_xyz tx
WHERE tx.ItemId = RequsitionsLinesEO.ItemId
) XXproduct
FROM RequsitionsLinesEO
The VO Query should return my new column value (XXproduct) every time I open the Shopping Cart page. But unfortunately, it seems that occassionally the value is not returned. If I Save the cart and go back to the previous page and then revist the Cart the XXProduct is displayed.
Is there some caching issue ???
Regards
Ramnik

Similar Messages

  • While editing the columns in ADo net source not refresh the columns

    Hi,
    When i am editing the columns in the adonetsource can't able to edit it.
    EG:
    id       name     sal are the available columns
    select id, 'name' as ename,sal from emp.
    I Edited this query as :
    select  id, 'empname' as ename,sal from emp
    It won't affect in the source. & how to change the query using expression. in adonetsource there is no data access mode as from varible.   pls help on it.
    Thanks

    Hi Sai,
    Let me know what you are trying to Edit in columns. You want to alias the column name or you want to edit the string of column.
    Column Aliasing : 
    select id, name as EmpName, sal from emp
    Check with this and let me know if you still facing issues.
    Regards,
    Vaishu

  • Discoverer 10.1.2 does not refresh new added column

    Hello,
    I need help to add a new item to EUL Business Area folder for a new added column in the database table.
    When I refresh the folder in the BA EUL, the result shows no difference between the folder and the underlying table in the database; however, when I quey the table in the database, a new column is there. The refresh of the folder in the Discoverer Admin tool cannot find the newly added column. Weird!! The first time saw this problem.
    Could someone shine some light on it? Would be really appreciate it!
    Ping

    I have a slightly different problem and can't solve it! When I refresh the EUL, the result shows the differences between the folder and the underlying tables in the database. However, it does not refresh the EUL in Discoverer Administrator 10g. Nothing happens! When I try to refresh again, the same list is shown... Does anyone know what could be happening?
    Thanks

  • 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);
    }

  • Report does not refresh when link to page

    I have a report on page 1 with a column link to a report on page 2.
    The link sets items on page 2.
    If I use the 'Page in this Application' from the column link, the items on page 2 are set and the report is automatically refreshed.
    If I use the 'URL' in the column link, the items are set but the report on page 2 is not refreshed. I have more than 3 items to pass via the link so I have to use the URL. The url syntax is correct - if I click a Go button on page 2 the data refreshes fine.
    I have the same problem when clicking a tab that I have set to clear the page items - the tab clears the cache on the target page but the data in the report is not refreshed until I click the go button.
    The items on page 2 are select lists and text (always submit when enter pressed).
    How can I get the report on page 2 to auto refresh without the user having to click the Go button?
    Message was edited by: kgamble
    kgamble

    I can't post the pages (site reasons) but here's the debug.
    All the item values are set correctly to what I want but at point 041 - I get the custom "no rows returned error". If I click the refresh button (essentially a submit with go) the date appears.
    I am now using the link set up to go to 'Page in Application' with clear cache and 3 item variables set and reset pagination ticked and the request of Go (its the same result without the request and the pagination unticked).
    Any ideas?
    Thanks
    Kathryn
    0.00:
    0.00: S H O W: application="129" page="8" workspace="" request="Go" session="8392008407576157812"
    0.02: Language derived from: FLOW_PRIMARY_LANGUAGE, current browser language: en-gb
    0.02: alter session set nls_language="ENGLISH"
    0.02: alter session set nls_territory="UNITED KINGDOM"
    0.02: NLS: CSV charset=WE8MSWIN1252
    0.02: ...NLS: Set Decimal separator="."
    0.02: ...NLS: Set NLS Group separator=","
    0.02: ...NLS: Set date format="DD-MON-RR"
    0.02: ...Setting session time_zone to dbtimezone
    0.02: NLS: Language=en-gb
    0.02: Application 129, Authentication: CUSTOM2, Page Template: 3508132500492586
    0.03: ...Supplied session ID can be used
    0.03: ...Application session: 8392008407576157812, user=PENTESTER
    0.03: ...Determine if user "KGAMBLE" workspace "1728921676563485" can develop application "129" in workspace "1728921676563485"
    0.03: Session: Fetch session header information
    0.03: Saving g_arg_names=P8_IDR and g_arg_values=Y
    0.05: ...Session State: Save "P8_IDR" - saving same value: "Y"
    0.05: Saving g_arg_names=P8_STATUS and g_arg_values=Outstanding
    0.05: ...Session State: Save "P8_STATUS" - saving same value: "Outstanding"
    0.05: Saving g_arg_names=P8_SECTION and g_arg_values=P
    0.05: ...Session State: Save "P8_SECTION" - saving same value: "P"
    0.05: ...Metadata: Fetch page attributes for application 129, page 8
    0.05: Fetch session state from database
    0.05: Branch point: BEFORE_HEADER
    0.05: Fetch application meta data
    0.05: Authorization Check: "4732024931692101" User: "PENTESTER" Component: "PAGE"
    0.06: Clear cache: request=RP
    0.06: ...Resetting pagination for page
    0.06: Clear cache: request=8
    0.06: ...Clearing Cache for Page 8
    0.06: Nulling cache for application "129" page: 8
    0.08: Saving g_arg_names=P8_IDR and g_arg_values=Y
    0.08: ...Session State: Saved Item "P8_IDR" New Value="Y"
    0.08: Saving g_arg_names=P8_STATUS and g_arg_values=Outstanding
    0.08: ...Session State: Saved Item "P8_STATUS" New Value="Outstanding"
    0.08: Saving g_arg_names=P8_SECTION and g_arg_values=P
    0.08: ...Session State: Saved Item "P8_SECTION" New Value="P"
    0.08: Computation point: BEFORE_HEADER
    0.08: Processing point: BEFORE_HEADER
    0.09: Show page template header
    0.09: Computation point: AFTER_HEADER
    0.09: Processing point: AFTER_HEADER
    0.11: Authorization Check: "4732329087693375" User: "PENTESTER" Component: "parenttab"
    0.13: Authorization Check: "6131220670151932" User: "PENTESTER" Component: "parenttab"
    Home New Complaint
    Existing Data
    Logout |
    Complaints Complainants
    0.14: Region: Complainant Search
    Complainant Search
    0.14: Item: P8_SD_SEARCH TEXT_WITH_ENTER_SUBMIT
    SD Number
    0.16: Item: P8_SURNAME COMBOBOX Complainant -- All -- ARDVARK ARMSTRONG BAKER BLOGGS CHICKEN HARPER HILL JONES PERRY REAPER ROBINSON SHERMAN SMITH T WATSON
    0.16: Item: P8_NI_SEARCH TEXT_WITH_ENTER_SUBMIT
    NI Number
    0.16: Region: criteria_go
    0.16: Item: P8_GO BUTTON
    0.17: Item: P8_ROWS COMBOBOX Number of complaints per page 10 15 20 30 50 100 200 500 1000 5000
    0.17: Region: Complaint Search
    Complaint Search
    The list of complaints must match ALL of these specified search criteria:
    0.19: Item: P8_START PICK_DATE_DD_MON_YYYY
    Start
    0.19: Item: P8_END PICK_DATE_DD_MON_YYYY
    End
    0.20: Authorization Check: "4733005669696056" User: "PENTESTER" Component: ""
    0.20: Item: P8_TARGET COMBOBOX
    Target -- All -- Acknowledgement In Target Acknowledgement Target not Met Acknowledgement Pending Final Response In Target Final Response Target not Met Final Response Pending
    0.22: Item: P8_RECUR COMBOBOX
    Recurrent? -- All -- YES NO
    0.22: Item: P8_PAY_E COMBOBOX Ex Gratia/Interest
    Payments -- Select -- YES NO
    0.23: Item: P8_IDR COMBOBOX
    Type of Complaint -- All -- IDR Other Complaint
    0.23: Item: P8_STATUS COMBOBOX Status -- All -- Outstanding Completed 01-Jan-2007 05-Feb-2007 05-Mar-2007 12-Feb-2007 12-Mar-2007 15-Jan-2007 22-Jan-2007 26-Feb-2007 29-Jan-2007
    0.23: Computation point: BEFORE_BOX_BODY
    0.23: Processing point: BEFORE_BOX_BODY
    0.25: Region: Complaints List
    Complaints List
    0.25: show report
    0.28: Authorization Check: "4733005669696056" User: "PENTESTER" Component: "COLUMN"
    0.28: determine column headings
    0.28: activate sort
    0.38: parse query as: GENERAL1
    0.38: binding: ":P8_NI_SEARCH"="P8_NI_SEARCH" value=""
    0.39: binding: ":P8_SD_SEARCH"="P8_SD_SEARCH" value=""
    0.39: binding: ":P8_SURNAME"="P8_SURNAME" value="AA"
    0.39: binding: ":P8_START"="P8_START" value=""
    0.39: binding: ":P8_END"="P8_END" value=""
    0.39: binding: ":P8_SECTION"="P8_SECTION" value="P"
    0.39: binding: ":P8_STATUS"="P8_STATUS" value="Outstanding"
    0.39: binding: ":P8_TARGET"="P8_TARGET" value=""
    0.39: binding: ":P8_IDR"="P8_IDR" value="Y"
    0.39: binding: ":P8_RECUR"="P8_RECUR" value="AA"
    0.39: binding: ":P8_PAY_E"="P8_PAY_E" value="X"
    0.41: print column headings
    0.41: rows loop: 15 row(s)
    There are no complaints matching the criteria. Please double check all the criteria in the boxes above.
    0.42: Computation point: AFTER_BOX_BODY
    0.42: Processing point: AFTER_BOX_BODY

  • 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

  • A statement is not refreshed as if Statement Caching was enabled

    Here is the c# code:
    OracleConnection conn = null;
    OracleCommand cmd;
    OracleDataReader reader = null;
    string tname;
    conn = new OracleConnection("Data Source=ora10gen;User ID=scott;Password=tiger;");
    conn.Open();
    cmd = conn.CreateCommand();
    cmd.CommandText = "drop table testblob";
    cmd.ExecuteNonQuery();
    cmd.CommandText = "create table testblob (idfld integer not null, col_bin clob)";
    cmd.ExecuteNonQuery();
    cmd.CommandText = "insert into testblob(idfld,col_bin) values(1,empty_clob())";
    cmd.ExecuteNonQuery();
    cmd.CommandText = "select col_bin, rowid from testblob";
    reader = cmd.ExecuteReader();
    reader.Read();
    //I get the type name is "clob"
    tname = reader.GetDataTypeName(0);
    reader.Close();
    //now I recreate the table and change column cob_bin type to blob
    cmd.CommandText = "drop table testblob";
    cmd.ExecuteNonQuery();
    cmd.CommandText = "create table testblob (idfld integer not null, col_bin blob null)";
    cmd.ExecuteNonQuery();
    cmd.CommandText = "insert into testblob(idfld,col_bin) values(1,empty_blob())";
    cmd.ExecuteNonQuery();
    cmd.CommandText = "select col_bin, rowid from testblob";
    reader = cmd.ExecuteReader();
    reader.Read();
    //after read(), I get an exception "ORA-00932: inconsistent datatypes: expected CLOB got BLOB"
    tname = reader.GetDataTypeName(0);
    reader.Close();
    //seems data type of col_bin is not refreshed in client.

    See the response to the following forum item:
    Oracle returning incorrect schema information ?
    Matthew Solnit Mar 19, 2005 1:28 AM by: IT Panther »
    If this is important to you there is some workaround code listed in previous item but this may not work in the future.....

  • SALV in Split Screen - not refreshing

    I have a Report based program with Selection Screen
    Upon entering valid Inputs program calls screen 100.
    On Screen 100, I placed following elements
      Docking Container
           Splitter Container with 2 rows with Docking container as Parent
                  Placed a Toolbar object on the Top container of the split. Toolbar has 2 buttons BSID & BSAD
                  If user clicks BSID, then I have to show a SALV report in Lower Split
                  If user clicks BSAD, then I have to show a bit different data SALV report in same Lower Split
    I tried several methods to refresh the data in SALV( I used 1 SALV)
    Data is not refreshing in the second split...
    I see that Lower Split container has children attribute set.. I tried to free() the lower container, but it deletes cmplete container itself, what can I do to refresh the data without completely redoing all the container stuff?
    Also Children attribute in Split container is Read-only, how can I change this one ?
    Valid answers would receive points...

    PROGRAM  yvtest3 LINE-SIZE 512.
                                  CLASSES
    CLASS: lcl_main  DEFINITION DEFERRED,
           lcl_event DEFINITION DEFERRED.
                                   TYPES
    TYPES: BEGIN OF t_kna1,           " Customer Info
            kunnr TYPE kna1-kunnr,
            name1 TYPE kna1-name1,
           END OF t_kna1.
    TYPES: BEGIN OF t_lfa1,           " Vendor Info
            lifnr TYPE lfa1-kunnr,
            name1 TYPE lfa1-name1,
           END OF t_lfa1.
                                   OBJECTS
    DATA: o_tlbar TYPE REF TO cl_gui_toolbar,
          o_split TYPE REF TO cl_gui_splitter_container,
          o_dock  TYPE REF TO cl_gui_docking_container,
          o_main  TYPE REF TO lcl_main,
          o_event TYPE REF TO lcl_event,
          o_top   TYPE REF TO cl_gui_container,
          o_down  TYPE REF TO cl_gui_container.
                                 INTERNAL TABLES
    DATA: i_kna1 TYPE STANDARD TABLE OF t_kna1,
          i_lfa1 TYPE STANDARD TABLE OF t_lfa1.
                                   PARAMETERS
    PARAMETERS: p_dbcnt TYPE sy-dbcnt DEFAULT '500'.
          CLASS lcl_event DEFINITION
          Events Definition
    CLASS lcl_event DEFINITION.
      PUBLIC SECTION.
        METHODS: on_click FOR EVENT function_selected OF cl_gui_toolbar
                           IMPORTING fcode.
    ENDCLASS.                    "lcl_event DEFINITION
          CLASS lcl_main DEFINITION
          Main Definition
    CLASS lcl_main DEFINITION.
      PUBLIC SECTION.
        METHODS: constructor.
    ENDCLASS.                    "lcl_main DEFINITION
                                    GET DATA
    START-OF-SELECTION.
    Get Customers
      SELECT kunnr name1
          FROM kna1
          INTO TABLE i_kna1
          UP TO p_dbcnt ROWS.
      IF sy-subrc = 0.
        SORT i_kna1 BY kunnr.
      ENDIF.
    Get Customers
      SELECT kunnr name1
          FROM kna1
          INTO TABLE i_kna1
          UP TO p_dbcnt ROWS.
      IF sy-subrc = 0.
        SORT i_lfa1 BY lifnr.
      ENDIF.
      IF i_kna1 IS NOT INITIAL OR i_lfa1 IS NOT INITIAL.
        CALL SCREEN '0100'.
      ELSE.
        MESSAGE 'No data exists for entry criteria'(001) TYPE 'I'.
        LEAVE TO LIST-PROCESSING.
      ENDIF.
          CLASS lcl_event IMPLEMENTATION
           Events Implementation
    CLASS lcl_event IMPLEMENTATION.
      METHOD on_click.
        CASE fcode.
          WHEN 'KNA1'.
            TRY.
                CALL METHOD cl_salv_table=>factory
                  EXPORTING
                    r_container = o_down
                  CHANGING
                    t_table     = i_kna1.
              CATCH cx_salv_msg.
                MESSAGE 'SALV - error'(007) TYPE 'I'.
                LEAVE TO LIST-PROCESSING.
            ENDTRY.
          WHEN 'LFA1'.
            TRY.
                CALL METHOD cl_salv_table=>factory
                  EXPORTING
                    r_container = o_down
                  CHANGING
                    t_table     = i_lfa1.
              CATCH cx_salv_msg.
                MESSAGE 'SALV - error'(007) TYPE 'I'.
                LEAVE TO LIST-PROCESSING.
            ENDTRY.
          WHEN 'EXIT'.
            LEAVE TO SCREEN 0.
        ENDCASE.
        cl_gui_cfw=>flush( ).
      ENDMETHOD.                    "on_click
    ENDCLASS.                    "lcl_event IMPLEMENTATION
          CLASS lcl_main IMPLEMENTATION
          Main Implementation
    CLASS lcl_main IMPLEMENTATION.
      METHOD constructor.
        DATA: lw_evnt  TYPE cntl_simple_event.       " Events
        DATA: li_evnt  TYPE cntl_simple_events.      " Events
    Create Docking Container
        FREE o_dock.
        CREATE OBJECT o_dock
          EXPORTING
            repid                       = sy-cprog
            dynnr                       = '0100'
            side                        = 1            " dock_at_left
            extension                   = 400
            lifetime                    = 1            " Dynpro
          EXCEPTIONS
            cntl_error                  = 1
            cntl_system_error           = 2
            create_error                = 3
            lifetime_error              = 4
            lifetime_dynpro_dynpro_link = 5
            OTHERS                      = 6.
        IF sy-subrc <> 0.
          MESSAGE 'Error creating Docking Container'(002) TYPE 'I'.
          LEAVE LIST-PROCESSING.
        ENDIF.
    Create Split Screen
        FREE: o_split,o_top,o_down.
        CREATE OBJECT o_split
          EXPORTING
            parent            = o_dock
            rows              = 2
            columns           = 1
          EXCEPTIONS
            cntl_error        = 1
            cntl_system_error = 2
            OTHERS            = 3.
        IF sy-subrc <> 0.
          MESSAGE 'Error creating Splitter Container'(003) TYPE 'I'.
          LEAVE LIST-PROCESSING.
        ENDIF.
    Set Sash Invisible
        o_split->set_row_sash( id    = 1
                              type  = o_split->type_sashvisible
                              value = o_split->false ).
    Set Row Height of 1st Container to fit Buttons
        o_split->set_row_height( id = 1 height = 5 ).
        o_top  = o_split->get_container( row = 1 column = 1 ).
        o_down = o_split->get_container( row = 2 column = 1 ).
    Create Toolbar
        CREATE OBJECT o_tlbar
          EXPORTING
            parent             = o_top
            lifetime           = 1
          EXCEPTIONS
            cntl_install_error = 1
            cntl_error         = 2
            cntb_wrong_version = 3
            OTHERS             = 4.
        IF sy-subrc <> 0.
          MESSAGE 'Error creating Toolbar'(004) TYPE 'I'.
          LEAVE LIST-PROCESSING.
        ENDIF.
    Add Buttons to the Toolbar
        CALL METHOD o_tlbar->add_button
          EXPORTING
            fcode            = 'KNA1'
            icon             = ' '
            butn_type        = 0
            text             = 'KNA1'
          EXCEPTIONS
            cntl_error       = 1
            cntb_btype_error = 2
            cntb_error_fcode = 3
            OTHERS           = 4.
        IF sy-subrc <> 0.
          MESSAGE 'Error creating Button on Toolbar'(005) TYPE 'I'.
          LEAVE LIST-PROCESSING.
        ENDIF.
        CALL METHOD o_tlbar->add_button
          EXPORTING
            fcode            = 'LFA1'
            icon             = ' '
            butn_type        = 0
            text             = 'LFA1'
          EXCEPTIONS
            cntl_error       = 1
            cntb_btype_error = 2
            cntb_error_fcode = 3
            OTHERS           = 4.
        IF sy-subrc <> 0.
          MESSAGE 'Error creating Button on Toolbar'(005) TYPE 'I'.
          LEAVE LIST-PROCESSING.
        ENDIF.
        CALL METHOD o_tlbar->add_button
          EXPORTING
            fcode            = 'EXIT'
            icon             = ' '
            butn_type        = 0
            text             = 'Exit'
          EXCEPTIONS
            cntl_error       = 1
            cntb_btype_error = 2
            cntb_error_fcode = 3
            OTHERS           = 4.
        IF sy-subrc <> 0.
          MESSAGE 'Error creating Button on Toolbar'(005) TYPE 'I'.
          LEAVE LIST-PROCESSING.
        ENDIF.
    Add Events
    register events for toolbar-control
        lw_evnt-eventid = o_tlbar->m_id_function_selected.
        APPEND lw_evnt TO li_evnt.
        o_tlbar->set_registered_events( li_evnt ).
    Create Event Handler
        CREATE OBJECT o_event.
        SET HANDLER o_event->on_click FOR o_tlbar.
      ENDMETHOD.                    "constructor
    ENDCLASS.                    "lcl_main IMPLEMENTATION
    *&      Module  STATUS_0100  OUTPUT
          Screen 100 Init
    MODULE status_0100 OUTPUT.
      IF o_main IS NOT BOUND.
        CREATE OBJECT o_main.
      ENDIF.
    ENDMODULE.                 " STATUS_0100  OUTPUT

  • Files Not Refreshed

    Building a JSP which dynamically creates an HTML page with an included javascript file using
    &lt;script LANGUAGE="JavaScript" type="text/javascript" src="myFile.js"&gt;&lt;/script&gt;
    The problem is when I make changes in the file myFile.js, the changes are not refreshed when I run the project. I have attempted to rebuild, exit jDeveloper and everything else I can think of yet it continues to use the old version. What is going on and why are the changes not reflected when being run?
    jDeveloper 9.0.5.16.27 under Win2K.

    Just to add to the fine advice so far, sometimes just toggling the View to Column View or whatever it isn't the back will update it.
    Wonder if this works in Tiger...
    http://www.versiontracker.com/dyn/moreinfo/macosx/24356

  • PowerPivot Management Dashboard not Refreshing

    The Server Health web part on the  PowerPivot Management Dashboard  has not refreshed since May 2014.  Here is what I see in the error log when I run the timer job:
    Note:
    svcSP_SQLDataRdrProd is the unattended refresh account
    02/08/2015 10:31:21.06          OWSTIMER.EXE (0x58B4)                         0x68F0           
    PowerPivot Service             Usage                         00000  High                Result from
    usage code processing: Errors in the high-level relational engine. The following exception occurred while the managed IDbConnection interface was being used: Login failed for user 'BCTGTWDOM\svcSP_SQLDataRdrProd'..           
    29cae79c-f47a-e0a4-3616-6d7671283524
    02/08/2015 10:31:21.06          OWSTIMER.EXE (0x58B4)                         0x68F0           
    PowerPivot Service             Usage                         00000  High                Result from
    usage code processing: A connection could not be made to the data source with the DataSourceID of 'GeminiBI', Name of 'GeminiBI'.            29cae79c-f47a-e0a4-3616-6d7671283524
    02/08/2015 10:31:21.06          OWSTIMER.EXE (0x58B4)                         0x68F0           
    PowerPivot Service             Usage                         00000  High                Result from
    usage code processing: An error occurred while processing table 'Health'.        29cae79c-f47a-e0a4-3616-6d7671283524
    02/08/2015 10:31:21.06          OWSTIMER.EXE (0x58B4)                         0x68F0           
    PowerPivot Service             Usage                         00000  High                Result from
    usage code processing: Errors in the high-level relational engine. The following exception occurred while the managed IDbConnection interface was being used: Login failed for user 'BCTGTWDOM\svcSP_SQLDataRdrProd'..           
    29cae79c-f47a-e0a4-3616-6d7671283524
    02/08/2015 10:31:21.06          OWSTIMER.EXE (0x58B4)                         0x68F0           
    PowerPivot Service             Usage                         00000  High                Result from
    usage code processing: A connection could not be made to the data source with the DataSourceID of 'GeminiBI', Name of 'GeminiBI'.            29cae79c-f47a-e0a4-3616-6d7671283524
    02/08/2015 10:31:21.06          OWSTIMER.EXE (0x58B4)                         0x68F0           
    PowerPivot Service             Usage                         00000  High                Result from
    usage code processing: An error occurred while processing table 'Servers'.       29cae79c-f47a-e0a4-3616-6d7671283524
    02/08/2015 10:31:21.06          OWSTIMER.EXE (0x58B4)                         0x68F0           
    PowerPivot Service             Usage                         00000  High                Result from
    usage code processing: The current operation was cancelled because another operation in the transaction failed.            29cae79c-f47a-e0a4-3616-6d7671283524
    02/08/2015 10:31:21.06          OWSTIMER.EXE (0x58B4)                         0x68F0           
    PowerPivot Service             Usage                         00000  High                Result from
    usage code processing: Errors in the high-level relational engine. The following exception occurred while the managed IDbConnection interface was being used: Login failed for user 'BCTGTWDOM\svcSP_SQLDataRdrProd'..           
    29cae79c-f47a-e0a4-3616-6d7671283524
    02/08/2015 10:31:21.06          OWSTIMER.EXE (0x58B4)                         0x68F0           
    PowerPivot Service             Usage                         00000  High                Result from
    usage code processing: A connection could not be made to the data source with the DataSourceID of 'GeminiBI', Name of 'GeminiBI'.            29cae79c-f47a-e0a4-3616-6d7671283524
    02/08/2015 10:31:21.06          OWSTIMER.EXE (0x58B4)                         0x68F0           
    PowerPivot Service             Usage                         00000  High                Result from
    usage code processing: An error occurred while processing table 'Unloads'.     29cae79c-f47a-e0a4-3616-6d7671283524
    02/08/2015 10:31:21.06          OWSTIMER.EXE (0x58B4)                         0x68F0           
    PowerPivot Service             Usage                         00000  High                Hit exception
    while processing the usage cube            29cae79c-f47a-e0a4-3616-6d7671283524
    02/08/2015 10:31:21.06          OWSTIMER.EXE (0x58B4)                         0x68F0           
    PowerPivot Service             Usage                         99        High               
    EXCEPTION: Microsoft.AnalysisServices.SPAddin.GeminiException: Errors in the high-level relational engine. The following exception occurred while the managed IDbConnection interface was being used: Login failed for user 'BCTGTWDOM\svcSP_SQLDataRdrProd'..  
      at Microsoft.AnalysisServices.SPAddin.UsageProcessingTimerJob.RefreshUsageCube(GeminiServiceApplication application)     29cae79c-f47a-e0a4-3616-6d7671283524
    My most recent line of analysis and troubleshooting seemed to indicate that the “Server
    Health.xlsx” workbook might be “corrupted”; when I try to edit it, I get an error: "XML parsing failed at line 1, column 1: Incorrect document
    syntax.", followed by: "Errors in the OLE DB provider. An error occured while loading the connection dialog box component for prompting".
    Any insights or advice would be appreciated.
    Thanks,
    Paul

    Hi,
    Thank you for your question. I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience. Thank you for your understanding and support.
    Thanks,
    Linda Li
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • Databound carousel spin not refreshing

    Hi All,
    I have a VO dragged & dropped as a carousel on my page.
    Below is the code,
                                                 <af:carousel currentItemKey="#{bindings.PDFImages1.treeModel.rootCurrencyRowKey}"
                                                                     displayItems="oneByOne" controlArea="small"
                                                                     value="#{bindings.PDFImages1.treeModel}" var="item"
                                                                     id="c5" >
                                                            <f:facet name="nodeStamp">
                                                                <af:carouselItem id="ci1"
                                                                                 text="Label ID: #{item.LabelId}  v#{item.VersionNo}.0"
                                                                                 styleClass="AFStretchWidth">
                                                                    <af:panelStretchLayout id="psl8" startWidth="10px"
                                                                                           endWidth="10px" topHeight="10px"
                                                                                           bottomHeight="10px">
                                                                        <f:facet name="bottom"/>
                                                                        <f:facet name="center">                                                                      
                                                                            <af:outputText value="#{item.LabelId}@#{item.VersionNo}"
                                                                                           id="ot10"/>
                                                                        </f:facet>
                                                                        <f:facet name="start"/>
                                                                        <f:facet name="end"/>
                                                                        <f:facet name="top"/>
                                                                    </af:panelStretchLayout>
                                                                </af:carouselItem>
                                                            </f:facet>
                                                        </af:carousel>
    Here the output text  is refreshing correctly but af:carouselItem text property is not refreshing when I click on spinner. What's the reason for this? Any property i need to set?
    Kindly help.
    Regards,
    Deepti

    My problem has been resolved..... 
    Solution had nothing to do with carousel. Problem was actually with VO.
    My VO which selects column 1 and 2, was returning values as below
                       Column1      Column2
                        ABC                 1
                        ABC                 2
                        ABC                 3
    But I had selected only column 1 as key attribute (primary key) which was causing the problem with carousel.
    When I selected both columns as key attribute, it worked..!!!
    Thanks All.

  • Can not refresh server manager Error:0x8007045b

    OS: Windows 2012 R2 Core
    Services: Hyper V
    I was trying to remote reboot and the session hung. No worries I decided I could just reboot the next morning. So I rebooted the next day but when I go into server manager I get
    an errror can not refresh server manager Error:0x8007045b. Did some research found suggestions to fix it using a DISM.exe /Online /Cleanup-image /Restorehealth.
    But then I get an error 1115 A system Shutdown is in progress. I attempt to fix this issue using pskill winlogon but the issue pursistest. I have restarted the server several times now. Not sure how to fix this.
    Thanks in advance,
    Jake

    Hi,
    In addition to the above information,
    Checkout the below thread for similar discussion,
    http://social.technet.microsoft.com/forums/windowsserver/en-US/a700e9f6-4491-4c70-8bd0-d9d3111e2f70/windows-reboot-error
    Regards,
    Gopi
    JiJi
    Technologies

  • Can not refresh page after save properly(When not saving master record)

    I am using jdeveloper 11g R2 (11.1.2.3) JSF Facelet
    In some use case I have Address as master table and Person as detail table
    For some business reason I need to don't save same addresses
    eg:
    If +1 Test St+ is in database already and new user coming and adding this address with new person
    I need to use the row in database not creating a new address
    I do saving in doDML method of Address with some hashing algorithm and it is fine
    My problem is that I can not refresh page after save properly
    User coming to page think Adding a new address and a new person but in fact no new
    address added because of business I describe above
    Any ideas how I can implement this?
    Appreciate that
    Regards
    Mohsen

    Hi,
    from your description it is not clear why the page doesn't refresh. It could be a problem in your implementation code - who knows. What if you perform the address check on a command button that actually submits the new address? If the check returns true (address exists) you would call row.refresh(forget new row); and re-query the view object so the address coming from the database is displayed. If you wanted to use the doDML then yuou need to be aware that doDML doesn't help removing the row the user created. It just ignores the database update but the entity is still around, which in my suggested solution wont be the case.
    Frank

  • Can not refresh the metrics in schedular

    Post Author: sachinddalal
    CA Forum: Performance Management and Dashboards
    Hi,
    When I refresh the metric using schedular, the metric is not refreshed , nor schedular return any error. But when checked in metrics proparties, the last refresh date is not changed, niether the values are updated.
    Whe I try to refresh the metric manual, the values are refresh.
    Please help me to troubleshoot the problem of refreshing metric through schedular.
    Thanks,
    Regards
    Sachin Dalal

    Post Author: jezbraker
    CA Forum: Performance Management and Dashboards
    Scheduler is pretty horrid for refreshing metrics.Better of to use the Rules engine and create a rule thats based on a schedule that based on condition (1=1 works well ) then refreshes metircs.troubleshooting is best done with the trace options in setup/parameters.there are a few other ways or seeing what the schedulers up to - but id stick to rules if i were you.

  • Adobe Photoshop CS6 Extended Could not complete your request because of a program error.

    When starting Photoshop CS6 I get this error message, Adobe Photoshop CS6 Extended  Could not complete your request because of a program error (-- OK --).  This happens on the main screen immediately.  Once I click OK the program seems to be alright.  But some part of it, that I haven't discovered yet, may not function properly.
    I am running Windows7 Professional Service Pack 1 64 bit with Intel i7-4770k CPU and 16 GIG Ram.
    This problem just started recently, everything has been fine up till now.  I must have done something when trying to defragment the Registry or get rid of temp files.
    I have uninstalled Photoshop CS6 and reinstalled it with no effect.  I have tried to run Photoshop CS6 32 bit in Safe Mode, but it will not run.  It hangs up on Reading Memory.
    Is there any kind log file that would tell me what is causing this to occur?
    Does anyone know what might cause this?
    Thank you in advance for any helpful information.
    J. J. Patterson

    Did you reset your Preferences and Photoshop tools.  Photoshop Preferences are not removed with an un-install and an Install does not install preferences.  Preferences are created  for a user id when a user ID start Photoshop  and there are no preferences for the user ID.    

Maybe you are looking for

  • E5 connect to wifi but can't use....

    I have a problem with my e5. The problem is when I try to connect wifi. I can searching all the available wifi network but when I try to connect it, it can't connect. I also try to use public wifi but it's still the same. I hope u can suggest a solut

  • Re: (forte-users) Oggetto: (forte-users) FYI: Forte 3.5Document

    I'm very interested too in know when will be available this release 3.5. Regards, Danielk ----- Original Message ----- From: "Luca Gioppo" <Luca.Gioppocsi.it> To: <Forte-userslists.xpedior.com> Sent: Saturday, October 14, 2000 8:37 AM Subject: (forte

  • 10.5 booting very slowly

    A week ago I installed 10.5 and now it boots up very slowly. Or rather , it takes about 2 minutes for the Apple logo to appear and the process to begin. I checked for firmware updates, but I do have the most current version for my mac Pro model insta

  • Print Crash on Intel Macs but not on PPC Macs

    I have two MacBooks exhibiting the same problem. When I try to print from nearly any application over the network, the application quits when I try to print. I restart the application and it usually prints. The printer I try to print to is an HP Desk

  • CF9 and Server Manager Air

    I registered my CF9 server but status give me 'Unreachable', what connection settings does the component need and are there server-side settings I should check.