Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Background job cancelled?

Former Member
0 Kudos

Hi all,

One of my back gound job was cancelled due to following details:

IN SOUrce code:

-


> INSERT ZSTAT from table ztab.

Exception:

The ABAP/4 open sql array inserts results in duplicate records.

Please suggest me how can i resolve this...

Sachin.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

It seems it is trying to insert duplicate record into the ztable. Please refer the data.

Thanks,

Sriram Ponna.

3 REPLIES 3

Former Member
0 Kudos

Hi,

It seems it is trying to insert duplicate record into the ztable. Please refer the data.

Thanks,

Sriram Ponna.

0 Kudos

Hi Sriram,

This job is executing from past so many years,we never got this type of exception.

Sachin.

0 Kudos

Hi

delete the adjacent duplicated from ztab based on primary key and compare the record with database table .

if internal table data pkey < > database table data pkey

then do INSERT

endif.

try this.

thanks

Ramya S