Could we get a deadlock error on COMMIT (END TRANSACTION) in BDB-SQL

According to the DB_TXN->commit documentation at:
http://download.oracle.com/docs/cd/E17076_02/html/api_reference/C/txncommit.html
"After DB_TXN->commit() has been called, regardless of its return, the DB_TXN handle may not be accessed again.
If DB_TXN->commit() encounters an error, the transaction and all child transactions of the transaction are aborted."
Since BDB-SQL uses the BDB engine, should the code handle such errors in BDB-SQL?
Another point to keep in mind is that, post BDB-SQL version 5.1 upon receiving a potential deadlock error all the previous operations(child transactions) in the same transaction are still valid and can be committed.
It would be great if someone can throw some light on this.
Edited by: user10942853 on Jul 28, 2011 9:31 AM

user10942853 wrote:
LaurenFoutz wrote:
I do not think commit can experience a deadlock error since it does not obtain any new locks, and it could not have been in a blocked state if you are able to call commit. Either way, after calling commit on a transaction in SQL the transaction is done, even if an error is returned. At that point if an error is returned the transaction (and all the work its children have done) is either aborted under the covers, or the database has been corrupted, and all future calls to it will return a corruption error that will require restarting the database to restore it (and the restoration will roll back any work done by the transaction since it did not complete cleanly).
Hope that answers your question.
Lauren FoutzLauren, thanks for the reply. From your reply, though there is little possibility that we can get an error on commit looks like we should be prepared to handle such errors in BDB-SQL. We have had instances where we experienced an error on commit while using native BDB (without SQL API) and wanted to confirm the same.You are correct. Error when committing are rare in both the SQL and native API, but they can happen and you should deal with them when they do.
Lauren Foutz

Similar Messages

  • Error (-1200) DBMCconnBase; End Transaction- Error -1 detected, auto rollba

    Que tal!!!
    Pues ahora tengo este problema, este sap nos esta sacando canas verdes!!
    resulta que cuando se esta realizaondo una factura y aparece la ventana donde se ingresa el numero de folio del documento y se da el OK aparece ese error
    (-1200) DBMCconnBase; End Transaction- Error -1 detected, auto rollback flag is off, Throwing exception
    cuando lo aceptamos solo cierra SAP, ingresamos de nuevo yse puede facturar durante el dia se presenta de manera aleatoria!!
    siento que es grave el error.. asi que espero que me puedan ayudar!!

    Mi estimado, ese es un bug segun nota 1401013 de SAP, ocurre cuando dos usuarios estan trabajando simultaneamente.
    Aqui el texto de la misma nota.
    Summary
    Symptom
    You work in localization where folio numbers for documents are used.
    Two users are working simultaneously on SAP Business One (either via SAP Business One application or via an Add-on).
    Both users are creating Invoice (or performing any action when max folio number is retrieved from the numbering table NNM1).
    It may happen that one of the users will encounter deadlocks while working, usually with one of the following error messages:
    '-2038 Internal error'
    'Error (-1200) DBMCconnBase:: EndTransaction - Error -1 detected. auto rollback flag is off. throwing exception'
    'Internal error NNM1 2038'
    The deadlock can appear on NNM1 table and OINV table.
    Other terms
    Lock, Add, Error, Crash, Close, Exit, Operation, Action, Parallel, Same Time
    Reason and Prerequisites
    Application error
    En que parche andas?
    Esto se arreglo con el parche 09 del service pack 01

  • Sap BO Disclosure Management "Could not get Chapter:Connection" Error

    Dear Gurus,
    When i try to View/Edit and download from netweaver to client, i am taking error like this ;
    2/27/2014 3:17:44 PM Start
    2/27/2014 3:17:44 PM frec:http://bw01.vektora.com:90/WebServices/WDocumentService.asmx|0|7|wt1nko55j2ylzw45xjfjia45
    2/27/2014 3:17:44 PM Action received:frec:http://bw01.vektora.com:90/WebServices/WDocumentService.asmx|0|7|wt1nko55j2ylzw45xjfjia45
    2/27/2014 3:17:46 PM Getting chapter:Connecting...
    2/27/2014 3:17:46 PM Could not get Chapter:Connection with 'http://bw01.vektora.com:90/WebServices/WDocumentService.asmx' failed:
    Also screen shot is attached,
    Could you please help guys ?
    Regards
    Kemal

    Dear Gurus,
    When i try to View/Edit and download from netweaver to client, i am taking error like this ;
    2/27/2014 3:17:44 PM Start
    2/27/2014 3:17:44 PM frec:http://bw01.vektora.com:90/WebServices/WDocumentService.asmx|0|7|wt1nko55j2ylzw45xjfjia45
    2/27/2014 3:17:44 PM Action received:frec:http://bw01.vektora.com:90/WebServices/WDocumentService.asmx|0|7|wt1nko55j2ylzw45xjfjia45
    2/27/2014 3:17:46 PM Getting chapter:Connecting...
    2/27/2014 3:17:46 PM Could not get Chapter:Connection with 'http://bw01.vektora.com:90/WebServices/WDocumentService.asmx' failed:
    Also screen shot is attached,
    Could you please help guys ?
    Regards
    Kemal

  • Getting this DeadLock Error...Hava look friends

    java.sql.SQLException: [IBM][SQLServer JDBC Driver][SQLServer]Transaction (Process ID 53) was deadlocked on {lock} resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
    I am getting this error in my Application...can anyone knows..let me update to me

    Let me update to me...What situation i can face this deadlock situation..shall modify the source code...or any database modification...let update to me friends.

  • How to configure alerts for error in Subscriber in transactional replication in SQL server

    Hi All,
    I am getting the below error in the subscriber which i know how to resolve but i want an alert to be raised whenever there is an error in the Subscriber.I tried using the configure alerts in the warning tab in the Sqlmonitor.exe but it didn't worked.Can
    anybody help me out please.
    Command attempted:
    if @@trancount > 0 rollback tran
    (Transaction sequence number: 0x00000000000000000A9200000000, Command ID: 1)
    Error messages:
    Invalid date format (Source: MSSQLServer, Error number: 20025)
    Get help: http://help/20025
    Invalid date format (Source: MSSQLServer, Error number: 22007)
    Get help: http://help/22007
    Thanks,

    Can add with operator in sql server agent
    SSMS -> Connect to the subscriber -> SQL Server Agent -> Alerts -> Double Click "Replication: agent failure" -> Response -> Add your operator with the alert type(s) you wish. (I recommend security groups instead of individuals).
    Refer below thread
    http://dba.stackexchange.com/questions/11971/how-do-i-set-up-an-alert-that-tells-me-when-a-replication-of-data-failed
    Please click the Mark as answer button and vote as helpful if this reply solves your problem

  • Getting an unusual error while running a transaction

    Hi Experts ,
    While i am running a customized transaction for vb7 that is rebate settlement , I have input field on agreement screen of payment method . Whenever , i put any value in that field and run the transaction , it gives me an error "  Input values must be defined in Table T042Z. The value or
    values ' T ' are not specified in this table.  "  whereas when i check the table T042Z for payment method values , the values i m entering are present there . I cannot get why its showing this error .
    Could anyone plz help as its very urgent req ..
    Thanks in advance ..
    Ankit

    Ankit,
    Please close this duplicate thread.
    Rich,
    You are welcome. 

  • Error-Code: ora-4020 Deadlock error, while updating a record

    Hello!
    Is it possible to get a deadlock error when two or more users try to update the same record simultaneously? And what would be the best solution to circumvent this?
    Thanks
    Your help is appreciated.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by ( vidya):
    Hello Vidhya,
    Issue either Commit or Rollback without much delay once the statement(s) is/are executed.
    vmkrish
    [email protected]
    Is it possible to get a deadlock error when two or more users try to update the same record simultaneously? And what would be the best solution to circumvent this?
    Thanks
    Your help is appreciated.<HR></BLOCKQUOTE>
    null

  • Deadlock error on logical standby

    Hi All,
    I am get an issue where every thing is working fine on Db server but when it is getting replicated to Logical standby i am getting a deadlock error. Please find error logs below
    Fri May 20 21:00:56 2011
    ORA-00060: Deadlock detected. More info in file /u01/logicalstdby_home/product/admin/XXXXX/bdump/xxlog_p004_15175.trc.
    Fri May 20 21:00:56 2011
    8
    Errors in file /u01/logicalstdby_home/product/admin/XXXXX/bdump/xxlog_lsp0_2207.trc:
    ORA-12801: error signaled in parallel query server P004
    ORA-00060: deadlock detected while waiting for resource
    9
    ORA-12801: error signaled in parallel query server P004
    ORA-00060: deadlock detected while waiting for resource
    LOGSTDBY Analyzer process P003 pid=42 OS id=15173 stopped
    Please can anyone help in investigation.
    Thanks and Regrads,
    Amol

    Hi ,
    I have the logs from deadlock file.
    There are two queries in this dump. Does this mean that the two queries in the logs (which are actually same) are runing in parellel. Because this actually ran fine on the primary database.
    DEADLOCK DETECTED ( ORA-00060 )
    [Transaction Deadlock]
    The following deadlock is not an ORACLE error. It is a
    deadlock due to user error in the design of an application
    or from issuing incorrect ad-hoc SQL. The following
    information may aid in determining the deadlock:
    Deadlock graph:
    ---------Blocker(s)-------- ---------Waiter(s)---------
    Resource Name process session holds waits process session holds waits
    TX-01350024-00098ad3 44 804 X 46 797 S
    TX-012f0006-0008ac28 46 797 X 60 874 S
    TX-01340000-000a175c 60 874 X 44 804 S
    session 804: DID 0001-002C-0003E40C     session 797: DID 0001-002E-00002364
    session 797: DID 0001-002E-00002364     session 874: DID 0001-003C-0000019C
    session 874: DID 0001-003C-0000019C     session 804: DID 0001-002C-0003E40C
    Rows waited on:
    Session 797: obj - rowid = 00000000 - D/////AAaAAHqeAAAA
    (dictionary objn - 0, file - 26, block - 2008960, slot - 0)
    Session 874: obj - rowid = 00089976 - AAC5PjAAFAAAmj+AAA
    (dictionary objn - 563574, file - 5, block - 157950, slot - 0)
    Session 804: obj - rowid = 00089976 - AAC5PjAAFAAAmi3AAA
    (dictionary objn - 563574, file - 5, block - 157879, slot - 0)
    Information on the OTHER waiting sessions:
    Session 797:
    pid=46 serial=418 audsid=0 user: 0/SYS
    O/S info: user: oracle, term: UNKNOWN, ospid: 15180, machine: db5p
    program: oracle@db5p (P006)
    Current SQL Statement:
    update /*+ streams restrict_all_ref_cons */ "BEBSS"."SUBSCRIBER_POLICY_BROKER_EVENT" p set "ACTIVITY_TYPE"=decode(:1,'N',"ACTIVITY_TYPE",:2), "ATTRIBUTE_SET"=decode(:3,'N',"ATTRIBUTE_SET",:4), "CREATED_DATE"=decode(:5,'N',"CREATED_DATE",:6), "CUSTOMER_ID"=decode(:7,'N',"CUSTOMER_ID",:8), "FILE_NAME"=decode(:9,'N',"FILE_NAME",:10), "ID"=decode(:11,'N',"ID",:12), "LAST_MODIFIED_DATE"=decode(:13,'N',"LAST_MODIFIED_DATE",:14), "PORT_NUMBER"=decode(:15,'N',"PORT_NUMBER",:16), "PROCESSED_DATE"=decode(:17,'N',"PROCESSED_DATE",:18), "SERVICE_PACKAGE_ID"=decode(:19,'N',"SERVICE_PACKAGE_ID",:20), "STATUS"=decode(:21,'N',"STATUS",:22), "TRANSACTION_TYPE"=decode(:23,'N',"TRANSACTION_TYPE",:24) where (:25='N' or(decode(:26,'N','Y',decode(:27,"ACTIVITY_TYPE",'Y'))='Y' and decode(:28,'N','Y',decode(:29,"ATTRIBUTE_SET",'Y'))='Y' and decode(:30,'N','Y',decode(:31,"CREATED_DATE",'Y'))='Y' and decode(:32,'N','Y',decode(:33,"CUSTOMER_ID",'Y'))='Y' and decode(:34,'N','Y',decode(:35,"FILE_NAME",'Y'))='Y' and 1=1 and decode(:36,'N','Y',decode(:37,"LAST_MODIFIED_DATE",'Y'))='Y' and decode(:38,'N','Y',decode(:39,"PORT_NUMBER",'Y'))='Y' and decode(:40,'N','Y',decode(:41,"PROCESSED_DATE",'Y'))='Y' and decode(:42,'N','Y',decode(:43,"SERVICE_PACKAGE_ID",'Y'))='Y' and decode(:44,'N','Y',decode(:45,"STATUS",'Y'))='Y' and decode(:46,'N','Y',decode(:47,"TRANSACTION_TYPE",'Y'))='Y')) and(:48="ID")
    Session 874:
    pid=60 serial=20958 audsid=0 user: 0/SYS
    O/S info: user: oracle, term: UNKNOWN, ospid: 15182, machine: db5p
    program: oracle@db5p (P007)
    Current SQL Statement:
    update /*+ streams restrict_all_ref_cons */ "BEBSS"."SUBSCRIBER_POLICY_BROKER_EVENT" p set "ACTIVITY_TYPE"=decode(:1,'N',"ACTIVITY_TYPE",:2), "ATTRIBUTE_SET"=decode(:3,'N',"ATTRIBUTE_SET",:4), "CREATED_DATE"=decode(:5,'N',"CREATED_DATE",:6), "CUSTOMER_ID"=decode(:7,'N',"CUSTOMER_ID",:8), "FILE_NAME"=decode(:9,'N',"FILE_NAME",:10), "ID"=decode(:11,'N',"ID",:12), "LAST_MODIFIED_DATE"=decode(:13,'N',"LAST_MODIFIED_DATE",:14), "PORT_NUMBER"=decode(:15,'N',"PORT_NUMBER",:16), "PROCESSED_DATE"=decode(:17,'N',"PROCESSED_DATE",:18), "SERVICE_PACKAGE_ID"=decode(:19,'N',"SERVICE_PACKAGE_ID",:20), "STATUS"=decode(:21,'N',"STATUS",:22), "TRANSACTION_TYPE"=decode(:23,'N',"TRANSACTION_TYPE",:24) where (:25='N' or(decode(:26,'N','Y',decode(:27,"ACTIVITY_TYPE",'Y'))='Y' and decode(:28,'N','Y',decode(:29,"ATTRIBUTE_SET",'Y'))='Y' and decode(:30,'N','Y',decode(:31,"CREATED_DATE",'Y'))='Y' and decode(:32,'N','Y',decode(:33,"CUSTOMER_ID",'Y'))='Y' and decode(:34,'N','Y',decode(:35,"FILE_NAME",'Y'))='Y' and 1=1 and decode(:36,'N','Y',decode(:37,"LAST_MODIFIED_DATE",'Y'))='Y' and decode(:38,'N','Y',decode(:39,"PORT_NUMBER",'Y'))='Y' and decode(:40,'N','Y',decode(:41,"PROCESSED_DATE",'Y'))='Y' and decode(:42,'N','Y',decode(:43,"SERVICE_PACKAGE_ID",'Y'))='Y' and decode(:44,'N','Y',decode(:45,"STATUS",'Y'))='Y' and decode(:46,'N','Y',decode(:47,"TRANSACTION_TYPE",'Y'))='Y')) and(:48="ID")
    End of information on OTHER waiting sessions.
    Current SQL statement for this session:
    update /*+ streams restrict_all_ref_cons */ "BEBSS"."SUBSCRIBER_POLICY_BROKER_EVENT" p set "ACTIVITY_TYPE"=decode(:1,'N',"ACTIVITY_TYPE",:2), "ATTRIBUTE_SET"=decode(:3,'N',"ATTRIBUTE_SET",:4), "CREATED_DATE"=decode(:5,'N',"CREATED_DATE",:6), "CUSTOMER_ID"=decode(:7,'N',"CUSTOMER_ID",:8), "FILE_NAME"=decode(:9,'N',"FILE_NAME",:10), "ID"=decode(:11,'N',"ID",:12), "LAST_MODIFIED_DATE"=decode(:13,'N',"LAST_MODIFIED_DATE",:14), "PORT_NUMBER"=decode(:15,'N',"PORT_NUMBER",:16), "PROCESSED_DATE"=decode(:17,'N',"PROCESSED_DATE",:18), "SERVICE_PACKAGE_ID"=decode(:19,'N',"SERVICE_PACKAGE_ID",:20), "STATUS"=decode(:21,'N',"STATUS",:22), "TRANSACTION_TYPE"=decode(:23,'N',"TRANSACTION_TYPE",:24) where (:25='N' or(decode(:26,'N','Y',decode(:27,"ACTIVITY_TYPE",'Y'))='Y' and decode(:28,'N','Y',decode(:29,"ATTRIBUTE_SET",'Y'))='Y' and decode(:30,'N','Y',decode(:31,"CREATED_DATE",'Y'))='Y' and decode(:32,'N','Y',decode(:33,"CUSTOMER_ID",'Y'))='Y' and decode(:34,'N','Y',decode(:35,"FILE_NAME",'Y'))='Y' and 1=1 and decode(:36,'N','Y',decode(:37,"LAST_MODIFIED_DATE",'Y'))='Y' and decode(:38,'N','Y',decode(:39,"PORT_NUMBER",'Y'))='Y' and decode(:40,'N','Y',decode(:41,"PROCESSED_DATE",'Y'))='Y' and decode(:42,'N','Y',decode(:43,"SERVICE_PACKAGE_ID",'Y'))='Y' and decode(:44,'N','Y',decode(:45,"STATUS",'Y'))='Y' and decode(:46,'N','Y',decode(:47,"TRANSACTION_TYPE",'Y'))='Y')) and(:48="ID")
    ===================================================
    PROCESS STATE
    Process global information:
    process: 0x29c53bcc8, call: 0x29567f358, xact: 0x299db2d90, curses: 0x29c811dd8, usrses: 0x29c811dd8
    SO: 0x29c53bcc8, type: 2, owner: (nil), flag: INIT/-/-/0x00
    (process) Oracle pid=44, calls cur/top: 0x29567f358/0x29567eb18, flag: (0) -
    int error: 0, call error: 0, sess error: 0, txn error 0
    (post info) last post received: 0 0 117
    last post received-location: kcbzww
    last process to post me: 29c53fc08 42 0
    last post sent: 0 0 117
    last post sent-location: kcbzww
    last process posted by me: 29c53c4b0 188 0
    (latch info) wait_event=0 bits=0
    Process Group: DEFAULT, pseudo proc: 0x29f601e88
    O/S info: user: oracle, term: UNKNOWN, ospid: 15175
    OSD pid info: Unix process pid: 15175, image: oracle@db5p (P004)
    Dump of memory from 0x000000029C500F08 to 0x000000029C501110
    29C500F00 00000002 00000000 [........]
    29C500F10 9C811DD8 00000002 00000004 0003129B [................]
    29C500F20 8F34B7A0 00000002 0000001E 0003115B [..4.........[...]
    29C500F30 9CA03A98 00000002 0000000B 000313A7 [.:..............]
    29C500F40 9EBD0510 00000002 0000003D 0003115B [........=...[...]
    29C500F50 9C803260 00000002 00000004 0003129B [`2..............]
    29C500F60 75E66848 00000001 0000001E 0003115B [Hh.u........[...]
    29C500F70 99507DB0 00000002 00000007 000313A7 [.}P.............]
    29C500F80 99507F70 00000002 00000007 000313A7 [p.P.............]
    29C500F90 995083D0 00000002 00000007 000313A7 [..P.............]
    29C500FA0 99508CA8 00000002 00000007 000313A7 [..P.............]
    29C500FB0 995093C0 00000002 00000007 000313A7 [..P.............]
    29C500FC0 99509AC0 00000002 00000007 000313A7 [..P.............]
    29C500FD0 9950AC58 00000002 00000007 000313A7 [X.P.............]
    29C500FE0 9950B290 00000002 00000007 000313A7 [..P.............]
    29C500FF0 9950D6A0 00000002 00000007 000313A7 [..P.............]
    29C501000 994FDAB0 00000002 00000007 000313A7 [..O.............]
    29C501010 99510640 00000002 00000007 000313A7 [@.Q.............]
    29C501020 99510B80 00000002 00000007 000313A7 [..Q.............]
    29C501030 99510FE0 00000002 00000007 000313A7 [..Q.............]
    29C501040 99511298 00000002 00000007 000313A7 [..Q.............]
    29C501050 99511998 00000002 00000007 000313A7 [..Q.............]
    29C501060 99511A78 00000002 00000007 000313A7 [x.Q.............]
    29C501070 99511B58 00000002 00000007 000313A7 [X.Q.............]
    29C501080 99512350 00000002 00000007 000313A7 [P#Q.............]
    29C501090 99513248 00000002 00000007 000313A7 [H2Q.............]
    29C5010A0 99513408 00000002 00000007 000313A7 [.4Q.............]
    29C5010B0 99513788 00000002 00000007 000313A7 [.7Q.............]
    29C5010C0 9CA04DE8 00000002 0000000B 000313A7 [.M..............]
    29C5010D0 995144C0 00000002 00000007 000313A7 [.DQ.............]
    29C5010E0 99515038 00000002 00000007 000313A7 [8PQ.............]
    29C5010F0 995152D8 00000002 00000007 000313A7 [.RQ.............]
    29C501100 995159F0 00000002 00000007 000313A7 [.YQ.............]
    Thanks,
    Amol

  • Getting error "ORA-03113: end-of-file on communication channel"

    HI ,
    When Iam trying to compile a procedure in SQL *PLUS ,iam getting the following error :
    ORA-03113: end-of-file on communication channel and the connection is getting lost .There is no issue with the code .
    When i compile the same procedure in sql developer ,connection is getting lost and getting error
    "Connection Closed
    Vendor Code 17008"
    Please help me to resolve the issue .
    Thanks in advance ...

    Hi
    Here is the code which is not getting compiled and is giving the above said error
    CREATE OR REPLACE PROCEDURE SP_Upload_CrossWalk
    (src_dom_nm IN VARCHAR2, src_sys_nm IN VARCHAR2, src_dta_elem_nm IN VARCHAR2, src_cd_val_txt IN VARCHAR2,
    src_cd_val_desc IN VARCHAR2,src_cd_val_grp_desc IN VARCHAR2, tgt_dom_nm IN VARCHAR2, tgt_sys_nm IN VARCHAR2,
    tgt_dta_elem_nm IN VARCHAR2, tgt_cd_val_txt IN VARCHAR2, tgt_cd_val_desc IN VARCHAR2,cd_map_typ_desc IN VARCHAR2,
    eff_dttm IN VARCHAR2, term_dttm IN VARCHAR2, errtext OUT VARCHAR2)
    IS
    src_dom NUMBER;
    src_key NUMBER;
    src_elem NUMBER;
    tgt_dom NUMBER;
    tgt_sys NUMBER;
    tgt_elem NUMBER;
    src_val_seq NUMBER;
    tgt_val_seq NUMBER;
    src_cd_val_seq NUMBER;
    cd_val_map_key_sq NUMBER;
    temp_var VARCHAR2(500);
    var_len NUMBER;
    map_code CHAR(1);
    invalidlength_exception EXCEPTION;
    unknown_exception Exception;
    BEGIN
         var_len := LENGTH(src_cd_val_txt);
         IF var_len > 20 THEN
         temp_var := 'Length of Source Code Value Text Name is more than 20 characters';
         RAISE invalidlength_exception;
         END IF;
         var_len := LENGTH(src_cd_val_desc);
         IF var_len > 255 THEN
         temp_var := 'Length of Code Value Desc is more than 255 characters';
         RAISE invalidlength_exception;
         END IF;
         var_len := LENGTH(tgt_cd_val_txt);
         IF var_len > 20 THEN
         temp_var := 'Length of Target Code Value Text Name is more than 20 characters';
         RAISE invalidlength_exception;
         END IF;
         var_len := LENGTH(tgt_cd_val_desc);
         IF var_len > 255 THEN
         temp_var := 'Length of Target Code Value Desc is more than 255 characters';
         RAISE invalidlength_exception;
         END IF;
         var_len := LENGTH(src_cd_val_grp_desc);
         IF var_len > 255 THEN
         temp_var := 'Length of Code Value Group Desc is more than 255 characters';
         RAISE invalidlength_exception;
         END IF;
         BEGIN
              SELECT dom_key INTO src_dom FROM cu_cdm_dom WHERE dom_nm = src_dom_nm;
              EXCEPTION
              WHEN TOO_MANY_ROWS THEN
                   temp_var := 'Too many rows for Domain Key value lookup for Source Domain Name: '||src_dom_nm;
                   RAISE TOO_MANY_ROWS;
              WHEN NO_DATA_FOUND THEN
                   temp_var := 'Domain Key value lookup failed for Source Domain Name: '||src_dom_nm;
                   RAISE NO_DATA_FOUND;
              WHEN OTHERS THEN
                   temp_var := 'Unknown error in the Domain Key value lookup for Source Domain Name: '||src_dom_nm||' :
    '|| sqlerrm;
                   RAISE unknown_exception;
         END;
         BEGIN
              SELECT sys_key INTO src_key FROM cu_cdm_sys WHERE sys_nm = src_sys_nm;
              EXCEPTION
              WHEN TOO_MANY_ROWS THEN
                   temp_var := 'Too many rows for System Key value lookup for Source System Name: '||src_sys_nm;
                   RAISE TOO_MANY_ROWS;           
              WHEN NO_DATA_FOUND THEN
                   temp_var := 'System Key value lookup failed for Source System Name: '||src_sys_nm;
                   RAISE NO_DATA_FOUND;
              WHEN OTHERS THEN
                   temp_var := 'Unknown error in the System Key value lookup for Source System Name: '||src_sys_nm||' :
    '|| sqlerrm;
                   RAISE unknown_exception;
         END;
         BEGIN
              SELECT dta_elem_key INTO src_elem FROM cu_cdm_dta_elem WHERE dta_elem_phys_nm = src_dta_elem_nm
              AND dom_key = src_dom AND sys_key = src_key;
              EXCEPTION
              WHEN TOO_MANY_ROWS THEN
                   temp_var := 'Too many rows for Data Element Key value lookup for Source Data Element Physical Name:
    '||src_dta_elem_nm|| ', Source Domain Key: '||src_dom||' and Source System Key: '||src_key;
                   RAISE TOO_MANY_ROWS;           
              WHEN NO_DATA_FOUND THEN
                   temp_var := 'Data Element Key value lookup failed for Source Data Element Physical Name:
    '||src_dta_elem_nm|| ', Source Domain Key: '||src_dom||' and Source System Key: '||src_key;
                   RAISE NO_DATA_FOUND;
              WHEN OTHERS THEN
                   temp_var := 'Unknown error in the Data Element Key value lookup for Source Data Element Physical
    Name: '||src_dta_elem_nm|| ', Source Domain Key: '||src_dom||' and Source System Key: '||src_key||' : '|| sqlerrm;
                   RAISE unknown_exception;
         END;
         BEGIN
              SELECT dom_key INTO tgt_dom FROM cu_cdm_dom WHERE dom_nm = tgt_dom_nm;
              EXCEPTION
              WHEN TOO_MANY_ROWS THEN
                   temp_var := 'Too many rows for Domain Key value lookup for Target Domain Name: '||tgt_dom_nm;
                   RAISE TOO_MANY_ROWS;           
              WHEN NO_DATA_FOUND THEN
                   temp_var := 'Domain Key value lookup failed for Target Domain Name: '||tgt_dom_nm;
                   RAISE NO_DATA_FOUND;
              WHEN OTHERS THEN
                   temp_var := 'Unknown error in the Domain Key value lookup for Target Domain Name: '||tgt_dom_nm||' :
    '|| sqlerrm;
                   RAISE unknown_exception;
         END;
         BEGIN
              SELECT sys_key INTO tgt_sys FROM cu_cdm_sys WHERE sys_nm = tgt_sys_nm;
              EXCEPTION
              WHEN TOO_MANY_ROWS THEN
                   temp_var := 'Too may rows for System Key value lookup for Target System Name: '||tgt_sys_nm;
                   RAISE TOO_MANY_ROWS;           
              WHEN NO_DATA_FOUND THEN
                   temp_var := 'System Key value lookup failed for Target System Name: '||tgt_sys_nm;
                   RAISE NO_DATA_FOUND;
              WHEN OTHERS THEN
                   temp_var := 'Unknown error in the System Key value lookup for Target System Name: '||tgt_sys_nm||' :
    '|| sqlerrm;
                   RAISE unknown_exception;
         END;
         BEGIN
              SELECT dta_elem_key INTO tgt_elem FROM cu_cdm_dta_elem WHERE dta_elem_phys_nm = tgt_dta_elem_nm
              AND dom_key = tgt_dom AND sys_key = tgt_sys;
              EXCEPTION
              WHEN TOO_MANY_ROWS THEN
                   temp_var := 'Too many rows for Data Element Key value lookup for Target Data Element Physical Name:
    '||tgt_dta_elem_nm|| ', Target Domain Key: '||tgt_dom||' and Target System Key: '||tgt_sys;
                   RAISE TOO_MANY_ROWS;           
              WHEN NO_DATA_FOUND THEN
                   temp_var := 'Data Element Key value lookup failed for Target Data Element Physical Name:
    '||tgt_dta_elem_nm|| ', Target Domain Key: '||tgt_dom||' and Target System Key: '||tgt_sys;
                   RAISE NO_DATA_FOUND;
              WHEN OTHERS THEN
                   temp_var := 'Unknown error in the Data Element Key value lookup for Target Data Element Physical
    Name: '||tgt_dta_elem_nm|| ', Target Domain Key: '||tgt_dom||' and Target System Key: '||tgt_sys||' : '|| sqlerrm;
                   RAISE unknown_exception;
         END;
         BEGIN
              SELECT MIN(cd_map_typ_cd) INTO map_code FROM cu_cdm_cd_map_typ WHERE cd_map_typ_desc = cd_map_typ_desc;
              EXCEPTION
              WHEN TOO_MANY_ROWS THEN
                   temp_var := 'Too many values for Code Map Type Code value lookup for Code Map Type Desc:
    '||cd_map_typ_desc;
                   RAISE TOO_MANY_ROWS;           
              WHEN NO_DATA_FOUND THEN
                   temp_var := 'Code Map Type Code value lookup failed for Code Map Type Desc: '||cd_map_typ_desc;
                   RAISE NO_DATA_FOUND;
              WHEN OTHERS THEN
                   temp_var := 'Unknown error in the Code Map Type Code value lookup for Code Map Type Desc:
    '||cd_map_typ_desc||' : '|| sqlerrm;
                   RAISE unknown_exception;
         END;     
         BEGIN
              SELECT cu_cdm_src_cd_val_grp_key_sq.nextval INTO src_cd_val_seq FROM dual;
              EXCEPTION
              WHEN OTHERS THEN
                   temp_var := 'Error in generating the value for the sequence CU_CDM_SRC_CD_VAL_GRP_KEY_SQ'||' : '||
    sqlerrm;
                   RAISE unknown_exception;
         END;      
         BEGIN
              SELECT cu_cdm_cd_val_key_sq.nextval INTO src_val_seq FROM dual;
              EXCEPTION
              WHEN OTHERS THEN
                   temp_var := 'Error in generating the value (source) for the sequence CU_CDM_CD_VAL_KEY_SQ'||' : '||
    sqlerrm;
                   RAISE unknown_exception;
         END;
         BEGIN
              SELECT cu_cdm_cd_val_key_sq.nextval INTO tgt_val_seq FROM dual;
              EXCEPTION
              WHEN OTHERS THEN
                   temp_var := 'Error in generating the value (target) for the sequence CU_CDM_CD_VAL_KEY_SQ'||' : '||
    sqlerrm;
                   RAISE unknown_exception;
         END;
         BEGIN
              SELECT cu_cdm_cd_val_map_key_sq.nextval INTO cd_val_map_key_sq FROM dual;
              EXCEPTION
              WHEN OTHERS THEN
                   temp_var := 'Error in generating the value for the sequence CU_CDM_CD_VAL_MAP_KEY_SQ'||' : '||
    sqlerrm;
                   RAISE unknown_exception;
         END;
         BEGIN
              BEGIN
                   INSERT INTO cu_cdm_cd_val_mstr(cd_val_key, cd_val_eff_dttm, dta_elem_key, cd_val_txt,
    cd_val_desc, coode_val_term_dttm)
                   VALUES(src_val_seq, to_date(eff_dttm, 'MM-DD-YYYY'), src_elem, src_cd_val_txt,
    src_cd_val_desc, to_date(term_dttm, 'MM-DD-YYYY'));
                   EXCEPTION
                   WHEN DUP_VAL_ON_INDEX THEN
                        temp_var := 'Primary Key Violation, key already exists in the table CU_CDM_CD_VAL_MSTR';
                        RAISE DUP_VAL_ON_INDEX;
                   WHEN OTHERS THEN
                        temp_var := 'Unknown error inserting into the table CU_CDM_CD_VAL_MSTR :'||' : '|| sqlerrm;
                        RAISE unknown_exception;
              END;
              BEGIN
                   INSERT INTO cu_cdm_cd_val_mstr(cd_val_key, cd_val_eff_dttm, dta_elem_key, cd_val_txt,
    cd_val_desc, coode_val_term_dttm)
                   VALUES(tgt_val_seq, to_date(eff_dttm, 'MM-DD-YYYY'), tgt_elem, tgt_cd_val_txt,
    tgt_cd_val_desc, to_date(term_dttm, 'MM-DD-YYYY'));
                   EXCEPTION
                   WHEN DUP_VAL_ON_INDEX THEN
                        temp_var := 'Primary Key Violation, key already exists in the table CU_CDM_CD_VAL_MSTR';
                        RAISE DUP_VAL_ON_INDEX;
                   WHEN OTHERS THEN
                        temp_var := 'UUnknown error inserting into the table CU_CDM_CD_VAL_MSTR'||' : '|| sqlerrm;
                        RAISE unknown_exception;
              END;
              BEGIN
                   INSERT INTO cu_cdm_src_cd_val_grp(src_cd_val_grp_key, src_cd_val_grp_eff_dttm,
    src_cd_val_grp_desc, src_cd_val_term_dttm)
                   VALUES(src_cd_val_seq, to_date(eff_dttm, 'MM-DD-YYYY'), src_cd_val_grp_desc,
    to_date(term_dttm, 'MM-DD-YYYY'));
                   EXCEPTION
                   WHEN DUP_VAL_ON_INDEX THEN
                        temp_var := 'Primary Key Violation, key already exists in the table CU_CDM_SRC_CD_VAL_GRP';
                        RAISE DUP_VAL_ON_INDEX;
                   WHEN OTHERS THEN
                        temp_var := 'Unknown error inserting into the table CU_CDM_SRC_CD_VAL_GRP'||' : '|| sqlerrm;
                        RAISE unknown_exception;
              END;
              BEGIN
                   INSERT INTO cu_cdm_cd_val_map(cd_val_map_key, cd_map_eff_dttm, cd_map_typ_cd,
    cd_map_term_dttm, tgt_cd_val_key, tgt_cd_val_eff_dttm, src_cd_val_grp_key, src_cd_val_grp_eff_dttm)
                   VALUES(cd_val_map_key_sq, to_date(eff_dttm, 'MM-DD-YYYY'), map_code, to_date(term_dttm,
    'MM-DD-YYYY'),
                   tgt_val_seq, to_date(eff_dttm, 'MM-DD-YYYY'), src_cd_val_seq, to_date(eff_dttm,
    'MM-DD-YYYY'));
                   EXCEPTION
                   WHEN DUP_VAL_ON_INDEX THEN
                        temp_var := 'Primary Key Violation, key already exists in the table CU_CDM_CD_VAL_MAP';
                        RAISE DUP_VAL_ON_INDEX;
                   WHEN OTHERS THEN
                        temp_var := 'Unknown error inserting into the table CU_CDM_CD_VAL_MAP'||' : '|| sqlerrm;
                        RAISE unknown_exception;
              END;
    END;
         COMMIT;
    EXCEPTION
              WHEN NO_DATA_FOUND THEN
              errtext := temp_var ||' : '|| sqlerrm;
              WHEN TOO_MANY_ROWS THEN
         errtext := temp_var ||' : '|| sqlerrm;
              WHEN DUP_VAL_ON_INDEX THEN
              errtext := temp_var ||' : '|| sqlerrm;
              WHEN invalidlength_exception THEN
              errtext := temp_var;
    WHEN unknown_exception THEN
    errtext := temp_var ||' : '|| sqlerrm;     
              WHEN OTHERS THEN
              errtext := sqlcode ||' : '|| sqlerrm;
    END SP_Upload_CrossWalk;
    Please help me in this regard
    Regards
    Deepak

  • How do I publish an iMovie to YouTube?  (Beginner here and I keep getting a communication error)

    When publishing iMovie to YouTube I keep getting a communication error at the end saying to make sure I am connected to the internet.  Can anyone tell me why this is?

    Thanks for your reply Matt, that is what I have been doing, but I was really hoping it would be possible to do this from the Sharing menu on either or both of my iPhone or iMovie.
    I guess I shall be disappointed yet again. As so often, "So much promise, so little delivery."

  • Error while posting FB50 transaction code

    Hi I am getting the below error while doing FB50 transaction code. Please help me
    My company code is using EUR & country is Greece
    Company code not assigned to country or country to calculation procedure
    Message no. FF703
    Diagnosis
    An error occurred when checking the tax code. Either the assignment of company code and country or of country and calculation procedure is not correct.
    Procedure
    Check the system settings.
    To do this, choose Maintain entries (F5).
    If the program error occurred
    In a standard SAP program, then create an OSS message
    In a program you wrote yourself, then correct the program.
    Thanks
    Kishore

    Hi
    Go to OBBG -->Assign Country to Calculation Procedure and assign the Tax procedure( ie like TAXIN) to the GREECE Country.
    This helps you resolve your issue.
    Regards
    Venkat

  • SQL startup  Error:ORA-03113: end-of-file on communication channel

    Hello All,
    Oracle 11g 11.2.0.2 Expression Edition
    I made the number of processes to 1 by issuing the below command.
    SQL> alter system set processes = 1;
    SQL>shutdown immediateI am getting the below error when I issued startup command.
    SQL> startup;
    ORA-03113: end-of-file on communication channelalert log:
    Fri Dec 28 14:09:24 2012
    PMON started with pid=2, OS id=2984
    Fri Dec 28 14:09:24 2012
    PSP0 started with pid=3, OS id=5788
    Fri Dec 28 14:09:25 2012
    ORA-00020: No more process state objects available
    ORA-20 errors will not be written to the alert log for
    the next minute. Please look at trace files to see all
    the ORA-20 errors.
    Process GEN0 submission failed with error = 20
    USER (ospid: 4780): terminating the instance due to error 444
    Fri Dec 28 14:09:25 2012
    VKTM started with pid=4, OS id=1676 at elevated priority
    Instance terminated by USER, pid = 4780How to startup my database again?

    alert log:
    Starting up:
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production.
    Using parameter settings in server-side pfile C:\ORACLEXE\APP\ORACLE\PRODUCT\11.2.0\SERVER\DATABASE\INITXE.ORA
    System parameters with non-default values:
      processes                = 6
      sessions                 = 32
      spfile                   = "C:\ORACLEXE\APP\ORACLE\PRODUCT\11.2.0\SERVER\DBS\SPFILEXE.ORA"
      memory_target            = 1G
      control_files            = "C:\ORACLEXE\APP\ORACLE\ORADATA\XE\CONTROL.DBF"
      compatible               = "11.2.0.0.0"
      db_recovery_file_dest    = "C:\oraclexe\app\oracle\fast_recovery_area"
      db_recovery_file_dest_size= 10G
      undo_management          = "AUTO"
      undo_tablespace          = "UNDOTBS1"
      remote_login_passwordfile= "EXCLUSIVE"
      dispatchers              = "(PROTOCOL=TCP) (SERVICE=XEXDB)"
      shared_servers           = 4
      job_queue_processes      = 4
      audit_file_dest          = "C:\ORACLEXE\APP\ORACLE\ADMIN\XE\ADUMP"
      db_name                  = "XE"
      open_cursors             = 300
      diagnostic_dest          = "C:\ORACLEXE\APP\ORACLE"
    Fri Dec 28 14:06:59 2012
    PMON started with pid=2, OS id=2248
    Fri Dec 28 14:06:59 2012
    PSP0 started with pid=3, OS id=3700
    Fri Dec 28 14:07:00 2012
    VKTM started with pid=4, OS id=4492 at elevated priority
    Fri Dec 28 14:07:00 2012
    ORA-00020: No more process state objects available
    VKTM running at (10)millisec precision with DBRM quantum (100)ms
    ORA-20 errors will not be written to the alert log for
    the next minute. Please look at trace files to see all
    the ORA-20 errors.
    Process GEN0 submission failed with error = 20
    USER (ospid: 6076): terminating the instance due to error 444
    Instance terminated by USER, pid = 6076
    Fri Dec 28 14:09:07 2012
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_1 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =10
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up:
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production.
    Using parameter settings in server-side pfile C:\ORACLEXE\APP\ORACLE\PRODUCT\11.2.0\SERVER\DATABASE\INITXE.ORA
    System parameters with non-default values:
      processes                = 6
      sessions                 = 32
      spfile                   = "C:\ORACLEXE\APP\ORACLE\PRODUCT\11.2.0\SERVER\DBS\SPFILEXE.ORA"
      memory_target            = 1G
      control_files            = "C:\ORACLEXE\APP\ORACLE\ORADATA\XE\CONTROL.DBF"
      compatible               = "11.2.0.0.0"
      db_recovery_file_dest    = "C:\oraclexe\app\oracle\fast_recovery_area"
      db_recovery_file_dest_size= 10G
      undo_management          = "AUTO"
      undo_tablespace          = "UNDOTBS1"
      remote_login_passwordfile= "EXCLUSIVE"
      dispatchers              = "(PROTOCOL=TCP) (SERVICE=XEXDB)"
      shared_servers           = 4
      job_queue_processes      = 4
      audit_file_dest          = "C:\ORACLEXE\APP\ORACLE\ADMIN\XE\ADUMP"
      db_name                  = "XE"
      open_cursors             = 300
      diagnostic_dest          = "C:\ORACLEXE\APP\ORACLE"
    Fri Dec 28 14:09:24 2012
    PMON started with pid=2, OS id=2984
    Fri Dec 28 14:09:24 2012
    PSP0 started with pid=3, OS id=5788
    Fri Dec 28 14:09:25 2012
    ORA-00020: No more process state objects available
    ORA-20 errors will not be written to the alert log for
    the next minute. Please look at trace files to see all
    the ORA-20 errors.
    Process GEN0 submission failed with error = 20
    USER (ospid: 4780): terminating the instance due to error 444
    Fri Dec 28 14:09:25 2012
    VKTM started with pid=4, OS id=1676 at elevated priority
    Instance terminated by USER, pid = 4780pfile.ora
    xe.__db_cache_size=239075328
    xe.__java_pool_size=4194304
    xe.__large_pool_size=12582912
    xe.__oracle_base='C:\oraclexe\app\oracle'#ORACLE_BASE set from environment
    xe.__pga_aggregate_target=427819008
    xe.__sga_target=645922816
    xe.__shared_io_pool_size=75497472
    xe.__shared_pool_size=306184192
    xe.__streams_pool_size=0
    *.audit_file_dest='C:\oraclexe\app\oracle\admin\XE\adump'
    *.compatible='11.2.0.0.0'
    *.control_files='C:\oraclexe\app\oracle\oradata\XE\control.dbf'
    *.db_name='XE'
    *.DB_RECOVERY_FILE_DEST_SIZE=10G
    *.DB_RECOVERY_FILE_DEST='C:\oraclexe\app\oracle\fast_recovery_area'
    *.diagnostic_dest='C:\oraclexe\app\oracle\.'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=XEXDB)'
    *.job_queue_processes=4
    *.memory_target=1024M
    *.open_cursors=300
    *.processes=100
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sessions=80
    *.shared_servers=4
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS1'

  • Could not commit transaction Error 1 Detected During Transaction G/L Account

    hi experts
    when i was adding Sales Order i am getting an error as Could not commit transaction Error 1 Detected During Transaction G/L Account

    Hi,
    Plz find the following threads:
    Transaction failure with error message \&quot;Error -1 detected during transaction\&quot; when update the G\\L Account D…
    "Could not commit transaction: Error -1 detected during transaction"
    Could not commit transaction: Error -1 detected during transaction 'Payment Methods for Payment Wizard' (OPYM)
    Could not commit transaction when inserting new items

  • "Could not commit transaction: Error -1 detected during transaction"

    hi guys,
    im getting this error "Could not commit transaction: Error -1 detected during transaction" when trying to create standard document/s. i am now using B1 8.8, MS SQL 2008.
    originally, my program was written for B1 2005, MS SQL 2005, and it WORKED.
    we upgraded into B1 8.8, MS SQL 2008, and now my program is not working. it is now having the mentioned error upon committing transaction (vCompany.EndTransaction(wf_Commit)). tried removing transaction handling, and it WORKED. also, tried simplifying the program, instead of creating multiple documents, i modified it in just creating one document with transaction handling, and it WORKED.
    initialliy, this issue seems to be related to MS SQL 2008.
    please help, thanks.

    Hi Emmanuel........
    You get this error due to the Approval Procedure.
    Please check if it is activated then please deactivate it from Administration> Approval> Approval Template.......
    Then try.......
    Regards,
    Rahul

  • I could not get ExportPDF to work. Something about a network error when trying to sign in.

    I could not get ExportPDF to work. Trying to convert a pdf to a Word document. Got an error message. Something about a network error when attempting to sign in.

    Try the following:
    1. Reset
    Hold the Sleep and Home button down until you see the Apple logo
    2. Restore:
    http://support.apple.com/kb/HT1414
    3. Recovery:
    http://support.apple.com/kb/HT1808

Maybe you are looking for