Skip to Content
0
Former Member
Nov 08, 2005 at 04:17 PM

Locking and Commiting - Service Master

34 Views

Hello - I am developing a custom transaction that acts as a sort of control panel for Service Masters. It allows the user to create, change, copy, and display Service Masters as well as their Classifications.

The transaction uses a BDC to perform the basic Service Master updates and a BAPI to perform the Classification updates.

Unfortunately, I am finding that in one environment I am able to create new Service Masters (SMs) and their classifications and then display the new SM to the user in Change mode; however in another environment I am able to create the Service Master, but when I try to create the Classifications or display the new Service Master in Change mode - it is not showing the new SM, but one that was created previously.

To retrieve the new SM I am using a Select MAX b/c the Parameter ID always contains %_1 rather than the newly created SM #.

I am thinking there is a locking or commit issue in the second environment but am not sure. Any thoughts on how to resolve the issue would be greatly appreciated!

David Mullen