Limit program runs
I need to limit the number of executions of a program, up to 4 runs simultaneously. More than 10 users have access for the program.
Is it possible? Can I do it using ABAP?
Naimesh Patel replied
You can achieve this by checking the Processes which are running on the server.
Call FM TH_WPINFO to get the information of the processes which are running.
From the output table, count the running processes which runs that specific report.
And if it is greater than 4 than give error to the User.