Reg: Refresh of Objects

Hai,
I setup the product successfully. But now my requirment comes in diffrent way. i.e I want to refresh the objects present in the cache for the particular interval of time.
Once it reaches the specfied time, the values need to be refreshed from database. can anyone throws the light on this problem?
thanks in advance.
bye
cg

Hi Chidam,
I just moved this thread here from the Test Forum.
The most elegant approach is for you to implement a MapListener to hook into the expiry events (with cache items set to expire after a specified time period), at which point you can force a reload of the expired item.
If you look at com.tangosol.net.cache.CacheEvent, there is a method called isSynthetic() which returns true for synthetic (internal) events such as eviction. An eviction will appear as a synthetic delete event.
Jon Purdy
Tangosol, Inc.

Similar Messages

  • LiveOffice Refresh All Objects - VBA

    Hi All,
    We are using LiveOffice XI 3.1 SP2 with Excel 2007
    I wanted to use VBA/Macro to execute the 'Refresh All Objects' button
    within LiveOffice menu in Excel 2007?
    Can you please provide me with code or alternative?
    Thanks
    Akshai

    From the header of this forum:
    This forum is dedicated to general discussions, and topics related to other products not covered by specific forums (for example, BusinessObjects Voyager, BusinessObjects OLAP Intelligence, Intelligent Search, Set Analysis, and Predictive Analysis).
    I suspect you want to post in a different forum?
    - Ludek

  • Refreshing Entity Objects after Altering the table

    Hi,
    My Entity Object is based on a table... and View Objects on the Entity Objects. Now if I alter the table (just changing the width of the column), that change is not visible on the Entity Object. Is there any way I can automatically refresh the Entity Objects after altering the table(only column width is changed).
    (Changes made to Entity Objects manually are reflected in the View Object correctly.)
    Regards
    Faiyaz

    'changing the width of the column' means changing the size of the column in the table description in the database. For e.g.. In the original table I had a column OIL_KEY NUMBER(6). Now I change the column to be of size 12 i.e. OIL_KEY NUMBER(12). This does not get refreshed in the Entity Object.

  • Error while refreshing aw object from a job

    Hello, I'm trying to make the refresh of the objects (dimensions + measures) in an analytic workspace, programmed in time using jobs.
    If I execute the statements of the job manually in a Sql*Plus session, everything is right. But if I execute the same statements in a job, I've got errors.
    For example, the next statement creates a job that refresh an aw dimension called DIM1, executing it each minute:
    EXEC DBMS_JOB.SUBMIT(:job,'DBMS_AW.EXECUTE(''AW ATTACH SAC_AW.AW1 RWX;'');DBMS_AWM.REFRESH_AWDIMENSION(''SAC_AW'', ''AW1'', ''DIM1'');DBMS_AW.EXECUTE(''AW DETACH SAC_AW.AW1;'');',sysdate+1/1140,'sysdate+1/1140');
    The analytic workspace is called AW1, and the user that contains it is SAC_AW. The user that contains original relational objects is SAC. This user executes the statements.
    Then, if I execute:
    EXEC DBMS_JOB.RUN(1);
    I've got an error similar like this:
    EXCEPTION thrown in cwm2_olap_aw_awutil.FetchAWLog()
    AW command: 'show convert(REFRESH_AWDIMENSION('SAC_AW' 'AW1' 'DIM1' '')
    text)'
    AW Error Text
    (MXMSERR00) El objeto de espacio de trabajo analítico _TARGETDIMNAME no
    existe.
    In SYS.AWCREATE!___COPYVRBTOVS PROGRAM:
    _targetdimname
    ^
    ----- PL/SQL Call Stack -----
    object line object
    handle number
    name
    324EBC50 388 package body OLAPSYS.CWM2_OLAP_AW_AWUTIL
    324EBC50
    421 package body OLAPSYS.CWM2_OLAP_AW_AWUTIL
    324EBC50 466 package body
    OLAPSYS.CWM2_
    OLAP_AW_AWUTIL
    3250B63C 1010 package body OLAPSYS.DBMS_AWM
    34930F70
    1 anonymous block
    2F3CFAA0 406 package body SYS.DBMS_IJOB
    34D24084
    272 package body SYS.DBMS_JOB
    34884EE0 1 anonymous block
    ORA-00942: la tabla o vista no existe
    EXCEPTION thrown in cwm2_olap_aw_awutil.FetchAsStr()
    AW command: 'show convert(REFRESH_AWDIMENSION('SAC_AW' 'AW1' 'DIM1' '')
    text)'
    ----- PL/SQL Call Stack -----
    object line object
    handle number
    name
    324EBC50 388 package body OLAPSYS.CWM2_OLAP_AW_AWUTIL
    324EBC50
    473 package body OLAPSYS.CWM2_OLAP_AW_AWUTIL
    3250B63C 1010 package body
    OLAPSYS.DBMS_
    AWM
    34930F70 1 anonymous block
    2F3CFAA0 406 package body
    SYS.DBMS_IJOB
    34D24084 272 package body SYS.DBMS_JOB
    34884EE0 1
    anonymous block
    ORA-00942: la tabla o vista no existe
    It's very strange, since I can execute the statements contained in the defnition of the job without problems in a dabase session.
    My database version is Oracle 9.2.0.6.
    Some idea ? Thanks a lot by your help.

    Hi Suresh,
    have a look at the integration builder start jsp. There is a Link "Administration". On this page, on the left side, you can click on "lock overview" and check if your object is locked. Then you can remove this lock.
    Best Regards
    Sven

  • Problem refreshing View Object

    Hi all,
    I have one problem with refreshing VO. I am adding rows in the VO programatically but i am not commiting the data. If I add more then 10 records in the VO I cant view all the rows. I am only getting the rows from the first page (the first 10 rows). I dont get the option to navigate and cant go to other pages in the table. But if I commit the data I can go trought all pages in the table.
    Anyone has solution for this???
    Thanks

    I just discovered that i can only have 10 rows of uncommitted data in the view object. The others are not shown in the table but they exist in the VO
    Any ideas???
    BTW I'm using version 10.1.3.4
    Edited by: ScarfaceMkd on Mar 9, 2010 6:44 AM

  • Refresh Callable Object if changes are made to VC Start/End points

    Looking for some guidance on how to refresh a callable object once I have already brought it into my application.
    I have a VC application that I can use as a callable object during my GP process.  During design time, I can select it and see the start and end points.   I then can map those values and use them in the GP.
    If I go back and change the VC application (make a change to the start or end point ... like a new variable or name change) how do I get my GP to recognize that there is a new version of the VC application?   Currently I have had to delete the CO and rebuild it...Id rather the tool tell me the version has changed and that I need to remap/group my values.
    Note that if I change anything between the start or end point in the VC application there is no problem, since all the GP cares about are those start/end points and how they relate to the rest of the process.

    Hello Mike,
    It´s a pitty but there is no way to "update" VC based callable objects in GP, (in webdynpro callable objects there is an "update" button that allows to do that) , but with Visual Composer Callable Objects the only way is to create a new one.
    Regards,
    Marco.

  • How to refresh view object in doDML

    How can i refresh an view object in the doDML Method?

    How are you changing the key? - is it using the iterator or attribute value in bindings (or) directly thru the view object.
    if you are doing directly on the view object, on commit - you might have to refresh the iterator by calling executeQuery method on it.
    BindingContext bctx = BindingContext.getCurrent();
    BindingContainer bindings = bctx.getCurrentBindingsEntry();
    DCIteratorBinding dcIter = (DCIteratorBinding) bindings.get("DEPARTMENTS_VO1Iterator");
    if(dcIter != null){
    dcIter.executeQuery();
    }Thanks,
    Navaneeth

  • Refresh swing objects

    Hi@all
    i have a JTextArea and a JList
    both in JScrollPanes
    when they are overlapped from an other window, msgbox etc. they don't refresh
    im new to java and i spent a lot of time and couldn't fix it.
    here's my code:
    www.gamemaster.ch/temp/Editor.java
    thx for any help!

    one additional question
    i did it like you said but there's still a problem remaining
        public void paint(java.awt.Graphics g) {
            lstFolderList.repaint();
        }as i said the list is in a JScrollPane and so the scroll bars don't refresh
    but if i add the scrollpane to the paint method both objects don't refresh
        public void paint(java.awt.Graphics g) {
            scrPane.repaint();
            lstFolderList.repaint();
        }what did i wrong?

  • Refresh the object associated with a Row in a Data Control?

    I am using EclipseLink & have an issue with multiple updates of the same Row. During an update, a new instance of the entity is returned by the update method. The instance bound to the Row is not updated with this new version and subsequent updates fail with an optimistic locking exception since the entityVersion hasn't been updated.
    Question: Is it possible to refresh the instance associated with a data control Row? I can remove rows, create rows, but it is not apparent to me how to update a row. I am trying to avoid doing a full retrieve on the bound iterator.

    Hi!
    The issue here is, by my opinion, a gap between ADFm and EJB 3.0 in use-cases with large data sets. If you search this forum, you may find related thread by Pedja about problem of feasible "scrollable" af:table with large number of entities in EJB finder result list. Unfortunately, the ADFm "paged" fetching is in mismatch with EJB support for "paged" (or scrollable) results lists. The all results of EJB finder method are retrieved from data source, stored in memory (thus breaking the heap) and transferred to ADF datacontrol. Then, and only then, ADFm paged fetching and caching mechanisms are employed – but they are just cosmetics as the main data set is permanently stored in memory as List<?>. The workaround is, as Pedja discovered, to write completely proprietary TableCollectionModel which completely evades ADFm and is implemented by set of EJB Session methods for paged acces to datasource through TopLink and native database queries (enabling retrieval of particular range of rows instead a complete result set). Of course, this is very complex coding experience and I find it a not acceptable for efficient development of modern applications on ADF + EJB stack, especially as it brakes a technology independence promoted by EJB and EclipseLink and other standards-based technologies (as you have to use database-specific native query implementation for paged /scrollable access!).
    What I want to say is that I have feeling that ADF support for EJB is not complete in full extend and that ADFm is still much better suited for BCs then for EJBs. I hope that this will be solved in future as this issue may pose a significant issue on application development in enterprise-level area where it is supposed that we are dealing with BROWSING also a large data sets.
    Yes, I emphasize a BROWSING as I strongly oppose a dogmatic approach that SEARCHING is a solution for every use-case. From theory of information, the system SHOULD NOT limit the user in accessing ALL information (based on access rights, of course). So the idea that SEARCH forms should be used to bridge a architectural gap between a ADFm and EJB is not acceptable, as the search MAY limit the user in acquiring the information he (or she) is not able to describe in adequate manner based on search criteria offered by the developer. So, the developer may be responsible for misinformation of user, by limiting his access to information, jus for technology limitations of ADFm which forces a development of purely SEARCH-based functionalities.
    I hope that development team would appreciate and consider this remarks, and invest effort in closing (not bridging!) the gap between ADFm and EJB.
    Regards,
    PaKo

  • Error while refreshing BO objects using live office

    Hi Forum,
    We are getting below error while refreshing the data using Live Office plug-in on PPT.
    “An error occurred while receiving the HTTP response to http://........ This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server.”
    This error comes in exact 5 minutes.
    The server name used for web service is from a clustered environment. When the individual node is used Live office refresh works fine but while using the generic name refresh fails.
    Please provide your inputs.

    Hi Honed,
    Take the backup of dsws.properties file and do the following changes:
    properties            values
    domain               @<clustername>
    session.timeout    value higher than 5 minutes
    Below pdf can help you further:
    http://help.sap.com/businessobject/product_guides/boexir4/en/xi4_wssdk_admin_en.pdf
    Regards,
    Yuvraj

  • Reg. Generic Object Services - GOS

    Hi All,
    I've a requirement where I need to call the toolbox and make attachments for a Custom create transaction from screen 100 to 200. Everything is working fine but my problem is I'm not able to view the Attachment list Icon (It is in Disable mode) in screen 200 and after saving the Attachments list is enabled with the key generated after coming back to screen 100. Is there any way to view the attachments list with a Temporary Object key in screen 200 and after saving this number should be assigned to the actual generated number for the create transaction? I searched in SDN but didn't find any solution. I'm using the class CL_GOS_MANAGER.
    Your valuable solutions are surely appreciated.
    Thanks,
    Bhaskar

    Dear Bhaskar,
    You will need to use "early number assignment" in your application to be able to do so. As far as I know SAP standard transactions use somethin like this.
    Best regards,
    Dezso

  • Reg: Refresh the view

    How to refresh the webdynpro view dynamically.
    For eg: In some action i need to refresh the whole view and it shoud get initialised on refreshing dynamically.

    Hi,
    onAction() invalidate the node.
    Refresh View?
    Re: How to refresh a View?
    Regards,
    ramesh
    Edited by: Ramesh Babu V on Oct 22, 2008 6:40 PM
    Edited by: Ramesh Babu V on Oct 22, 2008 6:42 PM

  • Reg ABAP-HR objects

    hi friends,
    could u plz send me some objects for abap-hr, ie, infotypes, reports,dynamic action, interfaces, etc....
    my mail id : [email protected]
    thanks in advance.
    regards,
    priya

    Hi this will be of some help 4 u:
    Few notes are below:
    InfoSets in the HR Application
    You can use SAP Query in HR to report on HR data. Queries are maintained as described in Creating Queries. The special features of queries created for HR are described in Maintaining Queries in the Human Resources Application. The maintenance procedure for HR InfoSets differs from the described procedure inasmuch as HR data fields are grouped together in infotypes.
    InfoSet management in SAP Query is also used for InfoSet Query. For further information, see Functions for Managing InfoSets.
    If you want to create InfoSets for HR, you can use logical databases PNP, PNPCE, PAP, and PCH (see HR Logical Databases). The database you must use to create your InfoSet depends on the component in which the data you want to report on is stored.
    The reports you can execute using InfoSets based on logical databases PNP (or PNPCE) or PCH are similar, but differ in that they can select different objects. The following table describes the connection between the logical database, and the infotypes you can include in an InfoSet. It also provides you with one or two examples of reports that you can execute using the appropriate InfoSets.
    Logical database PNP/PNPCE* PCH PAP
    Selection of Persons Objects from Personnel Planning Applicants
    Infotypes that can be included in the InfoSet Infotypes for· Personnel Administration (0000-0999) · Time Management (2000-2999) · Payroll infotypes · Infotypes for Personnel Planning objects that can be related to persons If the object type is specified:· Infotypes for the object type · Infotypes for objects that can be related to the specified object typeIf the object type is not specified:· All infotypes · Infotypes for Recruitment (4000-4999)· Some infotypes for Personnel Administration (such as 0001 and 0002)
    · Customer infotypes
    Reporting examples · Selection of all persons who participated in a specific business event, output of prices for reserved business events · Selection of all persons assigned to a specific personnel area, output of qualifications held by these persons · Selection of all business events held in London in March, output of all persons who participated in these business events · Selection of all positions assigned to a specific organizational unit, output of all persons assigned to the positions · Selection of all applicants hired last year to work on special projects, output of addresses for the applicants selected
    Logical database PNPCE (PNP Concurrent Employment) functions just like logical database PNP. The procedure for creating InfoSets is also the same. It only becomes significant if you work with Concurrent Employment.
    Creating InfoSets
    The maintenance procedure for HR InfoSets differs from the procedure described so far in this section inasmuch as HR data fields are grouped together in infotypes. To set up an InfoSet for the HR application, proceed as follows:
    1. On the initial screen for maintaining InfoSets, enter a name for the InfoSet and choose Create.
    2. On the next screen, enter a name for the InfoSet and select one of the HR logical databases in accordance with your reporting requirements.
    Customer infotypes can be created on all HR logical databases. In each individual case, therefore, you must decide which database to select so that you can report on customer infotypes.
    This screen enables you to enter an authorization group. All of the queries that are subsequently created using this InfoSet can only be executed by persons who have this authorization group.
    3. Choose .
    This takes you to the Infotype Selection for InfoSet  create'
    4. Choose as business object 'PREL' and as document type 'HRICOLFOTO'
    5. Push the create button
    6. Fill in the appropriate personnel number
    Steps for uploading Logo to an Z progrAM :-:
    1. Goto the transaction OAER
    2. Enter the class name as 'PICTURES'
    3. Enter the class type as 'OT'
    4. Enter the object key as the name of the logo you wish to give
    5. Execute
    6. Then in the new screen select Standard doc. types in bottom window
    Click on the Screen icon
    Now, it will ask for the file path where you have to upload the logo
    7. Now you can use this logo in REUSE_ALV_COMMENTARY_WRITE
    Here you go !!
    *& Form TOP_OF_PAGE
    text
    FORM F_TOP_OF_PAGE.
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
    EXPORTING
    IT_LIST_COMMENTARY = IT_LISTHEADER
    i_logo = Logo name
    I_END_OF_LIST_GRID = .
    ENDFORM. "TOP_OF_PAGE
    Also forms:
    HR FORMS
    http://help.sap.com/saphelp_erp2004/helpdata/en/3d/a458c7a4ab2a4382c5b6bfe988edcd/frameset.htm
    Go through these pdf docs....
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAXX/PYINT_FORMS.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PYXXFORM/PYINT_FORMBUILDER.pdf
    with regards,
    Hema Sundara.
    pls reward points if u find it helpful.

  • Reg: Refresh in a TabStrip

    Hi All,
             We are using a TabStrip with 5tabs, each tab contains Forms. when we enter data in tab1, click on 2tab and come back to 1tab data entered remains same.
    It's not refreshing the data. I tried view.viewreset in ModigyView, but does not make any difference. Please help me to refresh the data.
    Thanks
    Nagaraju

    Hi,
    Are you using ViewContainer UI?
    Try to invalidate the node mapped to your UI elements.
    wdContext.node<NAME>.invalidate();
    thanks & regards,
    Manoj

  • Reg:Refreshing the Screen

    Hi Friends,
    In my Application i have five Screens.
    Each screen has different functionality.
    My requirement is such that after i Execute the function module my Screen should be refreshed with the updated values.
    Is this possible in Web-Dynpro(Java) Scenario?
    I am using SAP as my  R/3 .
    For Clarity let me give an example:
    I have two Tables.
    My functionality is to Copy one row selected in a Table to the Other Table.
    I am able to fulfill the functionality,now when i go back to the previous screen and come back to this screen the Table is getting Updated.
    My requirement is such that after completing the task itself it should show me the Updated one.
    Please help me out.
    Thanks and regards,
    Chandrashekar.

    Hi Chandrashekhar,
    You can use view.refresh();
    But this can be used only in wdDoModifyView method, where the current View is passed as a parameter.
    Do not directly use it in the method, as it is called for each user interaction. Using appropriate combination of conditions in modifyView you can do so.
    Regards,
    Alka.

Maybe you are looking for

  • Item Cetgory configuration

    I have a small problem i.e., in Item Category Configuration the fields for Revenue recongintion & Delimit Start date  are already configured and are now grayed out. I am unable to change the option. Could any one tell me from can we control these fie

  • Moved music to new hard drive now itunes can't find songs !

    This is what I did. My old hard drive was getting full so I bought an additional hard drive and installed it. I then selected all the music in the itunes music folder, copied it, then pasted it into a new folder on the new hard drive. I changed the s

  • Triggering IDoc from R3 using variant program

    Hi, I am using the variant program to trigger the IDoc from R/3 System. It is successful in r/3 system but its not reaching in XI. Help me in resolving this issue. Regards, Inder

  • Link attached document to content server  ( CS )

    Hi, does any one know how to store order attachement documents into SAP Content Server? Thanks.

  • Link within a flash file

    Hi, I have a flash file and I want to be able to hover over it and see the  cursor change and when I click I want to be sent to a page I specify on a  website. I've tried "on(release) etc" in ActionScript (although I know nothing!)  and it says I nee