How to ensure locks on objects are released after one transaction

Hi,
While a program is performing successive operations over the same object, there can be a scenario that after the first operation is completed it may still have a lock over the object. This would result that the object is not available for locking to proceed with the second operation. Hence, the entire record processing would end up in errors. So how we can ensure that after the first operation the locks are released ?
Regards,
Ratheesh

Hi Bhaskaran,
Please note the Implicit locks set by the system will be deleted whenever the system finds a commit or rollback actions either implicitly or explicitly.
implicit release of locks takes place whenever there is a CALL SCREEN, LEAVE TO SCREEN,
SUBMIT PROGRAM, LEAVE TO TRANSACTION, CALL FUNCTION etc.
for more info Please go through the SAP LUW concept
Regards
Ramchander Rao.K

Similar Messages

  • How to find out which objects are at the end of the datafiles

    My Scenario is having a tablespace of 65G but the data is 5G and that is at the end of datafile for that we are not able to resize the datafile our though is to find out what are the objects at that end of datafiles and will either alter move <owner.tablename> move or alter index <owner.index> rebuld online.
    For that how to find out which objects are at the end of the datafiles.

    >
    My Scenario is having a tablespace of 65G but the data is 5G and that is at the end of datafile for that we are not able to resize the datafile our though is to find out what are the objects at that end of datafiles and will either alter move <owner.tablename> move or alter index <owner.index> rebuld online.
    For that how to find out which objects are at the end of the datafiles.
    >
    You may want to copy this and add it to your toolkit
    See 'What's at the End of the File?' in this Tom Kyte article from the Sept 2004 Oracle Magazine
    http://www.oracle.com/technetwork/issue-archive/o54asktom-086284.html
    And this AskTom blog shows you how to generate a script containing ALTER statements toresize your datafiles to the smallest possible. You can 'pick and choose' from the ALTER statements to do what you want.
    Then of course, you can use techniques from this article by Oracle ACE, and noted author, Jonathan Lewis
    http://jonathanlewis.wordpress.com/2010/02/06/shrink-tablespace/

  • How can I import songs which are filed basis one album/compilation as one folder?

    How can I import songs which are filed basis one album/compilation as one folder?
    i can drag and drop one folder which is a proper album into itunes under playlist. if i drag and drop two proper albums into itunes it is also ok but if itunes does not know my own compliations and i drag and rop my 3000 folders in one shot into itunes i get only one playlist containing all songs.
    pleased to hear if anybody know how i can avoid to do 3000 times drag and drop a folder into itunes.
    rgds, alexander

    Before you begin the import, edit the properties of the tracks to set the Album Artist to Various Artists and Part of a Compilation to Yes.
    For more info. see Grouping tracks into albums.
    tt2

  • How can I lock the object in my dock?

    Members in my family continue to accidently drag objects off the dock on my powerbook by accident.
    How can I "lock the dock"?
    Thanks.

    You can't. This is a real problem when you accidentally drag 300+ files onto an application icon but miss...
    Matt

  • Garbage Collection: how many objects are created after for loop?

    Please see the fallowing java code
    1 public class Test1 {
    2     
    3     public static void main(String[] args) {
    4          
    5          MyObj obj = null;
    6          for(int i=0;i<5;i++){
    7               obj = new MyObj();
    8          }
    9 // do something
    10
    11     }
    12 }
    so my question is How may objects are eligible for garbage collection at line no: 9 (// do something)?

    so my question is How may objects are eligible for
    garbage collection at line no: 9 (// do something)?It's impossible to answer that question since we don't know how MyObj is implemented.
    Kaj

  • How IT Resource and Resource Objects are linked?

    Hi All,
    I am new to OIM product and learning the basics. I have 2 questions.
    I am not able to figure out how an "IT Resource" and "Resource Objects" are linked?
    We always link "Resource Objects" and "Process Definition". How "Process Definition" picks the values provided in "IT Resource"?
    Thanks in Advance
    Jatin

    Hi
    I don't think "IT Resource" and "Resource Objects" are anyway linked with each other.
    "IT Resource" is something where you specify all the resources in the system which are not meant to be provisioned to users. Like proxy server or Email server in your organization.
    "Resource Objects" is a place where you define all the resources that you provision to users.
    This is my understanding, which might be wrong. I think someone more experienced user can give better answer to this question.
    -Kiran Thakkar

  • How to find out the objects are behind(not hidden) an image?

    Could you please advise me is it possible to find out if the texts (or) objects are behind (not hidden) an image (or) any tinted boxes using scripting via "illustrator cs3".
    Thanks for looking into this.

    Hi Maria,
    if an text or object are behind an another object, i think you need to test position of this text and his layer.
    for exemple:
    layers[0] a rectangular pathItems [100,100,200,200]
    if there is text or other object, it should be on layer[1] or [2] [3] ...[0+x] ( i didn't talk about sublayer, but it's same thing) and it should have same position than rectangular pathItems or included (x>100 && x<200 && y>100 && y<200) and it should have color.
    But in some cases, we will see the text if object is hollow / concave, and script will return "hidden"
    art.chrome

  • How to know the workflow object name assigned to a Transaction code

    Hi Friends,
    There is one workflow object assigned to one transaction code VKM1. How can i know the workflow object name assigned to that particular transaction. Can anybody help me?
    Regards
    shankar

    HI
    Please check t.code PPOMW
    Thanks & Regards
    Phaneendra

  • How to see Active customers that are having atleast one Sales Order?

    Dear Friends,
    How can we see all active customers in the system, means customers those are having atleast one sales order.
    How to see

    It depends on which role this customer might have on the sales order. If it's a Sold-to, then you can run a query by VBAK-KUNNR, otherwise VBPA table will have all other partner types (use POSNR = 000000 to see only the header-level partners). Most likely there will be a lot of records. You might want to run the query in batches or limit the selection. Then download the results to Excel and there you can delete the duplicates and get a list of the unique customer numbers.
    MCTE will help only if the corresponding info structure (S003) is being updated correctly. Also it has only sold-to customers.

  • How to add spatial information and property information in one transaction

    Hi All:
    I have a oracle spatial table and property table,they are joined by equal key fields.
    I don't know how to realize to commit the spatial information and property information in one transaction.
    How to realize it?
    Thanks in advance.
    zhimin

    through triggers

  • How can I know what objects are under specific tablesapce?

    Dear all,
    I want to find out how many tables are under "SYSAPPL" tablespace. How can I know that?
    Please advice,
    Amy

    Assuming you have appropriate privileges,
    SELECT COUNT(*)
      FROM dba_tables
    WHERE tablespace_name = 'SYSAPPL'If you don't have access to DBA_TABLES, you may be able to use USER_TABLES or ALL_TABLES, but that may miss objects that are in that tablespace that you don't have access to.
    Justin

  • How to ensure my windows & applications are on the moment I start my mbp?

    Besides setting my mbp to sleep, how can I ensure that whatever my opened applications and windows are the same when I turn on my mbp? Or setting to sleep is the only method?
    Thanks!

    I never turn my MBP off, just use sleep. Well I do turn it off when I travel but you know what I mean
    With using the sleep option, the computer starts up much faster and you have your apps just as you left them.

  • LVOOP challenge question: How is Memory managed when objects are data members?

    Background:
    I am working on a compact field point and am sensitive to memory usage.
    I would like to know hoe the labview Realtime compiler treats my code (It is a bit of a Black Box.
    My Class contains other objects:
    and then later in my code I use what I call Run Loops: Multiple Parallel loops executing various threads: Below.
    It also calls some of the classes Ancestor objects:
    My question is: does this approach make a second copy of the embedded(Included) objects.
    If so does anyone have any clever ideas about how to avoid this?
    Thanks in advance.
    iTm
    iTm - Senior Systems Engineer
    uses: LABVIEW 2012 SP1 x86 on Windows 7 x64. cFP, cRIO, PXI-RT

    tst,
    Thanks for the Link,  And the response.
    In the spirit of sharing ideas, if my application wasn't a pyramid of classes, it would be an easier solution:
    Use in-place structures, that way they won't be copied
    The hearteache is that when you do that, you lose access to the parent data and functions.
    Plan "b" is to convert the embedded objects to Refnums, That way only the Pointer is retained by the parent class.
    The Drawback is that they can be painful to code as a Data value reference read is required for each thread and may only be used from within the object. Refnums don't polymorph easily
    I have also unearthed some very odd compiler behavior.
    iTm L
    Plan "C" is to "Check out" the Object replacing it with a default. and hope the compiler doesn't allocate memory for it.
    iTm - Senior Systems Engineer
    uses: LABVIEW 2012 SP1 x86 on Windows 7 x64. cFP, cRIO, PXI-RT

  • How to ensure that the queries are in sync between Web browser and Bex

    Hi All,
    I am struck with this issue for more than a month.  Can someone help me in understanding this and resolving?  Thanx!!
    "Ad hoc reports showing in web browser but not showing in BeX, if added to BeX then appearing twice on web browser"
    Edited by: RAMABHOTLA SHANKER on May 21, 2009 2:09 PM

    Hi,
    There is no difference in queries elements between BEx and Web Browser, the adhoc queries/analysis/variants you create in web analyser doesn't get save back to BI server; its saving only in EP server.
    Where as if you save any query view in BEx analyzer can also be viewed in Web analyzer, thats the reason you are able to see both of them. But actually meta data for both the query views are different.
    Hope it clarifies.
    Regards,
    Surya.

  • How to add custom authorization object to a SAP standard transaction

    Hi All,
    I have a standard tcode IW22 (change PM Notification) and I would lock changing when some users modify the field Functional Location (field TPLNR).
    Since this field does not have an authorization object associated, I've tried to solve this problem with the following steps:
    - tcode SU20 - creation of new authorization field TPLNR with data element TPLNR
    - tcode SU21 - creation of  a new auth object in transaction SU21 with name ZPM and field (TPLNR, ACTVT and TCOD)
    - tcode SU24 - insert of new authorization field e check indicator (green)
    - tcode SU22 - check indicator - check (green)
    After this we have created a new role with PFCG and add transaction IW22; the new auth.ZPM was added manually.
    We have try to analyze log (ST01 trace) but it seems no check was made in the trace file.
    It seems new authorization object was not checked.
    My question is: "Is it possible to add a custom authorization object into standard transaction and implementing authorization check without writing abap code in exit or badi ?"
    Thanks
    Maurizio

    > My question is: "Is it possible to add a custom authorization object into standard transaction and implementing authorization check without writing abap code in exit or badi ?"
    >
    No .. not possible. The list of Auth. objects SAP proposed in SU24 for each Stnd. SAP TCodes are basically documentation of the Authority-Checks in the program for that TCode. The extra advantage of SU24 is to set the object status (means the proposal for availability in PFCG) among any of the four check indicators. So that we can provide our own value (customer specific values which are basically defined and separate from sap provided values) and reinforce the authorization concept of the organization.
    So you need to provide a Authority-Check for ZPM in the program of IW22 to make sure that the fields you want to be checked are really being checked during execution of the tcode.
    Regards,
    Dipanjan

Maybe you are looking for

  • Where can I download Adobe Connect 8.1.1?

    I need to install Adobe Connect 8.1.2 but first I need to upgrade Adobe Connect 8.0 to 8.1.1. Where can I download Adobe Connect 8.1.1? I have already downloaded Adobe Connect 8.1.2.

  • HP PD6400z Pocket Media Drive

    I have a HP PD6400z Pocket Media Drive. I want to know if it will work with an iMac? I'm trying to move pictures from iPhoto to the HP Pocket Drive.

  • Standard Infoset base Attribute list cretion.

    Hi Experts, I am facing an issue in EHP1 while creating an infoset data source base marketing attribute selection for country or any other standard field for infoset (CRM_MKTTG_BP_ADDR). The values are available while using CR7.0 and can be further u

  • Execute thread to jsp

    Dear all if want to to execute run() this method in jsp script how can i do it That is my run() class and i would like to outupt String roger into my jsp page public class MyThread extends Thread{ static Thread run;      public static run() throws Ex

  • HOW TO FIND PAY DETAILS USING QUERY

    Hi to Everyone, i have to write a query to find the basic, da, perpay paid to an employee for a month(ex:may) for this query which tables i have to link and use. PLEASE REPLY IMMEDIATELY URGENT