Time needed for database to commit

Hi,
I'm using 'BAPI_PROCORD_COMPLETE_TECH', i want to know how much time does it take for the database to commit the work so I can declare is in wait up to...
Example:
CALL FUNCTION 'BAPI_PROCORD_COMPLETE_TECH'
     IMPORTING
       return = i_messages
     TABLES
       orders = i_orders.
       CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
           wait   = c_x
         IMPORTING
           return = i_messages3.
WAIT UP TO 30 SECONDS.

You can remove the and wait command.
As long as you're using a SAP standard FM to process database there usually is a commit command that could already be found inside the FM it self. Plus the wait command will do the wait for you.
As for the time as soon as the command of the FM is called yuo can check the value in the database. Your update should already be available provided that your data values are correct.

Similar Messages

  • How to estimate the time needed for unicode conversion

    Experts:
    I am going to perform an upgrade from 46C (non-unicode) to ECC6/EHP4.
    In the action plan , it's hard to estimate the time needed for unicode conversion.
    We do not have a sandbox to benchmark that time.
    Could you please help share your experience here?
    Thanks!!

    Hi,
    usually it is very hard to estimate a proper time.
    There are some hints to get a rough feeling (SAP note 857081 and [SMP link|http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000380759&_OBJECT=011000358700001279022010E] ).
    However please note that SAP highly recommends to do a Sandbox conversion - otherwise there is a high risk that the PRD conversion will take (much) longer than expected.
    Best regards,
    Nils Buerckel

  • Grid computing will diminish need for database administrators?

    from what i understand, grid computing will eventually turn database services into a "utility" where everyone uses the service on an as needed basis from a central area. how is this going to affect the need for database administrators? won't demand greatly decrease since companies will be getting their database needs from somewhere else and will no longer have a need for a database internal to the company?

    Wrong. It just makes the DBA more productive. It allows for a company to pool their resources to run more databases. For eg. an analyst wants to run a report on a special version (a snapshot) of the production db; the DBA would not have to scrounge around for hardware and storage to instantiate the db for the analyst. Instead, the DBA would snap a tablespace, mount the tablespace for the analyst db all within the same grid and using the same resources.

  • Approximate time needed for normal shutdown of the instance

    how to figure out how much time needed to stop the oracle instance?
    do the oracle "shutdown immediate" in case when OS is shutting down or "shutdown normal"?
    What will be the result if there are still long-running transactions when OS shutdown initiated?

    Anton Kharus wrote:
    how to figure out how much time needed to stop the oracle instance?
    By measuring the shutdown timings from time to time.
    do the oracle "shutdown immediate" in case when OS is shutting down or "shutdown normal"?
    What will be the result if there are still long-running transactions when OS shutdown initiated?
    Oracle is only shutdown at a system shutdown if you configure shutdown scripts to do so.
    Depending on the OS you have these scripts must be placed somewhere in /etc/rc?.d or /sbin/rc?.d
    It is ofcourse depending on the shutdown type, and the amount of running session.
    Shutdown normal will wait until all users have disconnected
    Shutdown immediate will wait until all users have ended their running statement
    Shutdown transactional will wit for users to and an active transaction
    Shutdown abort will not wait, but leave the database in a to-be recovered state.
    Shutdown abort should only be used in case all other shutdown commands do not work, or there has been some kind of error leaving some database processes running.
    HTH,
    FJFranken
    My Blog: http://managingoracle.blogspot.com

  • How to disable the timer job for "Database Statistics"

    I want to disable the database statistics timer job using the powershell, but I cant find the exact name of it in the list of timer jobs.
    tried
    Get-SpTimerjob to manually look for it Get-SPTimerJob SPDatabaseStatisticsJobDefinitionor and also looked for staadmin name job-database-statistics
    I even tried to look for it in the list of timer job definitions for a web application with no luck.
    I want to disable the timerjob, so that I can run proc_DefragmentIndices on sharepoint config and SharePoint admin databases.
    SELECT DB_ID() AS [sharepoint_admincontent_cab0c190-db30-4f2c-8b71-504b81d2b5d1];
    GO
    SELECT * FROM sys.dm_db_index_physical_stats
        (1, NULL, NULL, NULL , 'DETAILED');
    1 1131151075
    1 1
    CLUSTERED INDEX
    IN_ROW_DATA 2
    0 52.6315789473684
    1 1131151075
    1 1
    CLUSTERED INDEX
    IN_ROW_DATA 2
    1 0
    1 1131151075
    2 1
    NONCLUSTERED INDEX
    IN_ROW_DATA
    2 0
    80
    Thanks
    Nate

    Thank you Trevor, 
    As per this blog (http://www.houberg.com/2008/05/16/sharepoint-database-indexes-and-statistics/) it seems like
    Microsoft allows this (not explicitly though)
    I ran the Health Analyzer rule  for "Databases used by SharePoint have fragmented Indexes" for all servers.
    I am still seeing a lot of cluster and non clustered indexes having avg_fragmentation_in_percent
     > 60%.
    SELECT * FROM sys.dm_db_index_physical_stats (7, NULL, NULL, NULL , 'DETAILED');
    I finally thought that I should rebuild the indexes to fix the issue, but please suggest if that is not the correct approach to resolve the high fragmented indexes.
    thanks
    Nate

  • Urgent Help is Needed for Database Installation Problems

    How can we resolve the following database problems in Windows XP? Originally, we had Oracle 10.1.0.4.2, and we wanted to upgrade it to Oracle 10.2.0.1. We uninstalled Oracle Home ORAH1_DEV and then got the following problems while installing Oracle 10.2.0.1. How can we resolve all these errors so database configuration assistants can work successfully? Please help us with these ASAP. Thank you very much for your help and time in advance.
    -Oy
    These are the popup message we got.
    POPUP 1. This appears 3 times, then ignore
    Error in writing to file 'C:\OraHomes\ORAH1_DEV\jdk\jre\bin\awt.dll'.[C:\OraHomes\ORAH1_DEV\jdk\jre\bin\awt.dll(The process cannot access the file because it is being used by another process)]
    Click 'Help' for more information
    Click 'Retry' to try again
    Click 'Ignore' to ignore this error and go on.
    Click 'Cancel' to stop this installation
    buttons Help Retry Ignore Cancel
    POPUP 2. Error in writing to file 'C:\OraHomes\ORAH_DEV\jdk\bin\java.exe'. [C:\OraHomes\ORAH1_DEV\jdk\jre\bin\java.exe (The process cannot access the file because it is being used by another process)]
    Click 'Help' for more information
    Click 'Retry' to try again
    Click 'Ignore' to ignore this error and go on.
    Click 'Cancel' to stop this installation
    buttons Help Retry Ignore Cancel
    POPUP 3. Erro in writing to file 'C:\OraHomes\ORAH1_DEV\bin\orancrypt10.dll'. [C:\OraHomes\ORAH1_DEV\bin\orancrypt10.dll (The process cannot access the file  because it is being used by another process)]
    Click 'Help' for more information
    Click 'Retry' to try again
    Click 'Ignore' to ignore this error and go on.
    Click 'Cancel' to stop this installation
    buttons Help Retry Ignore Cancel
    POPUP 4. Error in writing to file 'C:\OraHomes\ORAH1_DEV\bin\oravsn10.dll'. [C:\OraHomes\ORAH1_DEV\bin\oravsn10.dll (The process cannot access the file because it is being used by another process)]
    Click 'Help' for more information
    Click 'Retry' to try again
    Click 'Ignore' to ignore this error and go on.
    Click 'Cancel' to stop this installation
    buttons Help Retry Ignore Cancel
    POPUP 5. Error in writing to 'c:\OraHomes\ORAH1_DEV\opmn\mesg\ensus.msb'. [C:\OraHomes\ORAH1_DEV\opmn\mesg\ensus.msb (The process cannot access the file because it is being used by another process)]
    Click 'Help' for more information
    Click 'Retry' to try again
    Click 'Ignore' to ignore this error and go on.
    Click 'Cancel' to stop this installation
    buttons Help Retry Ignore Cancel

    Grace wrote:
    Yes, I have it installed in the same Oracle Home. Is it possible to create it there? Or I must create a new Oracle Home for the new installation? Please reply as soon as possible. Thank you very much for your help.
    -OyA specific ORACLE_HOME holds the binaries for a specific version of Oracle. You don't upgrade by simply installing a newer version of Oracle into the ORACLE_HOME of an older version. If you tried to do that you have probably irreversibly corrupted the original installation.
    And there is no URGENT or ASAP here. We are all volunteers with regular jobs. If you have "urgent" support issues you need to open a Service Request with Oracle Support.

  • Time needed for automated data transfer - hypothetic

    An EBS client with interest in maintaining integration in their large customer base backoffice and with CRMOD has had past challenges in terms of the overall size of the data they wish to integration and the time it takes to do so. As such, the client wishes to understand from a data size (X GIGS) and time (how much time) it might take to for instance synchronize their data. Since they would not quantify their data size, I can only ask... how much data be moved and how fast. This is urgent. Any experienced help here using strategies such as batch integration leveraging web services, cast iron systems or PIP is of help here!

    Disclaimer
    The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
    Liability Disclaimer
    In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
    Posting
    "And the solution was using an FTP client which was able to send files using multiple parallel threads."
    Yep, although that assumes you have multiple files (for which it can work very well).
    For a single large file, a variation of what Milan described, is using a utility that can slice and dice (and reassemble) a single file across multiple TCP flows.
    "Another possibility would be using some WAN accelerators (like Riverbeds, e.g.) which would sent "local ACKs" to the clients on both sides and improve the efficiency of the WAN file transfer."
    Yep, again, and such products can even "transfer" faster than the line rate.  The latter is possible because they generally compress in-line and also use local caching (negating the need to send some data). One of their issues, their transfer rates can be very variable and inconsistent.

  • Time needed for configuration?

    Hello All
    Could any of u give me an estimate as to how long does the average configuration of Compensation management take place considering the fact that OM,PA and Benefits are already up and running, and Merit Increase to the staff would be the only functionality being implemented in configuration ?
    Please let me know a range which is practical if just one person( or max two) is working on configurin in R/3
    Thanks

    Hello Nelly,
    If u r PA, OM and PY are up and running. I think it will take max of 10 days time for compensation management (Base line config). For this Basically u need to have Matrix, Elgibility and Guideliness.
    Hope this will help
    Regards
    Sudhir.N

  • Minimum Database Priviledes needed for Database Connection

    What are the minimum DB Privileges I will need to do the following in JDev:
    1 - Brows tables and packages via the Application Resources - Connections - Database view?
    2 - Generate Business Components from Tables? (Query for Tables returns no values, or errors.)
    I'm using JDev 11.1.1.1.0. connecting to an Oracle 10g database.
    I can connect successfully but can't get table/view lists in the above scenarios.
    I can query tables directly (select * from.....) via the SQL_Worksheet form and I receive context help (e.g. on table names).
    Other connections to a local XE database works fine (CONNECT and RESOURCE privileges).

    RACHUZ wrote:
    Thank you Sir.
    I cannot complete the process due to the following error .
    C:\Users\user>sqlplus
    SQL*Plus: Release 11.2.0.1.0 Production on Sat Jul 13 11:45:55 2013
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Enter user-name: /as sysdba
    ERROR:
    ORA-28056: Writing audit records to Windows Event Log failed
    ORA-28056: Writing audit records to Windows Event Log failed
    What do those error messages suggest to you?
    Maybe your disk full.
    Maybe the Windows Event Log  (how did I come up with that name?) needs to be flushed/truncated.
    I leave the details as an exercise for the student.

  • Which system priviliges needed for Database Deployment user xmlp

    Hi!
    I try to run tables_oracle.sql but it fails for the lack of system priviliges. Is there a script for creating the user with all the required priviliges for creating the schema objekts and later for running?
    regards

    I had to add at least for running the sql scripts following:
    CREATE TABLE
    CREATE SEQUENCE
    CREATE INDEXTYPE
    But I get some errors in the html enterprise application and in the oc4j console and I am not sure how to solve this. I want to be sure that the user has all priviliges he need, before searching for other causes.

  • Ups transfer time needed for imac 27

    I have been given the royal run around by Apple "Genius" employees and lied to by Staples techs.
    Can anyone tell me the proper UPS to use for an iMac 27?  And please give me the reason why.
    I would greatly appreciate the help.

    Dear Rkaufmann87,
    I have been performing my due diligence for 2 days. Without due diligence, I would not have discovered that iMacs have different power shut down times than other units. It IS Apples duty to inform me of the amount of time in which the computer takes to detect a no power event.  Apple Senior Tech Joe advised me that any UPS which provides a transfer time under 1 second will work appropriately for the iMac 27.  Due diligence also uncovered the fact that APC does not include transfer times in all of its documentation for each UPS unit.  It takes emails to very skilled APC techs to get to the proper answers in that respect.  Thanks for your input.
    Donna
    Former Dell Certified Technician
    MIcrosoft Systems Engineer

  • Time needed for uploading with FTP ?

    Is this procedure instant and painless, or is there an incubation time when you just wait ? I want to see how the site looks in the browsershot site - which seems to have a long waiting list- and feel I ought to be pressing onwards ( I'm trying to have the site up-and-running by Friday since there's a marvellous publicity chance this weekend - my site's offering services. ) Kay.

    Depending on the size of you site it should not take long to upload at all. It also depends on your internet connection too and what speed of broadband you have if you have it.
    If you use Cyberduck to upload, then you can see the site uploading before your eyes and can watch it. My 2.2 Mb site only took a matter of minutes to upload.

  • Metrics "Database Time Spent Waiting (%)" is at ... for event class "Commit

    Hi guys
    I'm getting this warning every 20 minutes from Enterprise Manager 10g: Metrics "Database Time Spent Waiting (%)" is at 67.62891 for event class "Commit". My database is an Oracle 10g 10.2.0.4 (Linux x84_64) with dataguard, one physical and one standby networked at 100Mbit. I have 3 groups of 50M redo log with a low volume of transaction for now. Here are some metrics numbers:
    SQL> select sum(seconds_in_wait),event from v$session_wait group by event;
    SUM(SECONDS_IN_WAIT) EVENT
    121210 SQL*Net message from client
    0 Streams AQ: waiting for messages in the queue
    18 wait for unread message on broadcast channel
    6 LNS ASYNC end of log
    30 jobq slave wait
    37571 rdbms ipc message
    384 smon timer
    35090 pmon timer
    I tune the my listerners for Dataguard using the documentation. I don't know what to tune anymore, is someone has a clue.
    Thanks,
    Chris

    cprieur wrote:
    Metrics "Database Time Spent Waiting (%)" is at 67.62891 for event class "Commit"
    I'am also getting this message at a regular time:
    Metrics "Database Time Spent Waiting (%)" is at 64.09801 for event class "Network"
    The report, I was sent only to indicate the time spent on: SQL*Net message from client
    I believe that these metrics are explained here (near the bottom of the page):
    http://download.oracle.com/docs/cd/B19306_01/em.102/b25986/oracle_database.htm
    There are only two wait events in the Commit class (on 11.1.0.7):
    log file sync
    enq: BB - 2PC across RAC instances
    log file sync waits happen when sessions issue a COMMIT or ROLLBACK. Sessions will wait on this event until LGWR completes its writes to the redo logs (LGWR will likely wait on the event log file parallel wriite while waiting for the write to complete). I believe that your DataGuard configuration may contribute to the long waits experienced by LGWR, and it may be made worse by the network connection.
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28294.pdf
    "Maximum availability - This protection mode provides the highest level of data protection that is possible without compromising the availability of a primary database. Transactions do not commit until all redo data needed to recover those transactions has been written to the online redo log and to at least one standby database."
    So, if Maximum availability is configured, the sessions will have to wait for the redo to be applied to the remote database.
    At the system-wide level you will almost always be able to ignore the SQL*Net message from client wait events. At the session level this wait event has a more significant meaning - the client computer is not actively waiting on a response from the database instance - the client is either sitting idle, or performing client-side processing.
    Sybrand, if he joins this thread, will likely be able to provide a more complete answer regarding DataGuard's contribution to the Commit wait class.
    Charles Hooper
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.

  • Waiting (%)     Metrics "Database Time Spent Waiting (%)" is at 69.64818 for event class "Commit"

    Hi,
    Can any one help me on this warning, i got this warning on ORACLE ENTERPRISE MANAGER
    Waits by Wait Class
    Database Time Spent Waiting (%)
    Metrics "Database Time Spent Waiting (%)" is at 69.64818 for event class "Commit"
    Below are our environment details:
    RDBMS: 10.2.0.4
    Oracle E-Business suite: 12.0.6
    OS: Oracle Sun 10
    Please suggest.
    Thank you.

    Please see the following docs.
    How to Disable Alerts for The Database Time Spent Waiting (%) Metric? (Doc ID 1500074.1)
    "Database Time Spent Waiting (%)" at 100 for Event Class "Other" when Database is not Under Load (Doc ID 1526552.1)
    Thanks,
    Hussein

  • Need Oracle DataBase For XI Installation????????

    Hi Experts,
    Should we Install ORACLE DataBase  While Xi Installation????????
    With Oracle also Can We do the Installation????????
    Here What is the Use of ORACLE Installation?????????????/
    Please Let Me Know All the Details............
    Regards
    Khanna

    Hi,
    Thanks for ur quick reply.
    <i>XI is also an application and yes it does need a database.</i>
    In the Real time Where we wil use this Oracle database........
    And what is the Link Between the XI And the Oracle DataBase.Where it wil be  Xi is going to Use the Oracle DB??????????/Is there Any Connection??????
    Can u please Allobarate this .......
    Regards
    Khanna

Maybe you are looking for

  • How to set Default valuation type c3 & c2 in creation of refrubishmentorder

    Dear friends Please let me know How we can make inthe order type refurbishment the valuation types as c3 to c2 only User should not have any option of entering the valuation types when we are creating order it will make default as c3 from & c2 to the

  • I'm Back! testing a procedure thru PL/SQL Block

    Hello all! Do you know how to test a procedure? please check mine, its gave me error of the following:--see bottom for my test pls/sql code: ORA-06550: line 4, column 1: PLS-00306: wrong number or types of arguments in call to 'MEMBER_CK_SP' ORA-0655

  • Zen Vision M 60GB Silicon S

    One of the staff in singapore, Plaza singapura, told me there is no silicon skin for 60gb. Is it true? Can 30gb skin fit 60gb?

  • IE downloads files without  extension as html type

    Hi, i wrote a piece of code to down load files. its working fine for all the filetypes which will have extension. but if the file doesn't have any extension, then download prompt shows FileName : aaaaa Type : Html Document and when saves it saves as

  • Mountain Mapping software - any for Macs - or does this mean Virtual PC?

    Hi I am a keen hillwalker and would love to use the sort of software that Anquet and Memory map produce for PCs - you can plot out walks on maps, see the changes in height you'll cover - get waypoints for your GPS etc. However all the products I've f