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!