Avg. DB Request Time in Update Task

Hi
In Service level report, Avg. DB Request Time in Update Task  shows more than 100000 ms and it is very high. I just want to know if we want to reduce then where shd i look ? We have sufficient Update ( v1, V2 ) process in system. We dont see any queue in SM13 tcode.
I checked ST03 -> work load analysis -> database  --> update V1/V2.
Can you tell me how do i reduce the db time for update ?
regards,
Rajesh Kokane

Hi Rajesh,
I understand that your average DB time is exhibiting more than ususal.
As per standards you can check as thumb rule like avg.DBtime should not be more that 40 % of the avg.Response time.
If any excess values shows in ST03N ,then you have to find out why DBtime for executing the request is taking time.
As you mentioned, for your case avg.DBtime for update task shows high value for this case you need to corner the problem so that you can look at what causes the DBtime high.
I have suggestion for how to look at the problem in DB perspective,
1.Check all the transactions data in ST03N and list down the tcodes which crosses the 40% of the avg.DB time of the avg.response time of the respective transactions.
2.Collect all the users for the most worst transations and see what is the task that is performing on the transaction
3.If possible make an appointment with the user and activate the trace in ST05 to look at the DBtime details and see if any strange happening at DB.Make a note on the Tables involved in your SQL trace and their details
Best Regards,
Shyam Dontamsetty

Similar Messages

  • Run Time of update task function module

    Hi
    Any body please tell me how to find out the execution time for a update task function module with in a user exit.
    thanks in advance
    saravanan

    Vimal,
    if the INSERT tries to insert an existing key, check for sy-subrc = 4 in the function module, raise an error (duplicate key) and the iupdate process is aborted - you will get express message.
    It might be better to
    first lock the table
    then check the existence of key
    then call update function (update process will unlock).
    Regards,
    Clémens

  • CALL fucntion update task

    why does it not allow me to set the import para for func module when atribute is set as update mode...

    Hi
    You can call it three times. It will be executed simultaneously ad the data which was there at the time of call will be visible in update task.
    For example
    CALL FUNCTION F1 IN UPDATE TASK
    EXPORTING
       P1 = W1.
    CALL FUNCTION F1 IN UPDATE TASK
    EXPORTING
       P1 = W2.
    CALL FUNCTION F1 IN UPDATE TASK
    EXPORTING
       P1 = W3.
    COMMIT WORK .
    It would execute 3 times in update task in the sequence above . You can even test in debugging - , put a break point on commit work. In debugging mode enable Update debugging in settings tab ( -> SAVE ) . Press F8 , another window of update task will open . Here BREAKPOINT -> AT FUNCTION -> <F1> . You will see that your code stops in the FM 3 times with different parameter values W1/W2/W3 .
    Cheers

  • Family sharing. i have set my wife up on family sharing and each time we try to download a book or an app, we are requested that i update the payment details. I have done this and we still cannot share.. what do i do or how do i update the payment

    family sharing. i have set my wife up on family sharing and each time we try to download a book or an app, we are requested that i update the payment details. I have done this and we still cannot share.. what do i do or how do i update the payment details to enable my wife to download

    Drrhythm2 wrote:
    What's the best solution for this? I
    Copy the entire /Music/iTunes/ folder from her old compouter to /Music/ in her account on this new computer.

  • Safari doesnt open, it gives request time out after updating it to ios leopard, safari doesnt open, it gives request time out after updating it to ios leopard

    Dears,
    I have a problem, each time i open any website from safari, and error pops up saying request time out!
    What can i do?

    You will need to restore your iDevice from the same computer that you most recently synced to.
    Read this: http://support.apple.com/kb/ht1212
    If you can't do the restore then you will need to try recovery mode.
    Read this: http://support.apple.com/kb/ht1808

  • Locking in update task

    Hi,
    I have a weird issue with locking during update task.
    I have a report, which enqueue a specific lock object in exclusive cumulative mode (mode E) with scope 2.
    Afterwards, I call FM in update task, which also enqueue exactly the same object in exclusive cumulative mode with scope 2. The FM is triggered after commit work has been executed.
    For some reason, the enqueue during the update task process fails (because object is locked by other owner).
    As I know, there shouldn't be any locking problem because the update task inherits the lock owner (as described in http://help.sap.com/saphelp_erp60_sp/helpdata/EN/7b/f9813712f7434be10000009b38f8cf/frameset.htm).
    Does anyone why does it occur? How can I solve this issue?
    Thanks in advance,
    Shai

    Hi,
    Thanks for the answer.
    Why is that?
    The lock is defined in exclusive cumulative mode, what means that the same lock can be requested by the same owner several times.
    This scenario works just fine in normal dialog process (with two sequent locks), but fails in update task.
    For your knowledge,
    Shai

  • What is Update Task Capability of a Function Module

    Hi Folks,
    My client wants me to create a function module with Update Task Capability.
    Can you please know what is this and how to use this? I am completely new to this Update Task part. So please guide me accordingly.
    Thanks in advance,
    Siddarth

    Hi Sir,
    Please have a look below to understand update task capability of FM.
    Plz do reward if useful
    Thankx.
    Why do we use this " In Update Task " ??
    The main update technique for bundling database changes in a single database LUW is to use CALL FUNCTION... IN UPDATE TASK.
    How do we Use ??
    A typical R/3 installation contains dialog work processes and at least one update work process. The update work processes are responsible for updating the database. When an ABAP program reaches a COMMIT WORK statement, any function modules from CALL FUNCTION... IN UPDATE TASK statements are released for processing in an update work process. The dialog process does not wait for the update to finish. This kind of update is called asynchronous update.
    What is the Use... ??
    Asynchronous update is useful when response time from the transaction is critical, and the database updates themselves are so complex that they justify the extra system load
    Real time scenario.
    Suppose a user wants to change an entry in a database table, or add a new one. He or she enters the necessary data, and then starts the update process by choosing Save. This starts the following procedure in the ABAP program:
    Firstly, the program locks the database entry against other users, using the enqueue work process (or the message server in the case of a distributed system). This generates an entry in the lock table. The user is informed whether the update was successful, or whether the lock could not be set because of other users.
    If the lock is set, the program reads the entry that is to be changed and modifies it. If the user has created a new entry, the program checks whether a record with the same key values already exists.
    In the current dialog work process, the program calls a function module using CALL FUNCTION... IN UPDATE TASK, and this writes the change details as an entry in table VBLOG.
    When the program is finished (maybe after further dialog steps), a COMMIT WORK statement starts the final part of the SAP LUW. The work process that is processing the current dialog step starts an update work process.
    Based on the information passed to it from the dialog work process, the update work process reads the log entries belonging to the SAP LUW from table VBLOG.
    The update work process passes this data to the database for updating, and analyzes the return message from the database. If the update was successful, the update work process triggers a database commit after the last database change and deletes the log entries from table VBLOG.
    If an error occurred, the update work process triggers a database rollback, leaves the log entries in table VBLOG, flags them as containing errors, and sends a SAPoffice message to the user, who should then inform the system administrator.
    The corresponding entries in the lock table are reset by the update work process.
    The system logs your request and executes the function module when the next COMMIT WORK statement is reached. The parameter values used to execute the function module are those current at the time of the call.
    a = 1.
    CALL FUNCTION 'UPD_FM' IN UPDATE TASK EXPORTING PAR = A...
    a = 2.
    CALL FUNCTION 'UPD_FM' IN UPDATE TASK EXPORTING PAR = A...
    a = 3.
    COMMIT WORK.
    Here, the function module UPD_FM is performed twice in the update task: the first time, with value 1 in PAR, the second time with value 2 in PAR.
    Check the SAP Help :
    http://help.sap.com/saphelp_nw04s/helpdata/en/41/7af4bfa79e11d1950f0000e82de14a/frameset.htm

  • Project 2013 No Server, No Sharepoint, Updating Tasks From Assigned Resources Through Email

    Ok,
    I have searched high and low for this type of information and Im surprised after all these years that no one has asked or requested this type of information?
    I am a consultant, with my own version of Project 2013 to track how I run Projects.  This is the tool I use.  So this being the case it makes no sense for me to spend millions of dollars for Project Server.  I am just one person useing this
    as my tool of choice.
    My issues are:
    I create and assign a task to a resource with a name and an email address.
    I litterally have thousands of tasks with hundreds of assigned resources (People) with an email address.
    I need to update weekly all my task!!!  The entire point of using Project 2013 as a tool!
    However it appears Microsoft needs to make this very dificult to do. If I have to manually email all these people with task and manually ask them for an update, then manually update all these task then whats the point of even bothering using Micrsofts Project
    2013?  It is useless.
    I need a way to automate these updates without having a Server.
    The Question no one seems to be asking is this?
    Is there a way to update task through email, (Outlook), Why cant I send emails with a table of tasks assinged, request update in the task table, then the assigned resource sends me back the email with thier updates and I can automatically update my Project
    Task?
    Am I the only one who has asked this or thought of this?  Or are my expectations to high? I cant figure how Microsoft could ever expect a single user of Project even with only one project with 50 to 100 task listed to have to get on the phone or emal
    every single person manually, and manually update every single task every single week? I have used other Project type apps and they all have a way of sending emails out to assigned people to get task updates automatically.  Only Project doesnt! 
    Why?

    Thanks Prasanna,
    Really for the amount of money I have to pay for a Product that should have some way to update tasks.
    Think about this for minute.  I believe Project 2007 was able to do this ,,,, that made sense.... 
    Really ponder this question:  What is the purpose of Microsoft Project for a single user?  Does anyone ask these questions prior to development?
    The reason for Project to exist is to TRACK TASK!  THATS IT! Why would anyone want to track any type of task, hundreds of task MANUALLY?  It does me no good for me to be the only one tracking task.  It does me no good for me to be the only
    one looking at the task schedule.  Great, so IM THE ONLY ONE WHO KNOWS WHATS GOING ON? 
    So I ask this question.
    If this is the case then what is the point of tracking anything if it cant be shared or updated in some way or another?  Microsoft Project is useless as a single use product!
    Here is the kicker....
    I can purchase Outlook for a lot less, I can track any and all task, assign task to anyone with an email, I can assign and schedule task through Outlook and place an alert, set it as an appointment through the Calendar, change and assign start and end dates,
    and get updates through email on any task, calendar, anything.... Why then would I waste ANYTIME OR MONEY ON A USELESS TASK TRACKING PRODUCT LIKE PROJECT?  It does not do anything?  Outlook does a thousand times more than Microsoft Project! 
    Does that make any sense to anybody?  All Microsoft Project really is... is a stripped down Calendar/Task from Outlook with no ability to email, or communicate in any way shape or form with other people who are assigned the work.  What ends up happening
    is Microsoft expects single users to purchase Project Server?  Are you crazy?  This is the single reason why Project does not sale!  If Microsoft would go back to sales metrics of Project 2007 they would see a decline till now that will reflect
    this problem.  Its really a simple fix.  Sales would triple.  Until there is a solution it makes way more sense for me to use Outlook, schedule work task on others calendars and have them send me an update weekly through an automated spreadsheet
    through Outlook.  From there all the reports exist in Excel.  Why do I need Project anymore?  BTW  I have been a MS Project user since its inception....  SO IM not new to it... what a terrible waste of time, resources, and lack of
    vision for just a simple powerful addin that was removed after 2007.  Single users like myself will never purchase Project Server just so we can send emails with assigned task for an update,,, silly?

  • How do I SUBMIT from a user exit which is called in an update task?

    I want to send an idoc each time there is a goods movement. So, in the user exit of MB_POST_DOCUMENT I am calling IDOC_OUTBOUND_WRITE_TO_DB. This creates an idoc of status 30. However, in order to send the idoc I want to SUBMIT RSEOUT00. I get an ABAP dump on the SUBMIT because MB_POST_DOCUMENT is called in the update task, where SUBMIT is not allowed. Do you know any other way I can execute RSEOUT00 at this moment without having to call it later in batch?
    Thanks!!
    Joy

    Hi Naren,
    Your reply is VERY helpful!! Thank you so much.
    I added  CALL FUNCTION 'RSAP_IDOC_EINBUCHEN_VOM_BIW_4' IN BACKGROUND TASK. I am no longer getting the dump, but my idoc is still a status 03 and not a status 30. Should I expect to see it turn to a status 30? I ran this function directly in SE37 -> Test with the same parameters and it ran perfectly and turned the idoc to a status 03. Is there anything else I need to do in the code?
    Thanks again,
    Joy

  • Install Updates task not working during Build and Capture in SCCM 2012

    Working with a new SCCM 2012 installation.
    We are trying to get a Build and Capture TS to install all updates for Win7SP1.
    All packages are deployed to DP, build and cap machine is in a collection with all updates deployed to it. Agent installation parameters include "SMSMP" "SMSSLP" parameters. Machine is not being attached to the domain during OS install. 
    Updates can be pushed to existing domain machines, so obviously the updates themselves are working.
    The task sequence works correctly to install the image, but "Install Updates" task just sits there and eventually times out. (No indication of updates being installed.) If this task is working, shouldn't I see a Downloading Updates progress bar, or was that
    eliminated from 2012?

    Same issue for me except I'm running 2012 R2 my B&C runs forever on Install Software Updates, eventually just rebooting and coming back to the login screen of Windows 7 without ever finishing the Install Updates.
    Been working on it litteraly for weeks.
    1- Tried adding .Net 4.52 as an application installation thinking maybe it would resolve the issue
    2- Tried installing via Run Command Line + DISM all hotfixes that require 2 reboots as per (https://support.microsoft.com/en-us/kb/2894518)
    3- Tried to simply REMOVE the same hotfixes from my Software Update Groups alltogether.
    4- Injected all applicable software updates through Offline Servicing in the SCCM Console (Schedule Updates) on the Windows 7 DVD wim file. That way my logic was that once it would hit the Software Updates, there would be a lot less to install.
    I'm at the point where I had to open a case with Microsoft Premier Support as of yesterday. So, nothing new to report yet. But yes, this is a true pain in the ***.
    For the sake of comparison, I am running 4 Update Groups: one containing patches up to 2012. Another one for 2013, 2014 and 2015. I have patches for Windows 7 + Office of all categories except Service Packs.
    If someone has any ideas, feel free to chime in. 

  • Why does my iPod touch take a lot of time to update and download apps? I got the one of the fastest wifi

    Why does my iPod touch take a lot of time to update and download apps? I got the one of the fastest wifi

    Try this:
    Close all apps in the Task Bar. Double-click the Home button and hold apps down for a second or two. Tap the minus sign to close app.

  • FM in update task - How do you debug for a user exit (IW32)

    Hi,
    I am working on user exit IWO10009, fm EXIT_SAPLCOIH_009, transaction IW32.
    The user-exit should be called any time an order is saved with parts added to the component tab.
    The import structure of the user exit is CAUFVD, which doesnu2019t contain the items in the component. Instead, I have to go into table RESB and get the components.
    However, when I go into RESB from inside the user-exit, the added components have not yet been added to the table.
    As such, I was thinking of creating a Z function module in update task to process this code after the order is saved & RESB is updated.
    2 questions
    1 u2013 Is this the best way of accomplishing this?
    2 u2013 How do you debug FMu2019s in update task? I have set a breakpoint & have switched system debugging on from inside the debugger, but it doesnu2019t stop inside the fm.
    Please help.
    Thanks,
    John

    Hi,
    to debug update task you need to switch on "update debugging" not the "system debugging" from the menu Settings->update debugging.
    -Ramesh

  • Usage of IN UPDATE TASK in Update process

    Hi
    I want to synchronize the Lock and Rollback process with respect to
    addon table and FI document posting.Need to consider that many  addon programs are accessing the table at same time and may be bulk records need to be udpated sometimes.So may be more time to execute. I am trying to execute below in 1LUW process. pls correct me if i am doing wrong here. below is my issue.
    Pls correct me whether can i go with below process.
    1)Check and prepare record for Update
    2)If (No) record exists
      Display Error.
      Else
    3)call Function Enqueue_XXXXX " (Lock the Updating doc record for table.)
    4)Call Function 'UPDATE_ZMMT44' IN UPDATE TASK(Inside FM Update stmt is written)
    FI document standard Commit Work (hope this will release both table lock and BKPF lock)
    FI standard Rollback Work
    Issue
    1)Lock Release timing of Enqueue process?
      Lock Release happens only at the end of FI document Posting. if batch update happens it will lead to long time freeze and no error can be displayed unfortunately. how to handle this?
    2)How to handle SQL error(Update <table> stmt error)
    I am not able to catch this error inside program. seems it goes to ST22 ...how to catch this inside program?
    My earlier query is not clear and i did not get answer so i am post it again
    regards
    prince
    Edited by: princeck on Nov 18, 2011 2:28 AM

    Hello Prince,
    Regarding issue2, this is not solved, How to handle the SQL error when update record?
    Now its going to SAP office and gives error. not showing error at same place.
    This is the standard behavior when an "update"(processed via an Update WP) fails.
    If you don't want this to happen you can opt for local updates(SET UPDATE TASK LOCAL). You would like to read the [behavior of messages in local updates|http://help.sap.com/abapdocu_702/en/abenabap_message_update.htm].
    BR,
    Suhas

  • Function module In Update Task is called more than once

    Hi experts!!
    I had a requirement to Create a Customer ( i will call it B) when another Customer (A)  is created (ON SAVE).
    I used a Badi to implement the requirement, and inside my Badi i have 2 Function Calls in Update Task.
    The first one to create Customer B and the second one to send Customer's B data to another System.
    Even though the second function call is inside an IF-ENDIF condition ( so that only Customer's B data are sent) the function is called twice sending the same data. My guess is that since the First Function saves the Customer to the database, that is the reason why the second Function is called twice.
    Is there any way i can control how many times a Function In Update Task is called????
    Please help!!
    Thank you in advance!!

    Hi BreakPoint & thank you for your reply!!
    I tried your suggestion but even if i fill the flag during the first call the function is called twice. Looks like during the second database commit the function is called with the correct conditions met but twice.
    Also while debugging it looks like it is only called once. It s very strange!
    Any other ideas???

  • Call function module in update task

    Hi
    I am using the follwoing logic in my prog
    CALL FUNCTION 'Z_Update _Task'    In update task
      EXPORTING
        t_vbak        =  t_vbak.
    But the program goes to dump at call function
    Please let me know if the syntax i am using is correct.
    Edited by: kittu reddy on Feb 28, 2008 5:29 AM

    It might be the type conflict . Please check once .
    Here am giving some information abt UPDATE TASK.
    Why do we use this " In Update Task " ??
    The main update technique for bundling database changes in a single  
    database LUW is to use CALL FUNCTION... IN UPDATE TASK.
    How do we Use ??
    A typical R/3 installation contains dialog work processes and at least one update work process. The update work processes are responsible for updating the database. When an ABAP program reaches a COMMIT WORK statement, any function modules from CALL FUNCTION... IN UPDATE TASK statements are released for processing in an update work process. The dialog process does not wait for the update to finish. This kind of update is called asynchronous update.
    What is the Use... ??
    Asynchronous update is useful when response time from the transaction is critical, and the database updates themselves are so complex that they justify the extra system load
    Thanks
    Jagadeesh

Maybe you are looking for

  • Mass unblocking of Vendor Invoices

    Hi I posted three Vendor invoices in  FB60. These document were blocked to payment (with payment block indicator). Now i want to remove the payment block simultaneously with for all the invoices. How can i do this. FBL1N --> Environment --> Mass Chan

  • Choppy timeline playback after motion effects

    I'm working in FCP 7.0.1, on a MacPro Quad-Core Intel Xeon 2.26 GHz processor, working with footage pulled off the trusty JVC GY-HM100U HD camera. I've created an editing project that adopted the default footage codec settings (XDCAM EX 1080p24 (35 M

  • NB200-110 won't boot nor allow BIOS setup

    Hi there I am new on the forum and this is my first post. I am helping my dad with the troubleshooting of its mini notebook. Model is NB 200 - 110. For a few months, the notebook has been having hard time to boot. But after several trials, it would n

  • Need help regarding Realm Secutiry(authentication)

    hi, I am very new to java and aslo very much new to J2EE.. I have learn about the how to create custom realm. I have problem woth AuthenticationUser..Can you please send me or give me any related coding examples how to code the authentication class a

  • Silence shutter sound when taking picture?

    Hello all, I was curious to know if there was a way to silence the shutter sound effect when taking a picture during an ichat session. That is, so that neither I, nor the person on the opposite side, can hear it. Also, if there is a way to turn off t