SAP Knowledge Base Article - Preview

2902128 - Solman CCDB extractor programs dumping with runtime error 'STRING_OFFSET_TOO_LARGE'

Symptom

The SAP system is generating the following dumps when Solution Manager CCDB extractor programs are running for DB2 databases:

_________________________________________________________________________________________________________________
Category ABAP Programming Error
Runtime Errors STRING_OFFSET_TOO_LARGE
Except. CX_SY_RANGE_OUT_OF_BOUNDS
ABAP Program CL_DB2_CCDB_EXTRACTOR=========CP
Application Component BC-DB-DB2
Date and Time 02.03.2020 20:02:24

Short Text
Invalid access to a string (offset too large)

What happened?
Error in the ABAP Application Program

The current ABAP program "CL_DB2_CCDB_EXTRACTOR=========CP" had to be terminated because it has come across a statement
that unfortunately cannot be executed.

RFC Caller Information
Transaction.........
Call program...........CL_DBA_UTILITIES==============CP
Function module..... DBA_SOLMAN_CCDB_EXTRACT
Call destination..... NONE

Information on where terminated
The termination occurred in ABAP program "CL_DB2_CCDB_EXTRACTOR=========CP",
in "EXTRACT_PTF_STATUS". The main program
was "SAPMSSY1".

In the source code, the termination point is in line 46 of (Include)
program "CL_DB2_CCDB_EXTRACTOR=========CM002".
The termination is due to exception "CX_SY_RANGE_OUT_OF_BOUNDS" occurring in
procedure "EXTRACT_PTF_STATUS" "(METHOD)".
This exception was not handled locally or declared in the RAISING
clause in the procedure's signature however.
The procedure is in program "CL_DB2_CCDB_EXTRACTOR=========CP". The source
code begins in line 1 of
(include) program "CL_DB2_CCDB_EXTRACTOR=========CM002".

Source Code Extract
16 DATA: ptf_status TYPE string.
17
18 DATA: ex_dba_ccdb TYPE REF TO cx_dba_ccdb.
19
20
21 CALL FUNCTION 'STU3_GET_MEPL'
22 EXPORTING
23 remote_dbcon = me->sys_ref->sys_data-dbcname
24 IMPORTING
25 sysprint_t = sysprint_t
26 EXCEPTIONS
27 dsnutils_error = 1
28 OTHERS = 2.
29 IF sy-subrc <> 0.
30 ex_dba_ccdb = cx_dba_ccdb=>create( cfg_store = me->mv_cfg_store ).
31 RAISE EXCEPTION ex_dba_ccdb.
32 ENDIF.
33
34 CLEAR ptf_status_t.
35
36 LOOP AT sysprint_t INTO sysprint_wa.
37
38 CLEAR ptf_status_wa.
39
40 * see report RSDB2MEPL for parsing MEPL sysprint output
41
42 IF sysprint_wa-text <> ' ' AND sysprint_wa-text+1(4) <> 'DSNU'. " ignore empty and statu
43
44 ptf_status = sysprint_wa-text+86(34).
45
>>>>> IF ptf_status+5(3) = 'DSN'.
47
48 ptf_status_wa-module = ptf_status+5(8).
49 ptf_status_wa-date = ptf_status+13(8).
50 ptf_status_wa-ptfno = ptf_status+21(7).
51 " ptf_status_wa-text = ptf_status. "XXX REMOVE IN PRODUCTION USE!!!
52
53 APPEND ptf_status_wa TO ptf_status_t.
54
55 ENDIF.
56 ENDIF.
57
58 ENDLOOP.
59
60 SORT ptf_status_t BY module ASCENDING ptfno DESCENDING.
61 DELETE ADJACENT DUPLICATES FROM ptf_status_t COMPARING module.
62
63 me->initialize( ptf_status_t ).
64
65 me->add_field( ddf = 'MODULE' name = 'MODULE' role = me->co_role_key ).

Internal notes
The termination was triggered in function "ab_StringOutOfBounds" of the SAP
kernel, in
line 3841 of module "//bas/753_STACK/src/krn/abap/runt/abstring.c#2".
The internal operation just processed is "OFFL".
Internal mode started at 20200302200223.
_________________________________________________________________________________________________________________


With C-Stack:
  
SAP (R) - R/3(TM) Callstack, Version 1.0
Copyright (C) SAP AG. All rights reserved.
Callstack without Exception:
App : disp+work.EXE (pid=17788)
When : 3/2/2020 20:2:24.514
Threads : 2
Computer Name : HOEGSP02
User Name : XShoeGSPsys
Number of Processors: 8
Processor Type: Intel64 Family 6 Model 45 Stepping 2
Windows Version : 6.2 Current Build: 9600
State Dump for Thread Id 1190
000000CA79F558A0 00007FF7066B740D 00007FF70983C668 disp+work!DumpStacks [ntstcdbg.c (563)]
000000CA79F55BA0 00007FF706979999 00007FF9E3A6C560 disp+work!NTDebugProcess [ntstcdbg.c (391)]
000000CA79F55BD0 00007FF7073ABA13 0000000000000000 disp+work!CTrcStack2 [dptstack.c (296)]
000000CA79F55C20 00007FF706B2C58F 0000000000000001 disp+work!rabax_CStackSave [abrabax.c (5587)]
000000CA79F565D0 00007FF7073658CC 0000000000000000 disp+work!rabax [abrabax.c (1359)]
000000CA79F56620 00007FF706DDA2FD 0000000000000014 disp+work!ab_StringOutOfBounds [abstring.c (384
000000CA79F566A0 00007FF706649DAA 000007DC734462B8 disp+work!ab_StringOffsetLength [abstring.c (31
000000CA79F56730 00007FF70669EBFD 0000000000000014 disp+work!ab_joffl [abofflen.c (157)]
000000CA79F57300 00007FF70668D9F7 0000000000000003 disp+work!ab_extri [abextri.c (1475)]
000000CA79F57380 00007FF70668D812 0000000000000003 disp+work!ab_xevent [abrunt1.c (281)]
000000CA79F57440 00007FF70668BEAD 000007DC7346B2D0 disp+work!ab_dstep [abdynpro.c (690)]
000000CA79F57920 00007FF7066D3A8E 0020002000200020 disp+work!dynpmcal [dymainstp.c (2996)]
000000CA79F579B0 00007FF70668C2E8 0000000000000020 disp+work!dynppbo0 [dymainstp.c (724)]
000000CA79F57B10 00007FF70668C803 0000000000000000 disp+work!dynprctl [dymainstp.c (519)]
000000CA79F5F640 00007FF7066E7C86 0000000000000000 disp+work!dynpen00 [dymain.c (2629)]
000000CA79F5F7D0 00007FF7066E7A53 00000000000000F1 disp+work!ThrtCallAbapVm [thxxdynp.c (1739)]
000000CA79F5F9B0 00007FF7067BFF0E 0000000000000001 disp+work!RfcHandler::handleRequest [thrtrfchan
000000CA79F5FB30 00007FF7067C0813 0000784D0000049A disp+work!ThHandleRequest [thxxhead.c (2222)]
000000CA79F5FBA0 00007FF7067DF500 0000000000000001 disp+work!TskhLoop [thxxhead.c (2559)]
000000CA79F5FC30 00007FF7066FF51E 00000000000775B0 disp+work!ThStart [thxxhead.c (933)]
000000CA79F5FCB0 00007FF7066B61EA FFFFFFFFFFFFFFFE disp+work!DpMain [dpinit.c (532)]
000000CA79F5FCE0 00007FF706B296EF 00007FF706B0DD38 disp+work!nlsui_main [thxxanf.c (79)]
000000CA79F5FD10 00007FF9ECEF13F2 0000000000000000 disp+work!__tmainCRTStartup [crtexe.c (623)]
000000CA79F5FD40 00007FF9ED3654F4 00007FF9ECEF13D0 KERNEL32!BaseThreadInitThunk
000000CA79F5FD90 0000000000000000 0000000000000000 ntdll!RtlUserThreadStart
State Dump for Thread Id 1660
000000CA7F02F770 00007FF9EA588B45 000000CAD0FC1A9A ntdll!ZwFsControlFile
000000CA7F02F7E0 00007FF7066B6267 0000000000000001 KERNELBASE!ConnectNamedPipe
000000CA7F02F880 00007FF9E39B4F7F 0000000000000000 disp+work!SigIMsgFunc [signt.c (732)]
000000CA7F02F8B0 00007FF9E39B5126 00007FF9E3A6CB80 MSVCR120!beginthreadex
000000CA7F02F8E0 00007FF9ECEF13F2 00007FF9E39B5024 MSVCR120!endthreadex
000000CA7F02F910 00007FF9ED3654F4 00007FF9ECEF13D0 KERNEL32!BaseThreadInitThunk
000000CA7F02F960 0000000000000000 0000000000000000 ntdll!RtlUserThreadStart


Read more...

Environment

  • SAP Netweaver ABAP any version
  • Db2 z/OS v10 & v11

Product

SAP NetWeaver all versions ; SAP Solution Manager 7.2

Keywords

Diagnostics  PI60069 UTILITY SERVICEABILITY DIAGNOSE DISPLAY MEPL APAR PTF
, KBA , BC-DB-DB2 , DB2 for z/OS , Problem

About this page

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

Search for additional results

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