on 02-24-2015 2:59 AM
Hi,
I was wondering if anybody knows a way to pre-generate the NWBC menu for all users? We notice that the NWBC menu can take some time to generate the first time for a user and we have also noticed that we sometimes need to run /UI2/NWBC_DELETE_MENU_CACHE to sort out problems for users. Running this program forces a menu rebuild for everyone which can be annoying for users to wait for.
Does anyone know if there is a way to run a batch job (e.g. overnight) that would fill the NWBC menu cache, ready for users the next day?
Thanks,
Simon
Method /UI2/IF_NWBC_RUNTIME35~GET_NAVIGATION_TREES of ABAP class /UI2/CL_NWBC_RUNTIME35. Simply instantiate the runtime and call the method for the user(s). The method can be used to populate the SAP Menu, User Menu and Favorites caches.
Edit: note that if you want to run the program in the background, the NWBC runtime of course doesn't exist. If that is what you want to do, you will have to copy over the code from the ABAP class. In the end it's simply code that calls the standard PFCG function modules (which do not require a NWBC runtime) and stores the result in database tables (cluster and transparent). The NWBC runtime stores the cache also in the ABAP session but as long as it is in the database cache, it will be fast.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
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.