Lock objects to allow 1 user to insert data at a time

Is it possible to Use lock objects to allow only 1 user to insert data into a  database table at a time.
I am creating Assets using "BAPI_FIXEDASSET_CREATE1".
To create "n" assets similar to the asset I use a DO loop in my program and call the BAPI. (Please refer number of fixed assets field in AS01).
I need to avoid other users from manually creating assets using AS01 while the BAPI is running so that the range of assets created is consistent ( without gaps )
Thanks and Regards,
Ashwin

<b>Lock objects</b> are use in SAP to avoid the inconsistancy at the time of data is being insert/change into database.
SAP Provide three type of Lock objects.
- Read Lock(Shared Locked)
protects read access to an object. The read lock allows other transactions read access but not write access to
the locked area of the table
- Write Lock(exclusive lock)
protects write access to an object. The write lock allows other transactions neither read nor write access to
the locked area of the table.
- Enhanced write lock (exclusive lock without cumulating)
works like a write lock except that the enhanced write lock also protects from further accesses from the
same transaction.
You can create a lock on a object of SAP thorugh transaction SE11 and enter any meaningful name start with EZ Example EZTEST_LOCK.
Use: you can see in almost all transaction when you are open an object in Change mode SAP could not allow to any other user to open the same object in change mode.
Example: in HR when we are enter a personal number in master data maintainance screen SAP can't allow to any other user to use same personal number for changes.
Technicaly:
When you create a lock object System automatically creat two function module.
1. ENQUEUE_<Lockobject name>. to insert the object in a queue.
2. DEQUEUE_<Lockobject name>. To remove the object is being queued through above FM.
regards,
srinivas
<b>*reward for useful answers*</b>

Similar Messages

  • Locking form when multiple users try saving data

    Hello,
    How can I prevent users from saving data in the same form at the same time? is there anything to lock a form once a user opens it for entering data??
    As if 2 users are having access on the same form, and accidentaly they opened the same form and selected the same combination of dimensions, if both of them saved data. The data will be overwritted by the latest one...and this is not the required scenario......we need to have it only possible for one user to open this form at a time.
    Is it possible?
    Thanks.

    Hi,
    As Kyle said, the issue would be only if both the users update/modify the same cell.
    However said that, is it possible that same cell would have different values, even if two different user enters the data at same time?
    Means data entered would have to be same even if it is entered by different users. (Just asking out of curiosity :) )
    Also process management can be thought off, wherein only current owner can fed data(free form).
    Hope this helps.
    Regards
    -SM

  • Is it possible to create a form that allows users to import data from an excel spreadsheet

    I have not been able to start my reading on scripting or other livecycle features to be able to try to figure this out but I was wondering if anyone else had ever created a form with this feature or had any ideas of how it would be possible.  Our company currently uses and excel form that would have a variable number of rows of data for each time it is filled out and we would be replacing it with an adobe form.  I would like to know if the users, who will be using the new adobe form in adobe reader, could have the capability to imort the lines from the previous excel form into the new adobe version.

    Hi,
    You can set up a data connection with an Excel spreadsheet. However for the data connection to work for users with Reader, you would need to Reader Enable the form with the LiveCycle Reader Extensions ES2.5 (server component). See here for summary: http://assure.ly/etkFNU.
    However if you are just trying to get the existing data into the form, you should have a look at some of Stefan Cameron's posts: http://forms.stefcameron.com/ (try a search). You can start a new form using the wizzard and select import from Excel. This will allow you to paste from your spreadsheet to a new form. This should help set up the data structure/schema, which you can then replicate in a new form. I haven't done this before, but it should be possible.
    Hope that helps,
    Niall

  • Allow user to insert varying size text in middle of paragraph, flow

    In the middle of a paragraph I would like to allow a user to add lines of text to fill in a blank. The text amount would vary in size. I have read about the subforms but I cannot get them to do what I want. The text has to follow the asterick and then the rest of the paragraph "compel the removal..." should follow, for a complete paragraph. Example of what I would like to do (see the * parts):
    The Company hereby insures the owner of the indebtedness secured by the mortgage referred to in paragraph _____ of Schedule _____ against loss which the insured shall sustain in the event that the owner of the easement referred to in paragraph _____ of Schedule B shall, for the purpose of *__________________ compell the removal of any portion of the improvements on the land which encroach upon said easement.
    * insert use against which insurance is to be given, e.g.,
    (1)Insurance limited to loss by reason of maintenance and repair of specific existing structure: maintaining and repairing the existing storm drain structure within said easement.
    (2)Insurance same as (1) plus enlarging or replacing existing structure: maintaining, repairing, enlarging or replacing the existing storm drain within said easement.
    (3)Insurance unlimited: exercising the right of use or maintenance of said easement.

    Hi, Can anyone please help me with me question above? I am completely lost and getting very frustrated with this program. I could really use some support. Are their other avenues of support? I bought a book but it didn't go into enough detail and it didn't teach me anything I didn't already figure out on my own. My main source of contention is subforms at the moment.

  • Default date field to today but still allow user to change date if needed.

    This is for a log that is usually accessed daily

    Hi Joey...,
    If you are looking for a formula that will automatically insert today's date in a cell, I don't think there is one tahat will do what you hope. TODAY() inserts todays date alright but it does that every time the cell updates. It would always be today's date.
    If you are entering your data using a form in iOS then after you tap the day button you are offered the choice of "Today" on the number pad. It always seemed to me that this should be the default screen for a date entry.
    This past week I finally discovered that if you choose a month on the date entry screen an go to the next field, the date field will populate with that month, the number of today and the year of today. So to enter today I only need to choose the month.
    I am sure you moved on with this, but I had to let someone know.
    quinn

  • Locking objects under same user ID

    I have an user id in a SAP instance and i have prepared a report in that. The user ID is shared and I want to lock my  report from others so that it does not get hampered. Is it possible?

    Hi,
    If you dont want others to change your report/prg apart from the user id which you have used to develop that report, you can set editor lock so that other's cannot do any changes to that report.
    Hope it helps you.
    Thanks
    KH

  • Allow user to select data, see the tables list but not view the table/view/stored procs definition

    Hi,
    May I know how to achieve the above ? Please enlighten me.
    TIA !

    So you want users to be able to see the name of the table, but not the definition? I am afraid that this is not possible. You can give users access to a table and hide the definition, but the name is considered part of the definition.
    Olaf mentioned VIEW DEFINITION. What he did not say is that when you have SELECT permission (or EXECUTE permission on a stored procedure), the permission VIEW DEFINITION is implied by the stronger permission. For this reason you need to explicitly DENY this
    permission as shown in the script below.
    In the script I create a user without a login and then impersonate a user. This is an excellent way to test permissions.
    [sql]
    CREATE TABLE tabbe (a int NOT NULL)
    go
    CREATE USER usse WITHOUT LOGIN
    go
    GRANT SELECT ON tabbe TO usse
    DENY VIEW DEFINITION ON tabbe TO usse
    go
    EXECUTE AS USER = 'usse'
    go
    SELECT * FROM tabbe
    go
    SELECT name FROM sys.objects WHERE type = 'U'
    EXEC sp_help tabbe
    go
    REVERT
    go
    DROP USER usse
    DROP TABLE tabbe
    {/sql]
    Note: rather than denying VIEW DEFINITION on an individual object you can leave out "ON tabbe" to deny the permission across the database.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Can i create a button that allows users to insert a line into a table if neede more space

    if so how in step by step please and thank you

    Hi,
    In Acrobat Form, you create a hidden Text Field which will only get visible on a Button click for inserting additional text.
    Regards,
    Anoop

  • Simple trigger to allow users to log on at certain times

    I am trying to create a trigger that will allow certain users to only log into the database between 12am - 4 am.
    Can I assign a trigger to a user or to a role or how do I parse it out. I dont think I have this trigger just right yet...
    Or can this be set in the database it self? I looked at the user accounts, profiles, roles and dont see anything about connection times.
    Oracle 10.2.0.4
    I want to create a trigger that will only allow the user to log into the database between 12 and 4 am.
    My next question is can I assign this trigger to the role that the user has been assigned to?
    I have pulled some similar code that I would like to use but do not know how to modify it to be either assigned to a user: npq or to the role ntq_ro.
    create or replace trigger logon_time after logon on database
    begin
    if to_char(sysdate,'HH24') between 4 and 24
    then
    raise_application_error(-20001,'Not allowed to logon database during this time');
    end if;
    end
    /

    yes, I would love to all by command line...
    Bere in mind I change to to test...
    SQL> CREATE OR REPLACE TRIGGER "SYS".LOGON_TIME_RESTRICTION_NPQ AFTER
    2 LOGON ON DATABASE
    3 BEGIN
    4 if to_char(sysdate,'HH24') between '14' and '16' AND USER='NPQ' THEN
    5 raise_application_error(-20001,'Not allowed to logon database during this time');
    6 end if;
    7 end;
    8 /
    Trigger created.
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    [oracle@kali ~]$ sqlplus
    SQL*Plus: Release 10.2.0.4.0 - Production on Mon Jan 10 14:41:02 2011
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    Enter user-name: npq
    Enter password:
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Alert log triggered errors:
    Mon Jan 10 14:41:10 2011
    Errors in file /u01/app/oracle/admin/NASARPT/udump/nasarpt_ora_17508.trc:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-20001: Not allowed to logon database during this time
    ORA-06512: at line 3
    /u01/app/oracle/admin/NASARPT/udump/nasarpt_ora_17508.trc
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1
    System name: Linux
    Node name: kali.mtsallstream.com
    Release: 2.6.18-164.6.1.el5
    Version: #1 SMP Tue Oct 27 11:28:30 EDT 2009
    Machine: x86_64
    Instance name: NASARPT
    Redo thread mounted by this instance: 1
    Oracle process number: 31
    Unix process pid: 17508, image: [email protected] (TNS V1-V3)
    *** ACTION NAME:() 2011-01-10 14:41:10.293
    *** MODULE NAME:([email protected] (TNS V1-V3)) 2011-01-10 14:41:10.293
    *** SERVICE NAME:(SYS$USERS) 2011-01-10 14:41:10.293
    *** SESSION ID:(54.49496) 2011-01-10 14:41:10.293
    Skipped error 604 during the execution of SYS.LOGON_TIME_RESTRICTION_NPQ
    *** 2011-01-10 14:41:10.293
    ksedmp: internal or fatal error
    ORA-00604: error occurred at recursive SQL level 1
    ORA-20001: Not allowed to logon database during this time
    ORA-06512: at line 3
    I also tried the setting for the to_num but it would not even compile:
    SQL> CREATE OR REPLACE TRIGGER "SYS".LOGON_TIME_RESTRICTION_NPQ AFTER LOGON ON DATABASE
    2 BEGIN
    3 if to_num(to_char(sysdate,'hh24miss')) between '000001' and '040000' AND USER='NPQ' then
    4 raise_application_error(-20001,'Not allowed to logon database during this time');
    5 end if;
    6 end;
    7 /
    Warning: Trigger created with compilation errors.
    SQL>

  • How do I make an inserted date and/or time automatically update in Pages 5.1?

    In the previous version, there was an option to automatically update date / time when you clicked on the inserted text. This option is no longer there for me, only the ability to change to format of the insertion or to change the date manually. Is there no longer a way to do this?

    Apple has removed over 90+ features in Pages 5
    Pages '09 should still be in your Applications/iWork folder.
    Trash/archive Pages 5 after Exporting your files to Pages '09 format.
    Then rate/review Pages 5 in the App Store and wait for Apple to get it out of beta.
    Peter

  • Inserting data takes long time

    Hi,
    when I am insterting data in my application it's took very long time. can anybody tell me where is the problem why it's taking very long time.
    Thanks in advance

    What kind of replication r u using?
    if it is streams then below metalink docs will help u.
    goodluck
    Subject:      Streams Performance Recommendations
         Doc ID:      Note:335516.1
    REFERENCES
    Note 298877.1 10g Streams Recommended Configuration
    Note 259609.1 Script to Prevent Excessive Spill of Message From
    the Streams Buffer Queue To Disk
    Note 273674.1 Streams Configuration Report and Health Check Script
    Note 290605.1 Oracle Streams STRMMON Monitoring Utility
    Note 238455.1 Streams Supported and Unsupported Datatyp

  • Does The Create Table Privilege allow to insert data ?

    Hi,
    I wish to know if it's possible that a user UserA allows another user UserB to create a table but does not allow him (does not allow UserB ) to insert data in a table UserB has created .If it's possible, I would want to know the commands to do that.
    Thanks .

    sys@LINUX>create user user1 identified by user1;
    User created.
    sys@LINUX>grant connect, resource to user1;
    Grant succeeded.
    sys@LINUX>create user user2 identified by user2;
    User created.
    sys@LINUX>grant connect, resource to user2;
    Grant succeeded.
    sys@LINUX>conn user1/user1
    Connected.
    user1@LINUX>create table t (id number);
    Table created.
    user1@LINUX>disc
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.5.0 - Production
    With the Partitioning, OLAP and Data Mining options
    user1@LINUX>conn / as sysdba
    Connected.
    sys@LINUX>grant create any table to user2;
    Grant succeeded.
    sys@LINUX>conn user2/user2
    Connected.
    user2@LINUX>create table user1.tab (id number);
    Table created.
    user2@LINUX>insert into user1.tab values(1);
    insert into user1.tab values(1)
    ERROR at line 1:
    ORA-01031: insufficient privileges
    user2@LINUX>select * from user1.tab;
    select * from user1.tab
    ERROR at line 1:
    ORA-01031: insufficient privileges
    user2@LINUX>delete from user1.tab;
    delete from user1.tab
    ERROR at line 1:
    ORA-01031: insufficient privileges
    user2@LINUX>update user1.tab set id=1;
    update user1.tab set id=1
    ERROR at line 1:
    ORA-01031: insufficient privilegesInteresting issue. Although user2 was able to create a table in user1 schema (because he has "create any table" privilege), he's NOT able to run ANY DML on that table (NO insert, update, delete and select)!
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • Allow users to save form data

    I am throughly confused about what I need, so I'm sorry, I'm sure this thread is a duplicate of several that are out there, but most of it seems to talk over my head.
    I have a VERY old version of Adobe Acrobat (version 5.0, yes gasp in horror).  I have the VERY old version of Acrobat Distiller (version 5.0).  I have a form that was created in these versions of Acrobat.  It works perfectly, even in the new version of Reader (v9), excpet that the form data can't be saved, not a shocker.
    What software do I need to purchase to get my old form to allow people to save the form data, WITHOUT them having to download any extensions for their Reader?
    I hope that makes sense.

    Hi,
    LiveCycle Reader Extensions ES is part of Adobe's server product and can be very expensive. In addition to the cost of the sever component, you need to pay a fee to Adobe to apply the reader extensions to each form. It is intended for government agencies and large organisations.
    The ability to reader enable a form from within Acrobat is intended for ad-hoc forms that won't be going out to a lot of people.
    When you design a form in LC Designer, you can specify the target version of Acrobat/Reader (in the File/Form Properties/Defaults). This allows you to check that all of the functionality that you build into the form, will work for your users.
    When you reader enable the form it will still work with the target version that you have set in LC Designer.
    When you reader enable with the full LC Reader Extension ES server product, you are basically turning ON features for users with Reader.
    However when you reader enable using Acrobat, you are turning ON features like allowing users to save data. But at the same time Adobe are turning OFF some features like data connections.
    It really depends on how many data processes you want with the form. If it is small then stick with Acrobat. If you are a large organisation looking to improve data collection and processing then you should look at LC Reader Extensions ES.
    Hope that helps,
    Niall

  • Where we use lock objects in our coding  like report

    what is the purpose of lock objects s? how we use them in real time? like in devoloping reports?

    Hi,,.
    Lock objects are use in SAP to avoid the inconsistancy at the time of data is being insert/change into database.
    SAP Provide three type of Lock objects.
    - Read Lock(Shared Locked)
    protects read access to an object. The read lock allows other transactions read access but not write access to
    the locked area of the table
    - Write Lock(exclusive lock)
    protects write access to an object. The write lock allows other transactions neither read nor write access to
    the locked area of the table.
    - Enhanced write lock (exclusive lock without cumulating)
    works like a write lock except that the enhanced write lock also protects from further accesses from the
    same transaction.
    You can create a lock on a object of SAP thorugh transaction SE11 and enter any meaningful name start with EZ Example EZTEST_LOCK.
    Use: you can see in almost all transaction when you are open an object in Change mode SAP could not allow to any other user to open the same object in change mode.
    Example: in HR when we are enter a personal number in master data maintainance screen SAP can't allow to any other user to use same personal number for changes.
    Technicaly:
    When you create a lock object System automatically creat two function module.
    1. ENQUEUE_<Lockobject name>. to insert the object in a queue.
    2. DEQUEUE_<Lockobject name>. To remove the object is being queued through above FM.
    Check these links
    Re: Lock Objects
    http://help.sap.com/saphelp_47x200/helpdata/en/ce/931bb5c79911d5993e00508b6b8b11/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/e1/8e51341a06084de10000009b38f83b/frameset.htm
    http://www.sapdevelopment.co.uk/dictionary/lock_enqueue.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/a2/3547360f2ea61fe10000009b38f839/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
    http://www.sap-img.com/abap/type-and-uses-of-lock-objects-in-sap.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
    Lock objects are use in SAP to avoid the inconsistancy at the time of data is being insert/change into database.
    SAP Provide three type of Lock objects.
    - Read Lock(Shared Locked)
    protects read access to an object. The read lock allows other transactions read access but not write access to
    the locked area of the table
    - Write Lock(exclusive lock)
    protects write access to an object. The write lock allows other transactions neither read nor write access to
    the locked area of the table.
    - Enhanced write lock (exclusive lock without cumulating)
    works like a write lock except that the enhanced write lock also protects from further accesses from the
    same transaction.
    You can create a lock on a object of SAP thorugh transaction SE11 and enter any meaningful name start with EZ Example EZTEST_LOCK.
    Use: you can see in almost all transaction when you are open an object in Change mode SAP could not allow to any other user to open the same object in change mode.
    Example: in HR when we are enter a personal number in master data maintainance screen SAP can't allow to any other user to use same personal number for changes.
    Technicaly:
    When you create a lock object System automatically creat two function module.
    1. ENQUEUE_<Lockobject name>. to insert the object in a queue.
    2. DEQUEUE_<Lockobject name>. To remove the object is being queued through above FM.
    Lock objects are use in SAP to avoid the inconsistancy at the time of data is being insert/change into database.
    SAP Provide three type of Lock objects.
    - Read Lock(Shared Locked)
    protects read access to an object. The read lock allows other transactions read access but not write access to
    the locked area of the table
    - Write Lock(exclusive lock)
    protects write access to an object. The write lock allows other transactions neither read nor write access to
    the locked area of the table.
    - Enhanced write lock (exclusive lock without cumulating)
    works like a write lock except that the enhanced write lock also protects from further accesses from the
    same transaction.
    You can create a lock on a object of SAP thorugh transaction SE11 and enter any meaningful name start with EZ Example EZTEST_LOCK.
    Use: you can see in almost all transaction when you are open an object in Change mode SAP could not allow to any other user to open the same object in change mode.
    Example: in HR when we are enter a personal number in master data maintainance screen SAP can't allow to any other user to use same personal number for changes.
    Technicaly:
    When you create a lock object System automatically creat two function module.
    1. ENQUEUE_<Lockobject name>. to insert the object in a queue.
    2. DEQUEUE_<Lockobject name>. To remove the object is being queued through above FM.
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
    GO TO SE11
    Select the radio button "Lock object"..
    Give the name starts with EZ or EY..
    Example: EYTEST
    Press Create button..
    Give the short description..
    Example: Lock object for table ZTABLE..
    In the tables tab..Give the table name..
    Example: ZTABLE
    Save and generate..
    Your lock object is now created..You can see the LOCK MODULES..
    In the menu ..GOTO -> LOCK MODULES..There you can see the ENQUEUE and DEQUEUE function
    Lock objects:
    http://www.sap-img.com/abap/type-and-uses-of-lock-objects-in-sap.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
    Match Code Objects:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
    http://searchsap.techtarget.com/tip/0,289483,sid21_gci553386,00.html
    See this link:
    http://www.sap-img.com/abap/type-and-uses-of-lock-objects-in-sap.htm
    Lock objects are used to synchronize access to the same data by more than one program.
    General information about the lock mechanism.
    You can synchronize access by several programs to the same data with a logical lock mechanism. This lock mechanism fulfills two main functions:
    A program can tell other programs which data records it is just reading or changing.
    A program can prevent itself from reading data that is just being changed by another program.
    When accessing data records, the records just being edited by other programs can be identified by the entry in the lock table. Such an entry for the lock must define a number of fully specified key fields, that is either a value is passed for the key field or this field is locked generically.
    To set locks, a lock object must be defined in the ABAP Dictionary. When this lock object is activated, two function modules (see Function Modules for Lock Requests) are generated with the names ENQUEUE_<lockobjectname> and DEQUEUE_<lockobjectname>.
    If data records are to be locked, you must call function module ENQUEUE_<lockobjectname>. The values of the key fields that specify the records to be locked are passed for all the tables contained in the lock object when the function module is called. There is a generic lock if a value is not passed for all the key fields. The function module writes the appropriate lock entry (see Example for Lock Objects). If another program also requests a lock, it will be accepted or rejected depending on the lock mode (see Lock Collisions). The program can then react to this situation.
    Locked data records can be unlocked by calling function module DEQUEUE_<lockobjectname>. The key values and the lock mode used to set the lock must be passed to the function module.
    Creating Lock Objects
    Procedure
    Select object type Lock object in the initial screen of the ABAP Dictionary, enter an object name and choose Create. The name of a lock object should begin with an E (Enqueue).
    The maintenance screen for lock objects is displayed.
    Enter an explanatory short text in the field Short text.
    You can then use the short text to find the lock object at a later time, for example with the R/3 Repository Information System.
    Enter the name of the primary table of the lock object.
    All other tables in the lock object must be linked with the primary table using foreign keys. There are also some restrictions on the valid foreign key relationships.
    Select the lock mode of the primary table in the field below it.
    The lock mode is used as the default value for the corresponding parameters of the function modules generated from the lock object.
    Choose Add if you want to lock records in more than one table with the lock object.
    A list of all the tables linked with the primary table using valid foreign keys is displayed. Select the appropriate table. The lock mode of the primary table is copied as lock mode. You can change this setting as required, for example you can assign the lock mode separately for each table.
    Similarly, you can add a table linked with the secondary table just added with foreign keys. To do this, place the cursor on the name of the secondary table and choose Add.
    If no lock mode is assigned to a table, no lock is set for the entries in this table when the generated function modules are called. You should not assign a lock mode if a secondary table was only used to define a path between the primary table and another secondary table with foreign keys.
    Save your entries.
    A dialog box appears in which you have to assign the lock object a development class.
    You can (optionally) exclude lock parameters (see lock objects) from the function module generation on the Lock parameter tab page. This makes sense for example if you always want to lock a parameter generically.
    To do this, simply deselect the Weight flag for the parameter. The parameter is not taken into consideration in the generated function modules. This parameter is then always locked generically.
    The name of a lock parameter is usually the name of the corresponding table field. If two fields with the same name are used as lock parameters in the lock object from different tables, you must choose a new name for one of the fields in field Lock parameter.
    You can define whether the function modules generated from the lock object should be RFC-enabled on the Attributes tab page.
    If you set the Allow RFC flag, the generated function modules can be called from within another system with Remote Function Call.
    If you permit Remote Function Calls for an existing lock object, you must ensure that the generated function modules are called from within an ABAP program with parameters appropriate for the type. You should therefore check all programs that use the associated function modules before activating the lock object with the new option.
    Choose .
    Result
    When you activate the lock object, the two function modules ENQUEUE_<lockobjectname> and DEQUEUE_<lockobjectname> are generated from its definition to set and release locks.
    Regards
    Vasu

  • Saving a lock object

    hi every body,
    I am trying to creat a lock object in se11, but after i gave the respective primary and secondry table , when i am trying to save the lock object to the user defined package , it is saying that "ENQU E_LOCK" can not be assigned to package "ZMOUNI".
    Please help me out.
    Thanks in advance,
    regards,
    mouni.

    Hi,
    You can assign a development class/package to save your lock objects.
    I think in this case , you are trying to assign the lock objects to a local dev. class which will not work.
    Hope this helps!
    Sandeep

Maybe you are looking for

  • Okay, I have a problem that neither Apple nor Audible can figure out.

    I have around 12 audiobooks purchased from Audible.com in my iTunes and thus synced to my iPhone 3G. For some reason, the last few books that I have downloaded keep copying/reloading to my iPhone every time I sync. It's the same books over and over a

  • Cropping of sides of my video image with matrox mini

    Hey everyone, I'm wondering if anyone else is having the same problem I am with a Matrox mini to Dell HD monitor set up. The side edges of my image are getting just slightly cropped off. I do have the monitor set to 1:1 and the external video setting

  • Will Photoshop Elements Premiere 11 for Windows work on Mac?

    I bought Photoshop Elements Premiere 11 for Windows download from Dell, registered it with Adobe and downloaded it onto my Mac. But it won't open up without the right application. What application? And where do I get that? Or do I need some patch so

  • Putaway Strategy I: addition to existing stock

    Hi, I've set the storage type search sequence C01 as follows: 1st storage type: H01: (putaway strategy: I, mixed storage; addition to existing stock; capacity check method: 4) 2nd storage type: J01: (putaway storage type: C: open storage) But the pro

  • Program to insert message types in transport

    Hi, Just wondering if there is any SAP standard program to insert message type in transport.I know there is program to include IDoc type and its segments in transport(Program RSEREPA3).I have lot of custom message types and I want some handy tool for