Skip to Content

Lock Activity using ABAP

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

Add a comment
10|10000 characters needed characters exceeded

  • Hi Mathias,

    How is the call being made from your UI to WBS/NWA in SAP? Is it an RFC or a web service being called in the back-end to fetch the data and then user makes the changes?

    If it is one of the two, the system will automatically lock the SAP objects while a user is performing his changes..

    Can you please check with your technical team on the interface used and what code is written..

    regards

    Sammar

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.