cancel
Showing results for 
Search instead for 
Did you mean: 

how to develop application lock like User managerment

Former Member
0 Kudos

I have a problem how to develop application lock like user management. When an administrator change the user information, another administrator get an message that the user is changed by another administrator. How to realize this function?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Check the [SAP Lock Concept|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/daeac909dd3020e10000000a42189d/frameset.htm]

and the [Lock Mechanism|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/cf/21eed9446011d189700000e8322d00/frameset.htm]

This is what you need.

Regards,

Olivier

Former Member
0 Kudos

But I need the Java lock method. I try the lock queue, but failed.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello,

This is called Deadlock management. i.e. to make sure two users doesn't update same datasource or table entry at one time, SAP checks this.

You can probably add an entry in the table which indicates the status of the record. also you can refer the programs and bapi's which are used.

Regards,

Gowrinadh

Former Member
0 Kudos

PS: we have two node instance in my netweaver service