Fiori Enhancment - BSP how to clear buffer/cache?

Hi All,
So I'm trying to make some enhancmenets to a Fiori app. I have downloaded it and reuploaded is as a new BSP application.
I wanted to make some changes to the BSP, so I changed the code directly, in SAP.
I thought I must be doing something wrong, but my changes weren't having any effect.
To further test this I wrote some nonsense which should ahve broken it... but it still ran fine!
To test further again I went to SICF and deactivated the node!! ANd it STILL worked fine!
I opened new sessions in my browser, and new incognito windows, and closed it all and reopened it all, but it STILL works fine!
There is clearly some kind of caching/buffering going on here, I've found the tables: O2PAGDIR and O2PAGDIRT have buffered values (found out this from ST02)
But how do I clear it?! I turned buffering off in these tables, to see if that worked, and made another change, and tried to reload the table... but STILL the page loads with no changes.
Please, can anyone tell me how to clear the buffer/cache that means that when I make UI chanegs in a BSP it doesn't show them?!
Thank you
Lindsay

Hi Mauro,
I overcame this issue in a variety of ways:
Firstly, I do all the customisation of the BSP applications locally on my machine.
Then I upload the whole BSP using the program /UI5/UI5_REPOSITORY_LOAD.
In order to make sure the display you see in your browser is the up-to-date version, there are various cache clearing things you can do:
Program /UI5/RESET_CACHEBUSTER - this has no UI, and takes only a second to run
Transaction /UI5/THEME_TOOL : double click on "Invalidate Cache" to refresh the theme cache (if you have made theme changes)
Then you have the two model caches mentioned above by Ashish - if you changes the Gateway service but aren't seeing these changes you should run these to ensure the model is up-to-date.
Browser caches: make sure you browser cache is cleared: for Chrome this is easy: hit F12 (to get Dev toold open), clickk on the cog icon, and tick the box "Disable cache (while DevTootls is open)" - then keep devtools open while refreshing the page.
The best way to enhance the BSP applications is locally on your machine, and do all your testing locally before uploading.
I hope this helps, let me know how you get on.
Lindsay

Similar Messages

  • How to clear app cache on itouch (3.1.3 iOS)

    can someone help with directions on how to clear app cache in 3.1.3?  btw...i don't want to reset since it will result in lost apps that no longer offer versions for 3.1.3

    All you can do is reset the iPod. Nothing is lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    For the old-app problem. Delete any newer apps from your iTunes library. Then transfer iTunes purchases to the computer by:
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer
    Just make sure that you do not update those apps in your iTunes library.

  • How to clear the cache files in folder Temporary Internet Files

    When one user opens files such as pdf. or doc. from Portal,  the same file will be downloaded into the Temporary Internet Files folder. if another user copied the files out of the Temporary Internet Files folder from this computer and save to someplace else, then we face one security problem.
    So my question is: How to clear the cache files in folder Temporary Internet Files??  Can we delete the files automatically when close the files in Portal??
    or is there some ways to make encrypty???
    Thanks very much!

    Hello,
    this is a basical security problem which should be resolved by the OS standard security setup . No other user should have access to the temporary file folders in the personal directory. The user account must be secure. Normaly your security problem should not be a problem if basic security exists on the clients.
    You can resolve this problem if every user has his own account on the client
    The users having no administration permissions on the clients
    The folder for the temporary internet files is placed in the personal profile folder of the user account.
    On default no other user has access rights to you personal folder, this means the client OS is setup correctly.
    You can setup the IE that no temporary files are saved (but it reduces performance)
    You can enable IE to delete automaticly the temporary files if IE is closed.
    Hope it helps.
    Regards
    Alex

  • E-Recruiting - BSP application - How to clear buffer?

    Hi,
    I’m debugging one of BSP application (I set an external break point at method of model class).
    Very first time program flow stops at break point but after that it is not stopping there b/c records being fetched from buffer. May I know how to clear the buffer?
    Regards,
    ...Naddy

    Well,
    E-Recruiting Infotypes are buffered within the application as internal tables.
    The buffer is filled, when first time opening an subapplication. It's also filled, when those infotype records have not been read before.
    Refreshing the buffer is only triggered by the application. This is done by "Refresh"-Buttons or Buttons like "Start selection".
    You cannot refresh it yourself, while debugging. It's a global event called by button events.

  • How to clear file cache (or buffer cache?) in the system

    i found that after copying a large file, say >200M the system's memory drop 200M exactly until i delete the file. it is suspected that the memory is used for file cache.
    After installing memtool, the prtmem command shows the following:
    Total memory: 983 Megabytes
    Kernel Memory: 106 Megabytes
    Application: 193 Megabytes
    Executable & libs: 40 Megabytes
    File Cache: 495 Megabytes
    Free, file cache: 60 Megabytes
    Free, free: 87 Megabytes
    It shows that nearly 500M of system's memory is used for file cache.
    The temporary solution i use now is to copy a large file, say 300M, and delete that file.
    eg
    cp temp1.txt temp2.txt
    rm temp2.txtAnd then most of the file cache will be freed out.
    is there any way to release this file cache?
    I've checked the system use the default value for the bufhwm parameter. ie, about 20M. however, as i know, this bufhwm parameter is related to buffer cache. is it really related to file cache?

    To answer your question directly - delete the file or unmount the file system.
    To answer your question indirectly - You are worrying about the wrong thing here. Also the buffer cache is slightly different the file system page cache. The file system page cache is behaving exactly as it should as is the virtual memory subsystem. When a system is operating for some period of time, the amount of free memory will always drop towards LOTSFREE and, if allowed, stay right above LOTSFREE - forever - if the work behavior of the machine stays about the same. This is usually because of the file system page cache.
    Its nothing to worry about. Actually you want that to happen. Otherwise your disks would be getting the crap kicked out of them all the time.

  • How to clear the cache in the portal browser

    Hello Experts,
    Iam unable to clear the cache in the portal. I tried  clearing the Navigation cache , PRT cache,PCD cache,Database cache,UME cache.
    The senario is in the browser if iam logging with some user X , he should see only 1,2,3 countries, and if i logg off and again logg in the same browser with different user he is seeing same 1,2,3 countries unlike he should see 4,5 countries.
    But if iam opening in different browser iam getting the correct one with cache cleared.
    I want to acheive this in the same browser.
    Qucik help in solving out this cache problem is appreciable.
    Regrds,
    Manasa.

    There is one more important cache: the HTTP Provider Service cache (in VA).
    To find out why the browser is showing the same languages, analyze what the server is sending to the browser with HTTPWatch or Firebug and look at the cache flag. Also check what is the iView cache parameter? Is it user, session, shared or none?
    How do you do the logoff? The best thing is to make sure that the HTTP Session is killed. If not, the portal may send data that is cached for the HTTP Session to the browser. When you open a new browser, you will also open a new HTTP Session. That could be the cause why it is working with a new browser instance.
    br,
    Tobias

  • How to clear items / cache in Apex 4.2

    Can someone explain how clearing cache or session state processes are supposed to work in Apex 4.2?
    I have an application that allows the user to look up records by last name or by social security number
    A look up by SSN is one to one and takes the user to a detail page
    A look up by NAME displays a list of names where the user can select a user and display the same detail page
    The problem is that the application retains the social security number from one look up to the next. So it keeps displaying the same record
    even if you enter or select a different SSN.
    I've tried creating session state processes to either clear specific items or clear the cache on a page, but nothing seems to work.
    Maybe the problem is that I'm not understanding the options for creating these; it says things like  on load before headers, on load after headers, on submit before calculations, after calculations, etc
    The application is read only.  Logically to me, if you are linking from one page to another you need to save the value in the item  but if you are doing a  new search you need to clear it
    So I thought that on the detail page I should clear the items, or clear the cache on the page after submitting
    But can't get this to work

    heres an example
    Page 1 has items P1_SSN and P1_NAME  as well as hidden items P1_TEXT and P1_TEXT2
    The button affiliated with p1_NAME takes the user to page 2 that displaces a list of match names. it has a link which goes to page 3 where P3_SSN matches #SSN#
    The button affiliated with p1_SSN takes the user directly to page 3 where p3_SSN matches #SSN#
    If I log in and search by SSN first, when I get to page 3 I have the correct record
    If I look up by name , I get the list and select a record by SSN I still have the correct record
    then I go back to Page 1 and search by SSN, entering a new SSN. I always get what ever record I previously pulled up when searching by name and selecting from the list
    On Page 1 , I have a process that says on load before regions clear items and I list all the items
    Similarly  on page 3 I have a process after submit and calculations that clears the items
    When creating these processes it asks to list the items, separated by comma. The only place to enter PL/SQL is under conditions, this is not conditional on anything, it should always clear the cache.
    I use this same logic on different pages in the same application - different tables but same flow. It works there. I don't see why it doesn't work here

  • How to clear the caching realm?

    Hello,
    WebLogic Server 5.1 SP 6 on W2k Server
    Is it possible to emtpy the caching realm inside of an EJB?
    The class weblogic.security.acl.CachingRealm
    provides the clearCaches() method, but I don't know how
    to get the actual cache object within an EJB in the WebLogic
    server.
    Thanx in advance,
    Michael

    yeah word
    This works for sure in a servlet or jsp
    <%
    response.setContentType("text/html");
    BasicRealm basicRealm = Security.getRealm();
    try {
    ((CachingRealm) basicRealm).clearCaches();
    } catch (ClassCastException ce) {
    out.println("There is a class cast exception and getRealm ain't no returned
    a CachingRealm");
    out.println("This probably means that you don't have a pluggable realm
    hooked into WebLogic.");
    out.println("No pluggable Realm = no Cachingrealm!");
    %>
    Is there anyway to clear a particular user from the cache. When the user's
    password
    is changed in the database, i would like to remove this user from the
    Caching
    realm. If i call authUserPassword() with incorrect password, will it
    remove the
    User object from Cache?
    Also, in a cluster, how do i remove the User from all WLS instances.
    thanks for your help.
    regards,
    Jegan
    "Tom Moreau" <[email protected]> wrote:
    Why do you need to clear the caching realm?
    Anyway, I think you can do it by (I haven't tried this):
    import weblogic.security.acl.Realm;
    import weblogic.security.acl.Security;
    import weblogic.security.acl.CachingRealm;
    Realm genericRealm = Security.getRealm();
    CachingRealm cachingRealm = (CachingRealm)genericRealm;
    cachingRealm.clearCaches();
    -Tom
    "Michael Saringer" <[email protected]> wrote:
    Hello,
    WebLogic Server 5.1 SP 6 on W2k Server
    Is it possible to emtpy the caching realm inside of an EJB?
    The class weblogic.security.acl.CachingRealm
    provides the clearCaches() method, but I don't know how
    to get the actual cache object within an EJB in the WebLogic
    server.
    Thanx in advance,
    Michael

  • How to clear the cache of an applet?

    I m working on an applet displaying images for client side. So server will send me an image(picture),but for the first time i display the image,it will be successfully. when i want to view another new image ,it display the previous image, so i suspect the problem is the cache of the applet.so how do i clear the cache of an applet?

    This is quiet clear:
    http://java.sun.com/products/plugin/1.3/docs/appletcaching.html
    On Windows platform the Java Control Panel has also a "clear cache" option.
    Anyway you may find the cache on your harddrive.
    Hope that helps.

  • Sql query executes faster 2. time despite clearing buffer cache/shared pool

    Hi All,
    I want to test query performance, so i clear cache in following way before each execution:
    alter system flush buffer_cache;
    alter system flush shared_pool;
    But, first execution takes more time than second and consequent executions. For example first execution takes 30 seconds, consequent executions take 3 seconds.
    Before each execution I clear the cache.
    What can be the reason? I use TOAD for query execution. Does TOAD caches something after first execution?
    And last question. Is there a dynamic query that query execution duration is stored?
    Any help will be appreciated.
    Thanks.

    >
    So there shouldn't be problem from the parameter, can you post result from V$SGA_DYNAMIC_COMPONENTS and v$SGAINFO ?
    V$SGA_DYNAMIC_COMPONENTS
    COMPONENT CURRENT_SIZE MIN_SIZE MAX_SIZE USER_SPECIFIED_SIZE OPER_COUNT LAST_OPER_TYP LAST_OPER LAST_OPER GRANULE_SIZE
    shared pool 436207616 402653184 0 0 125 GROW IMMEDIATE 02-JUL-09 16777216
    large pool 201326592 117440512 0 83886080 12 SHRINK DEFERRED 02-JUL-09 16777216
    java pool 16777216 16777216 0 0 0 STATIC 16777216
    streams pool 16777216 16777216 0 0 0 STATIC 16777216
    DEFAULT buffer cache 1895825408 1711276032 0 16777216 137 GROW DEFERRED 02-JUL-09 16777216
    KEEP buffer cache 0 0 0 0 0 STATIC 16777216
    RECYCLE buffer cache 0 0 0 0 0 STATIC 16777216
    DEFAULT 2K buffer cache 0 0 0 0 0 STATIC 16777216
    DEFAULT 4K buffer cache 0 0 0 0 0 STATIC 16777216
    DEFAULT 8K buffer cache 0 0 0 0 0 STATIC 16777216
    DEFAULT 16K buffer cache 0 0 0 0 0 STATIC 16777216
    DEFAULT 32K buffer cache 0 0 0 0 0 STATIC 16777216
    ASM Buffer Cache 0 0 0 16777216 0 STATIC 16777216
    V$SGA_INFO
    NAME BYTES RESIZEABL
    Fixed SGA Size 2086392 No
    Redo Buffers 14688256 No
    Buffer Cache Size 1895825408 Yes
    Shared Pool Size 436207616 Yes
    Large Pool Size 201326592 Yes
    Java Pool Size 16777216 Yes
    Streams Pool Size 16777216 Yes
    Granule Size 16777216 No
    Maximum SGA Size 2634022912 No
    Startup overhead in Shared Pool 218103808 No
    Free SGA Memory Available 50331648

  • How to Clear ODI Cache?

    Hi Experts,
    I have an ODI package scenario that assigns some variables and run an ODI interface there. After the first ODI scenario run, all the target data is populated fine. Then I removed all the target data and re-run the scenario, nothing is populated in target. It looks like data was cached somewhere and since no change for the source data, nothing get re-populated.
    I'm wondering if I can clear the cache somewhere so the scenario will still populate data after re-run?
    Thanks.

    Thanks for your reply. The data removed with commit and all $ tables were deleted. The source data were selected in interface with a date defined by an ODI variable, looks like the ODI scenario cached the variable value and subsequent run will use the current value. Is there a way to clear the variable value? The variable was defined with Action 'Not persistent'.
    Thanks.

  • How to clear Applet cache in IE?

    Though the applet files is updated and compiled. The new class file is there, but the browser keeps bringing up the old version. Anyway to clear the cache instantly?
    thanks,

    Hi lili3000
    In ur windows (Provided u r using windows machine)folder u will find a sub folder called javaplugin1.3 where u will find one more folder with name jar.
    In my m/c the path is like
    C:\Windows\javaplugin1.3\jar
    This is the folder where ur jar file gets downloaded by the browser. So delete all the file from that folder, then only the effect in ur applet will take place.
    Hope this will work 4 u.
    cheers
    Soniya

  • How to clear old CACHE entries -- RSRCACHE

    Hello Gurus: What is the suggested menthod to clear the Cache entries of yesterday in RSRCACHE.
    We r still using 3.1 & will be upgrading soon.
    I will be happy to assign points & thanks for your help.

    Hi
    You can go to RSRT
    Select the cache Monitor
    There on the top you can find option Delete.
    So from there you can delete the main memory cache, or what ever its required.
    Regards
    M.A
    Edited by: M.A on May 21, 2008 4:15 PM

  • How to clear class cache upon applet startup?

    Hi,
    is there any HTML-tag to force the class loader cache being cleared upon applet startup?
    When I have recompiled the applet code, I am forced to clear the cache in the java plugin console. Is there any way to automate this?
    Thanx in advance

    i know what he's talking about, you have to restart the browser to get it to reload the class files. You may be able to set your browser cache to 1MB, but I think I did that and it didnt work, and I never found a solution. If you're trying to develop your application and you're testing it and this is becoming a problem, use appletviewer to test the applet. Once you have the finished product, make sure it works on IE and Netscape.

  • How to clear the cache clanup operations as the CE Server very slow?

    Hi,
    I am using SAP CE 7.1 on a Core2 Duo system(2.00Ghz with 2 GB of RAM), the server was working fine for the last 3 months but for the last 1 week or so it has turned very slow and its consuming a lot of my systems resources making my system dead slow though earlier my system was working fine.
    Can some one please provide me the proces to clear the cache for the CE server as this might increase the performance, or any other process for improving the preformance of the CE srever?
    Please reply ASAP.
    Thanks in advance.
    Regards,
    Manish

    Hi Manish,
    Instead of guessing, the better option would be to run a profiler that would help you spotlight the issues which might be causing such a decrease in performance. There are plenty of tools available, also from SAP.
    HTH!
    \-- Vladimir
    P.S. Please read the SDN Forums [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement], especially about using words like "ASAP" and cross-posting in multiple forums.

Maybe you are looking for