Skip to Content
0
Jul 30, 2020 at 06:48 AM

Lock Activity using ABAP

48 Views Last edit Jul 30, 2020 at 06:49 AM 2 rev

Hi everybody,

We are using a Web Dynpro user interface for users to work with wbs elements and activity elements. They can open dialogues to edit those elements. Currently, if they open those elements by using the Web Dynpro UI, those elements are not locked. So, if someone else opens those elements in SAP GUI, the elements get locked. But the changes, the first user made, get lost, because he can't save those elements anymore.

How can I lock wbs elements and activity elements by using ABAP Code/BAPIs?

Thanks in advance!

Mathias