Skip to Content

How to allow a single instance of a web dynpro (abap) application?

Hi,

Is there some way to enable only a single instance of web dynpro application at the same time?

Thank you.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Sep 15, 2017 at 02:40 PM

    Not such a simple question. Define "single instance"?

    Same user same system/browser, same user different systems, same system different users, different users different systems?

    Then use any locking/tracking mechanism you like to catch the scenario you're trying to prevent. Lock objects, Z-table, cookies, ...

    Then also consider that sessions are not 'connected' as such, so WD cannot detect what the user is doing. When the user goes to lunch have they closed the browser? Are they starting again or do they still have another tab open?

    So the answer is even more complex than the question. Generally a WD app should be designed as if it were stateless in order to avoid this need in first place.

    Add comment
    10|10000 characters needed characters exceeded