2021 Feb 06 6:34 PM
Hello,
I'm familiar with lock objects, but as far as i understand they are mostly used for table fields. How can i create a simple lock/unlock for a local report? I want just one user to be able to run a report via it's transaction at a time. If a second user tries to run the report while the first user is running it, i want to throw an error message. How can i manage this?
Hello,
I'm familiar with lock objects, but as far as i understand they are mostly used for table fields. How can i create a simple lock/unlock for a local report? I want just one user to be able to run a report via it's transaction at a time. If a second user tries to run the report while the first user is running it, i want to throw an error message. How can i manage this?
2021 Feb 06 6:47 PM
I think u r looking for this solution
https://answers.sap.com/questions/995021/report-one-user-execution-only.html
2021 Feb 06 6:49 PM
2021 Feb 06 7:36 PM
Yes, as you say, "they are mostly used for table fields". The word "mostly" is important, because technically speaking the locking is completely independent from database tables. It can be a DDIC structure. The tables are often used because it's more convenient, instead of creating a specific DDIC structure. You may create your own DDIC structure and that's it. Or even use an existing one like TRDIR for instance.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |