Hi Experts,
I am trying to develop a report to lock/unlock the planning area while the DP batch jobs are running. I am using the function modules /SAPAPO/TS_DM_LOCK_UNLOCK for this purpose. This is working while executing individually and while calling from the report as well. The problem I am facing is that when the locking report is executed and if that session ends, the planning area also getting unlocked. So in the process chain, after executing the locking report and the DP job starts executing, the Planning area is unlocked. I have seen other discussions also about the same problem, but couldn't find any solution for this. Please help.
Thanks,
Krishna