cancel
Showing results for 
Search instead for 
Did you mean: 

Lock an app

Szczerbowski
Active Participant
0 Kudos

Hi,

In SAPGUI it's fairly easy to lock a tcode (for example for month-end closing).

I was thinking of a way to achieve the same with UI5 apps.

Due to caching I am not sure how well that can be done in the app itself, for the moment we're thinking to actually deactivate odata service.

Any hints?

Accepted Solutions (1)

Accepted Solutions (1)

Szczerbowski
Active Participant
0 Kudos

We're deactivating a service, and in SICF we have a custom page on 403/404 error with a bit of HTML explaining why.

Answers (1)

Answers (1)

karthikarjun
Active Contributor
0 Kudos

Hi Michal- Yes you can lock your application by using the popup. Here I have some idea to do, If it is good use this idea.

1. onInit life cycle hook - Check the current week( By using service or JS ). If it is comes under lock period, open one popup and tell them this app got locked because of month end.

PopUp: inside popup we have afterClose event, use that event to navigate the fiori home page. So that user can't able to login the webapp.

I hope it is an easy way to lock your app with correct information to the end users.

Regards,

Karthik A

Szczerbowski
Active Participant
0 Kudos

Thanks but it's a decision on a date, so it could be 2nd or 5th day of the month. Comes from the system then.

I know it can be programmed, but for example with WDA app it was as simple as deactivating a service and setting a 'non-available' error redirect.