I have a custom table that has an associated table maintenance generator. The table is being maintained through SM30, whereby the entire table gets locked even if a single user tries to modify data.
My current requirement is to change data in the table by creating a program. The program should have the capacity to unlock the table (if a user is making changes to it through SM30), so that any no of users will be able to update the table at any time. The program should generate a view similar to that generated by means of SM30 (for which i have done using VIEW_MAINTENACE_CALL and is working fine), unlock the table if it is already locked, allow multiple users to make changes at any time.
Please suggest as to where will it be appropriate to dequeue the table. I tried dequeuing in the events of the table, PBO of the screen, in the program, but nothing works. The table gets locked in some standard programs.