What is tcod db01 is for? wt actions to be taken

hi experts,
wt is the user of tcode DB01 and if we find oracle dead locks
wt action has to be taken?

Hi,
DB01: Exclusive Lock waits
The reason you have transaction DB01 is to monitor the database locks which are created when the work process does the actual write/delete on the database. DB01 allows you to see these locks and also allows you to identify deadlocks
Have a look into this link for detailed info about SAP lock and DB Lock.
http://help.sap.com/saphelp_nw04/helpdata/en/f4/71aa036c874c308c1a819f05321137/frameset.htm
Apart from the fact that DB01 shows Exclusive Lock Wait Situations and not locks themselves normally, the main difference between SAP-Locks and DB-Locks is that not every SAP-Lock has exactly one DB-Lock associated with it necessarily. It's similar to differences between SAP- and DB-DataDictionary. They're closely related, but when it comes to the details - worlds apart.
When a lock request comes from a user for a table, first the lock entry is made in SM12. The lock entry is made only when no other lock entries are present for that particular table.
To execute the lock request ( or the lock entry in SM12 ) a corresponding lock object is defined in ABAP dictionary. The lock object is nothing but, it contains the details on which table to be locked.
So when corresponding lock object is created, it has a series of lock modes assigned to them like, Write locks (X), exclusive write locks (E), Shared locks (S). The lock modes are shown SM12.
THis is definite indication that lock objects for defined for lock entries in SM12.
Regards
Aashish Sinha
PS : reward points if helpful

Similar Messages

  • What is Tcode for single delivery for all line items in PO

    Hi all,
    Sorry if it is a simple question, But I am from SD module. What is Tcode to create a single delivery documents for all line items in PO. I have 3 line items with Different materials having diffent quantities and there are different delivery dates and different delivery schedule dates. I need to create single delivery. Could you please tell me how to do it? What is the Tcode?
    Thanks
    Anil

    Hi,
    Inbound delivery T.code :VL31N,
    Regards,
    JS

  • What is Tcode for purchase order and purchse requisition.

    HI all
    What is Tcode for purchase order and purchse requisition.
    Thanks

    Hi Melanie,
    How are you trying to check for the PR number? Are you accessing it via Portal (IE) or the GUI?
    If you are trying to get the PR number for a SC through Portal. Then please follow the below process.
    Go to the SC > Related Documents tab
    The related Documents tab should have all the follow-on document number along with the type of document.
    If you are trying to get the PR number for a SC through GUI, then:
    Go to transaction BBP_PD in GUI > Give the Object Types as BUS2121 and the Object ID as the SC number and click on F8.
    Once you have opened the SC then scroll down till you get the Header Links and click on the line.
    This should display the document that is linked to the SC.
    Hope this helps.
    Regards

  • What is Tcode for display standard order.

    HI all,
    What is Tcode for display standard order.
    thanks

    hi,
    VA03 is the T-code for display of standard sales order.
      ME23n is the T-code for display of purchase order.
    Regards,
    Veeresh

  • What is Tcode to create a single delivery documents for all line itemsinPO?

    Hi all,
    Sorry if it is a simple question, But I am from SD module. What is Tcode to create a single delivery documents for all line items in PO. I have 3 line items with Different materials having diffent quantities and there are different delivery dates and different delivery schedule dates. I need to create single delivery. Could you please tell me how to do it? What is the Tcode?
    Thanks
    Anil

    Hi Anil
    For your 1st question , if the delivery date is same but he material and quantity are different also then both can be delivered . So you can combine those two materials into 1 delivery . what you said is true
    For your 2nd question , you said you have two line items in PO , but if you want combine them into 1 delivery document , then first of all as they are two different materials you cant combine , but if you have a 3 PO's for the one material only  then you can combine into one delivery by using VL10A
    Regards
    Srinath

  • What is SM62 Tcode is used for? and the consequence's for executing it?

    What is SM62 Tcode is used for? and the consequence's for executing it?
    Thank you,
    York

    Hi Les,
    You can goto this URL to understand more about events :
    http://help.sap.com/saphelp_nw2004s/helpdata/en/44/c079239d3756a2e10000000a1553f6/frameset.htm
    http://www.sapfans.com/sapfans/sapfaq/robert.htm
    About my experience working with events:
    In one of my BW Project: we were using AutoSys to do job scheduling (to run InfoPackages).
    To automate the loading process we created events for  each infopackage. Then in that Infopackage we used to select option "Start later in Background" and then select option "After Event". Then specified the event name and parameter.
    Then in the same infopackage we selected button "Subsequent Process" the in that seelct option "Trigger Events" Here you can have options to specify if this event is successful then what next event to trigger and if this event fails what next event to trigger.
    So this way we used to automate data loads.
    This was dont caz there was no process chains concept during that time. So good example of events and event based process are PROCESS CHAINS.
    Hope this helps !!
    Assign points if helps !!
    Regards,
    Naveen Rao Kattela

  • Program for Leaving Action..

    Dear All,
    We have created a leaving action with set of Infotypes and certain actions and we have to carry out this action for about 5,000 employees.
    Now user needs to have a certain program to carry out the action as it's not feasible to carry out manually for 5,000 employees.
    Now my qestions to you all is
    1. Do you have any Std Program which takes care of this
    2. IS their any Std Function Module/BAPI exists which can be used
    3. Do we need to write our own BTC/LSMW/etc
    Kindly suggest.
    FYI : I have already tried one program using the FM - HR_INFOTYPE_OPERATION but this FM is not working for Action - DELIMIT (LIS9) for various Info types so now wondering what to do next. Kindly suggest.
    Thanks and have a nice day ahead.
    Mit freundlichen Grüßen/Best regards,
    Mangalagi S V

    Dear All,
    Thanks to all those who have responded to this.
    Unfortunately I can't go for BDC also as I was told that they might add/delete certain info types for this particular action.
    In my program, I am reading table T588M for the action and taking all the infotypes and the related action into my own internal table, after that I am generating the dynamic internal table for each infotype and then reading the Infotype using HR_READ_INFOTYPE and proceeding for related operations using HR_INFOTYPE_OPERATION but this LIS9 was not working so I have to check out as Suresh suggested. Hope every things goes fine with my coding...!!, any way it looks to be big exercise and needs lots of testing.
    Thanks for your valuable inputs.
    Regards,
    Mangalagi S V

  • Report for Hiring Action Along with BASIC Pay

    Dear
    I have created a BDC for hiring action for which data is updated in infotypes 0,1,2,6,7,8,9,14,15,16,41,105,587,588 mentioned in the infogroup.
    Earlier we are  not creating entries in 0008 now we need to BASIC PAY  in the hring Action.
    What should be the best apporch.
    Either we create perner by giving infotype values 0,1,2. and put this values in internal table and then update other infotypes.
                     OR
    In a single fo we provide all the data related to infotypes by using PA40.
    Now record need to be created of few of additonal infotypes which is not part of hiring action infogroup like 19,21,22,23,185.
    Thanks & Regards,
    Ravi

    Thanks for your valueable comment.
    AS hiring action it is must to input values of infotype 0,1,2.
    So acccording to you firstly, i need to hire a person through bdc.
    So for next infotypes i need to do by PA30. But for this i need pernr which i created in first step.
    how it is possible to  get perner created and then go for one by one infotypes sepratley.
    Rav Jordan
    Edited by: Rav Jordan on Dec 14, 2011 7:15 AM

  • What is the user exit for automatic account determination in PO

    Hi Experts
       I ned to know  what is the user exit for automatic account determination in PO
    my client needs the document type to defines Account Assignment Category.
    choosen a document type Account Assignment Category is defined automatically.  you can't choose
    a wrong  Account Assignment Category from the drop down list.
    thanks form you help.

    If this is the case than why don't you use the Transaction variant
    SHD0: http://www.mortenhjorthnielsen.dk/Security/transactionvariants.htm
    If you have knowledge of Transaction variant then you can use SHD0 tcode and generate the transaction using default type and give that transaction to user instead of ME21N so they will not have the issue.
    The exact solution for your problem is as follows
    Go to Tcode SHD0 and enter the transaction variant
    In T code field enter ME21N and then enter the ZXXXX or the name you want to keep in transaction variant field and hit create button
    This will take you to ME21N transaction and here you just enter the data but make sure you enter the A/c which you want to default.
    Once you finish system will save this one as a variant
    Every time you hit or enter the pop up screen comes here you just hit enter and whichever data you want to default that you have to select in the Popup by checking the Box
    W content and output only for your case the field XXXXXXXX should be selected for W content and output only
    Make sure you have value 1 in contents field
    If not then restart the variant again and on the ME21Nscreen reselect the invoice field
    Later exit and save (save in the object which you can transport)
    Then from SHD0 transaction select GOTO create variant transaction and here you careate the tcode and use that tcode for ME21N (e.g ZTRAN - For specifix sto)

  • Problem for Struts action to insert multiple records

    I am writting a code for Struts action which inserting a single record to table A and multiple records to table B .The architecture that I applied is Struts+Spring+iBatis.The multiple records are come from a 10-rows table in the design.The name of each column element is same.The field name other than these are just single-row field.
    <tr>
    <td><input name="date" type="text" size="12" /></td>
    <td><input name="billno" type="text" size="8" /></td>
    <td><input name="desc" type="text" size="11" /></td>
    <td><input name="purpose" type="text" size="20" /></td>
    <td><input name="proName" type="text" size="6" /></td>
    <td><input name="trainingCost" type="text" size="5" /></td>
    <td><input name="travelCost" type="text" size="7" /></td>
    <td><input name="entCost"  type="text" size="5" /></td>
    <td><input name="miscCost" type="text" size="5" /></td>
    </tr> I am using three DTO objects to hold the data.claimArray is the ClaimDTO array that hold the multiple record insert to table B.claimdto is the object that hold the single field record to table A.claim_dtldto is the object that hold the single field record to table B.
    PK of table A and table B are claimNo and claimDtlNo respectively.claimNo is also FK of table B. HTMLUtil is just an API that I used it for type conversion.There will have two insert statements in iBatis xml, insertClaim & insertClaimDtl to insert data into table A and table B respectively.I not sure what went wrong in the code,the data is not inserted into db.Thank advanced for you guys help..
    This is the codes in Action file:
    public class InsertClaimAction extends SpringAction {
       public ActionForward execute(ActionMapping mapping,
                                     ActionForm form,
                                     HttpServletRequest request,
                                     HttpServletResponse response) throws Exception {
        // string arrays that store multiple values
        String [] date = new String[10];
        String [] billno = new String[10];
        String [] description = new String[10];
        String [] purpose = new String[10];
        String [] proName = new String[10];
        String [] trainingCost = new String[10];
        String [] travelCost = new String[10];
        String [] entCost = new String[10];
        String [] miscCost = new String[10];
        String staffName = request.getParameter("name");
        String claimMy = request.getParameter("monthyear");
        String department = request.getParameter("department");
        String designation = request.getParameter("designation");
        Double excrate =  HTMLUtil.str2double(request.getParameter("excrate"),0.0);
        Double grandTotal = HTMLUtil.str2double(request.getParameter("grandTotal"),0.0);
        Double totalRM = HTMLUtil.str2double(request.getParameter("totalRM"),0.0);
        Double totalFC =    HTMLUtil.str2double(request.getParameter("totalFC"),0.0);
        String fcName = request.getParameter("fcAbbr");
        if(request.getParameter("date") != null)
            date = request.getParameterValues("date");
        if(request.getParameter("billno") != null)
            billno = request.getParameterValues("billno");
        if(request.getParameter("description") != null)
            description = request.getParameterValues("description");
        if(request.getParameter("purpose") != null)
            purpose = request.getParameterValues("purpose");
        if(request.getParameter("proName") != null)
            proName = request.getParameterValues("proName");
        if(request.getParameter("trainingCost") != null)
            trainingCost = request.getParameterValues("trainingCost");
        if(request.getParameter("travelCost") != null)
            travelCost = request.getParameterValues("travelCost");
        if(request.getParameter("entCost") != null)
            entCost = request.getParameterValues("entCost");
        if(request.getParameter("miscCost") != null)
            miscCost = request.getParameterValues("miscCost");
          //initialize dto
        ClaimDTO claimdto = new ClaimDTO();
        ClaimDTO claim_dtldto = new ClaimDTO();
        ClaimDTO[] claimArray = new ClaimDTO[10];
        claimdto.setClaimNo(claimNo);
        claimdto.setStaffName(staffName);
        claimdto.setClaimMy(claimMy);
        claimdto.setDepartment(department);
        claimdto.setDesignation(designation);
        claimdto.setExcrate(excrate);
        claimdto.setGrandTotal(grandTotal);
        claim_dtldto.setClaimDtlNo(claimDtlNo);
        claim_dtldto.setClaimNo(claimNo);
        claim_dtldto.setTotalRM(totalRM);
        claim_dtldto.setTotalFC(totalFC);
        claim_dtldto.setFcName(fcName);
        for(int i = 0;i < claimArray.length;i++) {
            if(claimArray[i] != null) {
                claimArray.setDate(date[i]);
    claimArray[i].setBillno(billno[i]);
    claimArray[i].setDescription(description[i]);
    claimArray[i].setPurpose(purpose[i]);
    claimArray[i].setProName(proName[i]);
    claimArray[i].setTrainingCost(Double.parseDouble(trainingCost[i]));
    claimArray[i].setTravelCost(Double.parseDouble(travelCost[i]));
    claimArray[i].setEntCost(Double.parseDouble(entCost[i]));
    claimArray[i].setMiscCost(Double.parseDouble(miscCost[i]));
    //service
    ClaimService springservice = (ClaimService)getBean("ClaimService");
    springservice.insertClaim(claimdto);
    springservice.insertClaimDtl(claim_dtldto,claimArray);
    return mapping.findForward("success");

    Two things; you need to pass #number# as a form field and you
    need to pull the correct record out.
    Use this:
    <cfloop list="#form.fieldnames#" index="fieldName">
    <CFSET record = Evaluate("form.record_#number#")>
    </cfloop>
    Here's some example code:

  • What is the best technique for resetting a view?

    I was wondering what is the best technique for resetting the initial state of a view?
    I am creating a form and want to provide a reset button for the user.  I could write an initialize() method that my action handler calls, but I am wondering if the framework already provides this functionality in a more elegant way.
    If I write an initialize method, then I have to manually populate my fields with my context mappings in my initialize() code to mimic what happens automatically by the framework the first time the view is called.  This seems prone to error since this is duplicating the mapping logic.
    Michael

    Hi,
    Even though it boils down to the same logic, for consistency sake it is good to have the initialization logic coded in the inbound plug method and then to call the outbound plug on reset.This make more sense when you have multiple navigation possible to the same view through multiple inbound plugs.
    Else, have an initialization method.
    PS: check whether the reset() method of IWDContext make sense. This is helpful when you have remove dynamically added nodes and attributes.
    Thanks and Regards,
    Sam Mathew

  • Shared Services Console - User is not authorized for the action

    Hi,
    I have installed Essbase 11.11.3 and configured on Linux. I started EPM and then the Shared Services Console. I created a new group Poweruser and assigned a new user to it. I provisioned the group withall the rights of the admin. This all works.
    When I log on with the new user on the Shared Service Console and go to Essbase Studio Server and click on the Essbase Studio Server application it gives me the message:
    User is not authorized for the action
    This is the same message as I get under the user admin. Can anyone tell me what I can possibly do to make it work.
    The service for EAS is started properly. The one thing that is not configured is HBR.
    Patrick

    Hi,
    What are you trying to achieve, provision a user for essbase studio ?
    EAS is a separate product from Studio.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Source patching and track targeting, What is it mainly used for?

    Im reading adobe premier pro cc in a classroom book, and I still dont understand what source track and target track mean, or atleast what they are mainly used for.
    Why do people use it?
    In what work scenario is it mainly used in?

    ShooterNZ is right as far as Source Patching. It's intended chiefly for controlling which track(s) a clip lands on when inserted via shortcut, although it also affects behavior when dragging content to the timelines.
    Track targetting controls the Timeline's behavior for a variety of editing and selection actions. For example, the shortcut D selects one or more clips at the playhead. Try parking the playhead over two or more clips stacked in the Timeline, then target various combinations of tracks and see what happens when you press "D."

  • What is the best practice for AppleScript deployment on several machines?

    Hi,
    I am developing some AppleScripts for my colleagues at work and I don't want to visit each of them to deploy my AppleScript on their Macs.
    So, what is the best practice for AppleScript deployment on several machines?
    Is there an installer created by the Automator available?
    I would like to have something like an App to run which puts all my AppleScript relevant files into the right place onto a destination Mac.
    Thanks in advance.
    Regards,

    There's really no 'right place' to put applescripts.  folder action scripts nees to go in ~/Library/Scripts/Folder Action Scripts (or /Library/Scripts/Folder Action Scripts), anything you want to appear in the script menu needs to go in ~/Library/Scripts (or /Library/Scripts), script applications should probably go in the Applications folder, but otherwise scripts can be placed anywhere.  conventional places to put them are in ~/Library/Scripts or in a subfolder of ~/Library/Application Support if they are run by an application.  The more important issue is to make sure you generalize the scripts: use the path to command to get local paths rather than hard-coding them in, make sure you test to make sure applications or unic executables you call are present ont he machine, use script bundles rather tna scripts if you scripts have private resources.
    You can write a quick installer script if you want to make sure scripts go where you want them.  Skeleton verion looks like this:
    set scriptsFolder to path to scripts folder from user domain
    set scriptsToExport to path to resource "xxx.scpt" in directory "yyy"
    tell application "Finder"
      duplicate scriptsToExport to scriptsFolder with replacing
    end tell
    say "Scripts are installed"
    save this as a script application, then open the application pacckage and create a folder called "yyy" in the resources folder and copy your script "xxx.scpt" into it.  other people can run the app to install the script.

  • Parameter mapping for an action

    can anybody help me with this parameter mapping.
    how we can pass a parameter for an action.
    and how to use that parameter in the implemented coding.

    Hi sarbjeet,
    Rajat has correctly explained your requirement.
    Let me give you example.
    say when the User opens your application it shows a page with one drop down which conatins some values and a button. So If you want to get the value selected by the user on click of the button, then you need to associate a action with the button(which you can define in action property of the button and it will automatically create the method and you can check it in the implementation tab). Now you can write the code for getting the value from drop down in this method. after getting the value you can do what ever logic you want to perform like inserting it into database etc.
    Hope this will clearify logic. If you require the code then please let me know.
    Regards
    Narendra

Maybe you are looking for

  • When I open a pdf in Preview, why do the last several pdf's I've opened show up also?

    Using Preview v 5.5.3, Mac OS 10.7.5:  whenever I open a PDF, the program also opens 5-10 other PDF's I've opened in the past.  How can I stop this?

  • Tag selector not working in DW CS6 project

    Hi. I'm using DW CS6 on a Mac. I'm working on a new web project, which is an HTML template. I'm in Design view and want to use the tag selector to select a tag, but whenever I try to select a child tag in the path, the only element selected is the pa

  • Regarding flex module

    I am working in flex since last 7-8 months.I just want to know the main difference between swf loader and module loader as i was using swfloader previously but found module loader interesting.Plz help with proper explanation..And how i can make my ap

  • Publisher BI Publisher with OBIEE 11g start up

    Hi , Can anyone guide me on logging in to BI Publisher from OBIEE 11g Home . I tried login with my OBIEE administrator credentials (weblogic) , but its saying invalid login. It seems , somthing needs to be done on the user (roles , policies) .Current

  • Charged again for downloading a second time a film I have already paid for?

    Recently main computer crashed. iTunes films purchased not backed up externally. Have iTunes on another authorised computer - to recreate library of films have started to download same films a second time until I found I am being charged again. Is th