Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Lock z table for a particualr entry

Former Member
0 Kudos

HI experts,

In my application I have used a BAdI implementation in standard tcode MIGO. Now at the time of Good receipt against a purchase ordert i am taking all the entries with my required specifications in z table . These all entries will serve as my raw material in my aplication.

Now when my application can be run by several users at any time. So when i am running my application i will get raw material details for a particular entry from my ztable now these entries might get updated at the end of my application . So therefore i want no other application can take raw material detials for the same entris untill my first application complete. Can any one guide me how to achieve this scenario.

1 REPLY 1

Former Member
0 Kudos

You have to create lock object for your z table so that other application can not access the particular entry while some one is editing the entry.

http://help.sap.com/saphelp_nw70/helpdata/en/41/7af4c5a79e11d1950f0000e82de14a/content.htm