Skip to Content
Former Member
Jul 03, 2007 at 08:43 AM

Function module to lock a DP Planning Area


Hi gurus,

We have a macros in DP that will be executed in background. While these macros will be runnning we want to lock another Planning Area, to avoid that somebody changes the values. Our idea is to have a backgournd job with the following steps:

- Lock planning area A

- Run macros in planning area B

- Unlock planning area A

I was trying to do so using the FM ENQUEUE_/SAPAPO/E_PAREA and DEQUEUE_/SAPAPO/E_PAREA, but until now it only works for SNP Planning areas, and not for DP PA. Does anybody know what FM can I use to lock a DP planning area?

Thanks a lot in advance!!