on 11-08-2013 8:25 AM
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
Hy Lindsey
try following reports:
/UI2/INVALIDATE_GLOBAL_CACHES
/UI2/INVALIDATE_CLIENT_CACHES
/UI2/DELETE_CACHE
/UI2/DELETE_CACHE_AFTER_IMP "<- This one is mentioned to be executed after an upgrade - i execute always with the 3 others.
Kind regards,
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vishnu,
Sorry to hear you're having such issues!
First to check: you have run transactions /IWFND/CACHE_CLEANUP and /IWBEP/CACHE_CLEANUP? Run them both, for all models (don't specify a model)
Then check that your browser cache is clear (I assume you are using google chrome) - open up an incognito window, and make just a $metadata call to the gateway service, before doing anything else. This sometimes "pushes through" the backend cache clearning (at least I have found on some systems this is the only way to get the updated metadata in the application)
http://.......sap/opu/odata/sap//SERVICE_NAME/$metadata
Once you have tried this, if you still don't have the new model try setting an external breakpoint in the DEFINE method of your MPC_EXT class. Once you hit it jump up (out of the current method, and to the previous in the call stack) - I can remember how many "jump up"'s you have to do, but eventually you will find a flag which is set to X. Clear the flag in debug, and then it will use the newly loaded metadata. (sorry I can't be more specific... this is all from memory!)
Have you made sure that you are pointing to the right gateway client? Try explicitly specifying the client in the URL. (In case your gateway box points to different system aliases for different clients - something I have used before)
Let me know how you get along
Lindsay
Hy Vishnu,
turning off the sicf service won't help. fiori apps are using the fiori sicf service to get the application sources and so on. only fiori like applications need an own sicf service.
we had some similar issues and reverse engineered an existing fiori application and found out, that fiori apps did not need an own index.html to run properly.
Kind regards,
Michael
Hi All,
I am also facing same kind of issue.
I took copy of SRM Shopping Cart Standard app and done UI changes on that. But I am not able to see my changes.
We have tried below approaches to clear the cache, but not able to see the code changes in the browser.
1) Clearing the browser caches
2) Cleared server cache (/osmicm)
3) Ran the /UI5/RESET_CACHEBUSTER on se38
4) Added /sap-ui-cachebuster/sap-ui-core.js in the index.htm to clear the cache
5) /IWFND/CACHE_CLEANUP
6) data-sap-ui-appCacheBuster="./"
7) Disable browser cacheing
Please help move forward from this.
Thanks & Regards,
Srinivas.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.