on 10-04-2006 2:50 PM
hi together,
i have following problem:
i have a bpm which makes an rfc to a database. if a process touch the database i want that the database is locked for other instances of this BPM or other bpms (integrity). after successful working of the process in the bpm the barrier will be lifted by the successful process.
now, is it possible to "close" a barrier that no other process can modify the data (mutual exclusion)? how can i manage this? how can i open this barrier? and how can i manage a aborting of a process within the critical section (within the closed barrier)? how can i open the critical section if the process is canceled?
thanks a lot
alex schramm
Hallo Alexander,
it should be possible. SAP R/3 provides a mechanism to lock/unlock (ABAP: enqueue/dequeue statement) data (entries in DB tables).
Depending on the amount of table entries you could lock all the entries.
A workaround could be to lock a dummy entry.
In this case, your RFC has to look,. if the dummy entriy is locked. When YES: your RFC should inform the sending BPM.
Regards Mario
Hope this hepls.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.