SAP Knowledge Base Article - Preview

2538515 - Error in Phase MAIN_NEWBAS/TABIM_UPG on invalid sequence: DDLOG_SEQ

Symptom

During system upgrade with SUM+DMO, it fails in Phase MAIN_NEWBAS/TABIM_UPG with below error:

Last error code set:
Calling '/usr/sap/SID/DVEBMGSXX/exe/tp' failed with return code 234, check
/usr/sap/SID/SUM/abap/log/SAPup.ECO for details

SAPUp.ECO log:
------------------------------------------------------

TRACE-INFO: 472:  [     dev trc,00000]    ? ,  ? ,  ? ,  ? );
TRACE-INFO: 473:  [dbsdbsql.cpp,00000]  *** ERROR =>   prepare() of C_0019, rc=1, rcSQL=313
TRACE-INFO: 474:  [dbslsdb.cpp ,00000]  *** ERROR => PREPARE C_0019 on connection 0, rc=313
TRACE-INFO: 475:  [     dev trc,00000]  SQLCODE    : 313
TRACE-INFO: 476:  [     dev trc,00000]  SQLERRTEXT : invalid sequence: DDLOG_SEQ: line 1 col 83 (at pos 82)
TRACE-INFO: 477:  [     dev trc,00000]  sc_p=1116cb4f8,no=19,idc_p=111730b28,con=0,act=0,slen=120,smax=256,#vars=4,stmt=111a4fc10,table=DDLOG
TRACE-INFO: 478:  [     dev trc,00000]  stmtid = <1//bas/749_REL/src/krn/dbi/dbs/dbsynseq   /566/20170804145240>
TRACE-INFO: 479:  [     dev trc,00000]  INSERT INTO DDLOG ( SEQNUMBER,  TIMESTAMP, SYSTEMID, NBLENGTH, NOTEBOOK) VALUES ( DDLOG_SEQ.NEXTVAL,\
TRACE-INFO: 480:  [     dev trc,00000]    ? ,  ? ,  ? ,  ? );
TRACE-INFO: 481:  [    dbsynseq,00000]  ***LOG BZY=>unexpected return code 103 calling INS
TRACE-INFO: 482:  [    dbsync  ,00000]  ***LOG BZY=>unexpected return code 2 calling ins_ddlog
HALT 20170917022708

tp returncode summary:

TOOLS: Highest return code of single steps was: 16
ERRORS: Highest tp internal error was: 0234
tp finished with return code: 234
meaning:
  uncaught error -> function err_exit called

*Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.


Read more...

Environment

SAP Netweaver

Product

SAP NetWeaver all versions

Keywords

invalid sequence, DDLOG_SEQ, TABIM_UPG, return code: 234, SQLCODE: 313, unexpected return code 103 calling INS , KBA , BC-UPG-TLS-TLA , Upgrade tools for ABAP , HAN-DB-ENG , SAP HANA DB Engines , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.