Skip to Content
0
Dec 23, 2015 at 01:14 AM

PREP_INSTALL/RUN_RSPTBFIL_SPACE - Error during DMO for SUM

378 Views

Hi guys

While performing an Upgrade/Migration of a SAP NW 7.31 to 7.5 based in HANA, SUM tool stops in step PREP_INSTALL/RUN_RSPTBFIL_SPACE

In the log is shown an error in the job "RSPTBFIL"

4 ETQ311 Batch job "RSPTBFIL" with job count "22392000" scheduled

2 ETQ399 20151222213921: Job RSPTBFIL jobcount 22392000 still running...

1 ETQ359 RFC Login to: System="BWD", AsHost="UYCLSxxx" Nr="00", Client="000", GwHost="UYCLSxxx", GwService="sapgw00"

2 ETQ232 RFC Login succeeded

4 ETQ010 Date & Time: 20151222213951

1 ETQ233 Calling function module "SUBST_CHECK_BATCHJOB" by RFC

2 ETQ373 parameter "JOBNAME" = "RSPTBFIL"

2 ETQ373 parameter "JOBCOUNT" = "22392000"

2 ETQ373 parameter "IV_VERIFY" = " "

1 ETQ234 Call of function module "SUBST_CHECK_BATCHJOB" by RFC succeeded

4 ETQ010 Date & Time: 20151222213951

2 ETQ373 parameter "JOBSTATUS" = "A"

2 ETQ374 parameter "RC_CHECK" = "0"

2 ETQ373 parameter "JOBENDDATE" = "20151222"

2 ETQ373 parameter "JOBENDTIME" = "223921"

2EETQ262 Batchjob "RSPTBFIL" aborted

4 ETQ010 Date & Time: 20151222213951

1EETQ399 Last error code set is: Batchjob 'RSPTBFIL' with id '22392000' is aborted

1EETQ203 Upgrade phase "RUN_RSPTBFIL_SPACE" aborted with errors ("20151222213951")

When checking ST22, job fails due a dump

Category ABAP Programming Error

Runtime Errors SAPSQL_ARRAY_INSERT_DUPREC

Except. CX_SY_OPEN_SQL_DB

ABAP Program RSPTBFIL

Application Component BC-UPG-TLS-TLA

Date and Time 22.12.2015 22:39:21

Short text

The ABAP/4 Open SQL array insert results in duplicate database records.

What happened?

Error in the ABAP Application Program

The current ABAP program "RSPTBFIL" had to be terminated because it has

come across a statement that unfortunately cannot be executed.

Error analysis

An exception occurred that is explained in detail below.

The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught

in

procedure "ADD_BASIS_ORIG" "(FORM)", nor was it propagated by a RAISING clause.

Since the caller of the procedure could not have anticipated that the

exception would occur, the current program is terminated.

The reason for the exception is:

If you use an ABAP/4 Open SQL array insert to insert a record in

the database and that record already exists with the same key,

this results in a termination.

(With an ABAP/4 Open SQL single record insert in the same error

situation, processing does not terminate, but SY-SUBRC is set to 4.)

Information on where terminated

Termination occurred in the ABAP program "RSPTBFIL" - in "ADD_BASIS_ORIG".

The main program was "RSPTBFIL ".

In the source code you have the termination point in line 3520

of the (Include) program "RSPTBFIL_ORG".

The program "RSPTBFIL" was started as a background job.

Job Name....... "RSPTBFIL"

Job Initiator.. "DDIC"

Job Number..... 22392000

The termination is caused because exception "CX_SY_OPEN_SQL_DB" occurred in

procedure "ADD_BASIS_ORIG" "(FORM)", but it was neither handled locally nor

declared

in the RAISING clause of its signature.

The procedure is in program "RSPTBFIL "; its source code begins in line

3452 of the (Include program "RSPTBFIL_ORG ".

System environment

SAP Release..... 731

SAP Basis Level. 0004

Application server... "UYCLSxxx"

Network address...... "172.17.24.xxx"

Operating system..... "Windows NT"

Release.............. "6.3"

Hardware type........ "8x AMD64 Level"

Character length.... 16 Bits

Pointer length....... 64 Bits

Work process number.. 33

Shortdump setting.... "full"

Database server... "UYCLSxxx"

Database type..... "MSSQL"

Database name..... "BWD"

Database user ID.. "bwd"

Terminal.......... " "

Tried to find a SAP note regarding this, but none of them applies to this scenario. Any hint of what could be causing this?

I have performed a previous upgrade for a copy of this system and this error did not occur.

I understand its an error with a duplicated entry, but could not find which table is the culprit and how to overcome this.

Best

Martin