SAP Knowledge Base Article - Preview

2371520 - SysLog entry “Unexpected return value 1 when calling up DbSlR”

Symptom

  • The current SAP GUI session terminates when running a Dialog (DIA) work process with the error message Work process restarted; session terminated:

    WP.jpg

      
  • This error can also happen with a Batch (BTC) work process and in that case, the Job will be canceled with:

    Job log Time Message text uncoded 
    dd.mm.yyyy hh:mm:ss Job started 
    dd.mm.yyyy hh:mm:ss Step 001 started (program <program>, variant <variant>, user ID <user_name>) 
    [....]
    dd.mm.yyyy hh:mm:ss Job also cancelled due to process termination. See the system log


  • In both cases, the following entries can be seen in the transaction SM21 (SystemLog) in the same timestamp:


sm21.jpg

  • Checking the affected work process trace file in the work directory (in the above case, it is dev_w0), it shows:

    C Call to DbSlRollback96 while DBIF already active in DbSlExeRead96
    B ***LOG BZY=> unexpected return code 1 calling DbSlRollback [dbcon 3820]
    B ***LOG BYJ=> database function ROLLBACK for connection R/3 failed [dbcon 3823]
    B *** ERROR => DISTRIBUTED_TA_FAILED:
    [dbcon.c 2029]
    B {root-id=00505698709B1ED6A0AD04A84CD900BE}_{conn-id=00000000000000000000000000000000}_0
    B 00: name=R/3, con_id=000000000, state=ACTIVE , tx=NO , bc=NO , hc=NO , perm=YES, reco=NO , info=NO
    B timeout=000, con_max=255, con_opt=255, occ=NO , prog=
    M ***LOG R39=> ThIRollBack, db_rollback ( 016384) [thxxhead.c 14986]
    M in_ThErrHandle: 1
    M *** ERROR => ThIRollBack: db_rollback (step 4, th_errno 18, action 2, level 1) [thxxhead.c 11583]



            


Read more...

Environment

  • Operating System independent
  • Database independent
  • SAP NetWeaver
  • SAP Web Application Server for SAP S/4HANA
  • ABAP Platform

Product

ABAP platform all versions ; SAP NetWeaver all versions ; SAP Web Application Server for SAP S/4HANA all versions

Keywords

Dialog (DIA) work process, Work process restarted; session terminated, Batch (BTC) work process, Job also cancelled due to process termination. See the system log, SM21, work directory, unexpected return code 1 calling DbSlRollback, database function ROLLBACK for connection R/3 failed, DISTRIBUTED_TA_FAILED, ThIRollBack, db_rollback, ROLLBACK, memory resources, Heap Memory, LocalDrive\usr\sap\<SID>\SCS<XX>\work, SelMemClass: heap quota (DIA) exceeded, SelMemClass: heap quota (NONDIA) exceeded, User <usr_name> reached avail. heapsize, Increase abap/heap_area_total, StorAlloc: malloc, Heap Memory quota, abap/heap_area_dia, abap/heap_area_nondia, Heap Memory area has been exhausted, abap/heap_area_total, WP has reached abap/heaplimit , KBA , BC-CST-MM , Memory Management , 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.