Periodic Schedule failures due to locked objects

We are periodically encountering issues with nightly schedules against BW Bex universes.  Some schedules will fail with the error "A database error occured.  The database error text is: Error getting variables for cube (Cube\Query name) (catalog cube): Object requested is currently locked by user (user) (WIS 10901).  This doesn't happen all the time and we can't reproduce it on demand.  We have checked st22 for any further explaination and there is no record of anything.  We have already applied Note 1528921 which we thought would resolve the issue but that did not.  I have not found anything that points to the root cause of the issue.  Has anyone else come across this and resolved it?

Check also SAP note [1615620|https://bosap-support.wdf.sap.corp/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3030303136313536323026].

Similar Messages

  • Load failure due to lock

    Hello all,
    the loads into one of my cubes is failing consistently due to the error 'Object requested is currently locked by user BATCH'.
    Could you please suggest why this is happening ?
    The setting in the processing tab is 'PSA and data target in series'.
    Best Regards,
    Sanjay

    Two possibilities exist:
    - You are still loading previous requests. (or deleting data from the cube)  As long as these processes are running it might be that the cube does not get uploaded.  Solution: wait till those are finished and try again.
    - A previous load resulted in a dump.  In this case normally your locks should be cleaned by SAP, but it happens that the objects remain locked.  If you are sure this is the case you can manually remove the locks with SM12. (or ask your BC people, if you are not authorized).
    Tom

  • Error: Component failed to run due to a Object Package scheduling failure

    Hi,
    BusinessObjects XI R2 SP 5, FP 5.1
    I am trying to schedule a group of reports (crystal reports) via a package where the output destination is to an email. At the event of execution of the scheduled time for the package; the package fails with the error: Component failed to run due to a Object Package scheduling failure. (Note: When scheduled individually it is successful and it was copied to the package from its original location, so there is no mistake in parameters or ODBC connections)
    When we go to the history and within the instance, we see that some of the reports have the status as success and some are failed with the same error message. Even though some of the reports are made to fail at the event of 'NO DATA'; what I do not understand is that how come some of the other reports (which contains data and which works when trying to run manually or scheduled individually) are failing.
    I would understand something is wrong when the entire package fails which is not the case here as say of 50 reports, 5 are successful and the rest fails with the same error.

    Sorry posted on the wrong section...
    Edited by: Deepu Philip on Mar 18, 2010 5:38 PM

  • Lock object issue

    Dear Experts,
    We are using the fn. Module "SD_SALES_DOCUMENT_ENQUEUE", to process a sales order with multi line item and to unlock the table, we are using "DEQUEUE_ALL", but for some reason, in the sales order processing when the system comes to next line item, the lock object is throwing an error, I'm not sure if this is due to the lock not being released on the order.
    1st item success
    2nd item failure
    3rd item success
    4th item failureu2026.not always the same pattern, but usually.
    Please suggest .
    Thanks
    -Amit

    Hi Zekeriya,
    I have tried with the query you mentioned but didnt get any output.STILL THE PROBLEM PERSISTS...
    SQL> select s1.username || '@' || s1.machine
    || ' ( SID=' || s1.sid || ' ) is blocking '
    || s2.username || '@' || s2.machine || ' ( SID=' || s2.sid || ' ) ' AS blocking_status
    from v$lock l1, v$session s1, v$lock l2, v$session s2
    where s1.sid=l1.sid and s2.sid=l2.sid
    and l1.BLOCK=1 and l2.request > 0
    and l1.id1 = l2.id1
    and l2.id2 = l2.id2 ; 2 3 4 5 6 7 8
    no rows selected

  • JDAPI Error: ORA-04020: deadlock detected while trying to lock object

    I have written a JDAPI program to perform read-only impact analysis and report any problems.
    The following error is occurring:
    "A deadlock among DDL and parse locks is detected.
    This deadlock is usually due to user errors in the design of an application or from issuing a set of concurrent statements which can cause a deadlock.
    ORA-04020: deadlock detected while trying to lock object /NSPC6/CHECK_FOR_FORM_CHANGE"
    The error refers to a procedure in a PL/SQL library.
    In one case the error occurred after my final "end of processing" message, which is followed only by a call to "Jdapi.shutdown()".
    Any ideas?
    Thanks,
    Neville Sweet.

    I have written a JDAPI program to perform read-only impact analysis and report any problems.
    The following error is occurring:
    "A deadlock among DDL and parse locks is detected.
    This deadlock is usually due to user errors in the design of an application or from issuing a set of concurrent statements which can cause a deadlock.
    ORA-04020: deadlock detected while trying to lock object /NSPC6/CHECK_FOR_FORM_CHANGE"
    The error refers to a procedure in a PL/SQL library.
    In one case the error occurred after my final "end of processing" message, which is followed only by a call to "Jdapi.shutdown()".
    Any ideas?
    Thanks,
    Neville Sweet.

  • Unable to delete Transport Request which contain locked objects

    Hi all,
    I need to delete  some unusable transport requests but as they contain locked objects, it's not possible to delete them. Release operation is just allowed. After releasing these transport requests, I can not find them any more in queue. Please help to find these  transport requests which are released and also provide a solution to delete instead of releasing them.
    Thanks in advance,
    Sanaz.

    Hi,
    Thank you for the reply.
    1. What do you mean by transport request , Shipment Request, Shipment Order or Tour.
    A. I mean requests which can be transported between SAP Systems using TMS (Transport Management System).
    2. What are the objects which has been locked and due to that you are facing this problem.
    A. There are diffrent object types. For examle some customizing have booen done or SAP Note correction has been implemented, ... Therefore some objects have been locked due to these operations
    3. Let's say if it's an freight Unit, then Pls confirm that System dump / error is not the cause for this.
    A. I have no idea about "Freight Unit".
    Thanks,
    Sanaz.

  • Lock object

    Hi,
    In a program to update the database table I need to lock the table Is this correct to use enqueue functional module before the modify & commit statement
    and dequeue functional module after
    modify & commit statement.

    Hi,
    We can use the function modules ENQUEUE_E_TABLE for locking tables and the function module DEQUEUE_E_TABLE for unlocking tables. With this method, we don't need to lock objects in order to lock the tables. In other words, any table can be locked/unlocked using these function modules.
    report zsubhas_enqueue.
    * testing the locking of tables...
    data:
    varkey like rstable-varkey.
    varkey = sy-mandt.
    * locking the tables............................
    call function 'ENQUEUE_E_TABLE'
    exporting
    * MODE_RSTABLE = 'E'
    tabname = 'MARA'
    varkey = varkey
    * X_TABNAME = ' '
    * X_VARKEY = ' '
    * _SCOPE = '2'
    * _WAIT = ' '
    * _COLLECT = 'X'
    exceptions
    foreign_lock = 1
    system_failure = 2
    others = 3
    case sy-subrc.
    when 1.
    message i184(bctrain) with 'Foreignlock'.
    when 2.
    message i184(bctrain) with 'system failure'.
    when 0.
    message i184(bctrain) with 'success'.
    when others.
    message i184(bctrain) with 'others'.
    endcase.
    * unlocking the table...............
    call function 'DEQUEUE_E_TABLE'
    exporting
    * MODE_RSTABLE = 'E'
    tabname = 'MARA'
    varkey = varkey
    * X_TABNAME = ' '
    * X_VARKEY = ' '
    * _SCOPE = '3'
    * _SYNCHRON = ' '
    * _COLLECT
    Regards
    Sudheer

  • Lock Object error during batch load

    Batch load was delayed about an hour. First error message in the Server Log said "Object is already locked by user""Error 1053010 processing request [Lock Object]-Disconnecting"Then it went through a series of "Object locked by user admin" and "received client request: create Temporary Object(from user admin)"It did this several times until connection.Although from time to time we have had problems with Objects getting locked and preventing maintenance in the Application Manager. This is the first time that is has prevented a batch load. Does anyone know what could have triggered this during the load process?

    This happened to us a lot, I think it's due to people opening objects, then letting their session time out, leaving a phantom lock.We solved the problem by calling the UNLOCKOBJECT function before any dimbuilds. 99.9% of the time this raises an error, "..object x is not locked..", but the rare time that the otl is inadvertently locked, it prevents the script from failing.<br><br>HTH,<br><br>Jeff McAhren<br>Dallas, Texas<br><br>ex to unlock the outline for app/db flash:<br><br>UNLOCKOBJECT 1, "FLASH" "FLASH" "FLASH"

  • Logon failure due to an internal error

    Hi,
    We have installed XI 3.1 SP3 (plus fixpacks) on a server and I am trying to access Web Intelligence on the client machine. I get the error "Logon failure due to an internal error." Any ideas what the problem may be?
    I can login into Web Intelligence when on the server directly using remote desktop. I am on SP3 on the client machine but may not be on the same level for fixpacks - will check. Could that be the problem?
    I can access the CMC from the client machine.
    Thanks

    Hi All,
      I'll start by describing the basic logon connections made by all the client tools when connecting to a Business Objects CMS.  From this hopefully it will help resolve the kind of issues described here.
    ------------------Background------------------
      The CMS has a port number (6400).  This port number is actually the port number of the name server.  This name server stores the name, type of server, hostname and port for all the BusinessObjects servers that exist in the cluster.  Whenever a program (such as a client tool) needs to know how to connect to a particular server, the name server will reply with the hostname (or IP) and port number to connect to.  When each Business Objects server process starts it will register with the name server and tell it what its connection info (hostname and port) are.
      In the case of a client logon it will first connect to the name server and then request the information to connect to the CMS service - (note that the name server and the CMS service are two logicial and seperate functions that the CMS process performs).  The CMS service actually runs on the request port of the CMS.
    ------------------Cause of Logon Failures------------------
      If you have no explicitly configured it, the hostname returned for connection could be the fully qualified name OR the short hostname of the machine and the port number will be random (and change each time the process is started).  The client ALSO needs to be able to connect to the hostname and port returned by the name server to continue processing.  If it can't then you will receive a logon error - in designer/desktop intelligence this will appear as a 'Transport Communication Error' in the deatils of the error message.
    ------------------Example------------------
      You initially connect to boeserver.mycomp.com:6400.  boeserver.mycomp.com is a DNS name that the client computer can resolve and the port 6400 is open through the firewall.  The client connects to the name server (within the CMS process) and requests the connection information for the CMS services but these have not been explicitly set in the CMC->Server->CMS->Properties page.
      The response from the nameserver might be to connect to the short name of the host: boeserver on port 54393 (or some other random port number).  You will get a logon error if EITHER the hostname boeserver cannot be resolved (which can be quite common when the boeserver machine is in a different subnet) OR there is a firewall blocking the connection port (54393 in this case).
    ------------------Resolution------------------
    Go to the CMC->Server->CMS->Properties page.  Here there is a section where you can specify the hostname with with each business objects server will give as the hostname (or IP address) and port (request port) that it can be contacted on. In the example below I have said that it should be contacted on the fullyqualified name and on port 6401.  Again 6401 would need to be open through the firewall.
    No two servers can have the same request port.  As you can see in the screenshot I have specified to connect to the CMS service on 6401 using the fullyqualified hostname boeserver.mycomp.com and finally that the name server port is the default 6400.
    As mentioned previously there may be also other BOE servers that similar settings are required for, depending on the actions you are performing - e.g. IDT and designer need access to the input file repository server to input/export universes, WebiRich Client also should have access to the Output File Repository Server.  Client tools should also have access to the Adaptive Processing Server that is running the Client Auditing Proxy Service so that any actions are audited.
    One extra thing that can cause a block on the port number, other than a regular corporate firewall is the security on the server machine itself (e.g. the Windows firewall on the server can block incoming requests if there is not an expection created.
    Regards,
    Graham

  • Is it possible to get locked objects in passed time?

    Hi,
    I would like to get locked objects in passed time. The oracle version is 9i.
    For example,
    Can I get a list locked objects five days ago? Because I would like to keep locked objects statistics?
    Does these information stored?
    regards,

    Hi,
    your best shot is ASH (active session history). It contains information about active sessions, their wait events, wait times, blockers, objects accessed, SQL running etc. For recent events you may query V$ACTIVE_SESSION_HISTORY, if you are interested in older data then you can try
    looking in DBA_HIST_ACTIVE_SESS_HISTORY.
    There are many limitations when analyzing ASH data, such as:
    1) limited retention time
    2) periodic sampling (you won't be able to see anything that falls in between snapshots)
    3) bias towards longer events
    etc.
    so you need to be careful when analyzing these data.
    Best regards,
    Nikolay

  • Configuring profile parameter for a table lock object

    Hi Experts-
      I want to set the 'wait time' (_WAIT) parameter as a profile parameter for a table lock object.
      I have created a lock object on a ZTable. I lock and unlock this object in exclusive non-cumulative mode through the enqueue and dequeue lock object function modules. These generated FMs are invoked via my custom function module.
      My function module will run in the background as a scheduled task in R/3. I execute the Enqueue FM at the start of the FM and keep the table locked until the last step finishes in my FM and then I Dequeue it. I want to have the processing wait and retry the Enqueuring FM at set intervals in case the one run doesn't finish entirely and a new run of this same job kicks off.
    Thank you,
    - Vik.

    Set the wait parameter = 'X'.  These means that if it encounters a lock, then it will wait a certain time for the lock to be released.  This certain time is a system value set by your basis team.  I don't imagine it being a very long time.
      CALL FUNCTION 'ENQUEUE_EZPIPHYINVREF'
           EXPORTING
                MODE_ZPIPHYINVREF = 'E'
                MANDT             = SY-MANDT
                _WAIT             = 'X'.
    Regards,
    Rich Heilman

  • Why do we lock objects in a transport ?

    hi,
    why do we lock objects in a transport in SE09 ? whats the benefit/impact ?
    thks

    Yes Thomas, today is my TRANSPORTS day
    and btw, just to confirm about locking, I have a transport moved from old system to the new one which contains this object say a function group!!.
    Now I modify this FG in the new system and include in a different transport.
    Due to some reason (errors encountered during transport movement), it is decided that the old transport is going to be moved from old system to new system once again. Will this impact the object that I have modified and included in the new request in the new system ?? Is it bcos of this I am asked to lock and continue my work on that ??
    hope i have not confused you

  • Table name for lock objects

    Hello,
    I'm working on an issue - a Z program updates a field in the sales order. However sometimes it fails due to the locking issues (users in VA02).
    Could some one let me know how SAP identifies a document being in change mode? Is there any table from which this info can be retrieved?
    This info will be useful for me to fix the issue..
    Regards,
    Krishna

    Hi,
    If you are trying to update a field in vbak, then call FM ENQUEUE_EVVBAKE to lock the table.
    and DEQUEUE_EVVBAKE to unlock the tabler after updation.
    if any other table try to find the lock object form se11. Then use the object in place of EVVBAKE.
    Thanks,
    Bindu.

  • Lock object is not working automatically

    Hi experts,
    i have a problem , A table is updated by a program which is used by multiple user . I have used lock function module 'ENQUEUE_E_TABLE ' and 'DEQUEUE_E_TABLE' for that . when updation section occurs first user which come first go through it and for rest users amessage cones 'table is locked by XYZ user' . When first completes the updation resr users is not updating automatically they stand at that position where message comes. How to solve this issue?
    Avadhesh Chandra

    Hi,
    We can lock the table before updating the entries. Two types of locks are there.
    1. To lock the entire table. Here when the table is locked by one program, another program will not be able to modify it.
    2. To lock the particular record only. Here when the record is locked by one program, the other program can modify records other than the one locked.
    For option 1
    Use the FM ENQUEUE_E_TABLEE to lock the table and FM DEQUEUE_E_TABLEE to unlock table.
    For option 2
    Go to SE11. There enter the name of your lock object and create it. Next screen you have to mention which field you want to lock.
    For more info. on LOCK OBJECTS go to
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
    If you want to lock the entire table, then use the FM said in option 1 in DO-ENDDO loop. 
    Run the loop till it gets successful (sy-subrc = 0)
    DO.
    *Call the FM.
    IF sy-subrc = 0.
        EXIT.
    ENDIF.
    ENDDO.
    If you want to just try some number of times rather than keep on looping then can use for eg: DO 100 TIMES.

  • No schedule lines due

    Hi Forum colleagues
    Scenario:
    I have created sales order with requirement class type ELVV (M.T.O), MRP was run based on sales order, production order is created, GR has been done.
    Goods have finally come in stock.
    Now when I try and do the delivery, it is giving me an error “No schedule lines due for delivery up to the selected date”
    Also in schedule line tab in sales order confirmed qty is showing as 0.
    I have a delivery date as 26.03.2008, however, I would like to carry out test run and do a delivery today.
    Could someone help me as what I am missing?
    Thanks
    Kalpesh
    **Points will be rewarded to suitable answer.

    Hello Padmanabhan
    Pls check the following:
    1) The ATP Rule i.e., Checking Rule + Checking group.
    While you are doing the ATP check the system will populate a screen showing the stock availability position. Here the confirmed qty will be zero.
    here pls click on the Scope of check button and check the ATP Rule. here you might have clicked the button " DO not check RLT" button.
    If u do this then the system will not calculate the next available date for the product and there fore the confirmed qty is always zero.
    the system will confirm the qty only if sufficient stock is available during the time of the sales order creation only.
    So pls Un mark this button ( if you have marked this ) and try and let us know the result.
    If this has solved your question. Close the Thread and reward
    points .
    With Best Regards
    Srini

Maybe you are looking for

  • DVD will not play on iMac in Bootcamp using Windows 8

    I am trying to play a DVD in Windows 8 being run with Bootcamp on my iMac (OSX 10.9). The DVD will not autoplay in Windows. You can see the DVD in the folder view, but can only access the Video_TS and Audio_TS files, not the actual playable DVD. Have

  • Looks like a great protection to scratches

    this protector looks very good to protect nano, what you think? http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=5812441886&sspagename=ADME%3A L%3ARTQ%3AUS%3A1&rd=1

  • NullPointerException in WebServiceProxy.getServiceAt

    Hi, I've created a .jsp file with the following code to access a WSDL file: WebServiceProxy ServiceProxy = WebServiceProxy.getServiceAt(new URL("http://myurl")); When running it under BEA WebLogic 6.1 SP1, I get this exception: java.lang.NullPointerE

  • Jsp file names lowercase?

    Hello, the Sun guidelines "Code Conventions for the JavaServer Pages Technology Version 1.x Language" state that jsp filenames should always start with a lowercase letter. Java class names start with uppercase letters. Can anyone tell me why jsp file

  • How to get Adobe programs running?

    I am running Adobe CC on a Windows 7 machine, 64bit. The machine has registry software (PC Mechanic) and McAfee antivirus. I have 8 gigs of RAM and a dual core CPU. When I run Adobe, I tend to also have a web browser like Opera running in the backgro