• ABAP Online Training @ $50

    Now you can learn ABAP by watching and listening video classes by experienced consultant.

  • ABAP Tutorials N Materials

    Read, Surf and Download useful ABAP tips, tutorials, code and download many eBooks and documents free

  • Latest ABAP Job in India

    Get all latest opening for SAP ABAP and related jobs, vaccancies across India and apply for the same.

    Tuesday, June 26, 2012

    In a simple language when multiple people try to access a same record in SAP, we can restrict others and allowing only one person to access the data. This can be achieved by lock objects.

    Lock objects check in runtime whether anyone is using the same data, if so no one else can access the same unless first user came out of that data. This secures the data access.

    There are mainly Three Types of locks
          Shared Lock (Read lock)
          Exclusive Lock (write lock)
          Exclusive but not Cumulative Lock

    Note:  By default lock objects are shared lock.

         When you create a lock object, the system automatically generates two  function modules with the names ENQUEUE_<lock object name> and DEQUEUE_<lock object name>.You can then set and release SAP locks in your ABAP program by calling these function modules in a CALL FUNCTION statement.

    You can create a lock object from SE11 transaction by selecting the Lock object radio button. The name should always start with "E".
    Easy2learnabap.co.in @ 2012 All product names on this web site are trademarks of the companies that own them .

    Easy2learnabap.co.in is not affiliated with SAP AG in any way. SAP AG is the registered trademark holder of SAP, SAP R/3, mySAP, ABAP, xApps, NetWeaver, and other proprietary terms.

    The technical information on this site is verified to the greatest extent possible, however, any information found on this site is used at the site visitor's own risk. All the tutorials are collected from various sources, if anyone is having problem with the content, report this to us. We will take action accordingly.

    Easy2learnabap.co.in reserves the right to correct any errors or omissions in any portion of this site at any time without obligation.

    This website is created to teach people about ABAP technology. The Video contents provided in Premium service are completely owned by us and copyrighted.