Application Development and Automation 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: 
Read only

SAPSQL_ARRAY_INSERT_DUPREC in function module "ADDR_SAVE_INTERN"

Former Member
0 Likes
867

Hi ,

I am getting an SAPSQL_ARRAY_INSERT_DUPREC in function module "ADDR_SAVE_INTERN" at line WRITE_TO_DB ADRT

while posting a customer ( DEBMAS IDOC ) .

Strange thing abt this error is that the same IDOC gets processed the second time .

Any information on wat is highest address number , current address number , and how address are maintained would be helpful.

Thanks,

Lalitha Iyer

3 REPLIES 3
Read only

jaideepsharma
Active Contributor
0 Likes
648

Hi,

Please go through SAP NOTE 140212 and if applicable then implement it in your system. Hope it solves your problem.

KR Jaideep,

Read only

Former Member
0 Likes
648

Hi,

SAPSQL_ARRAY_INSERT_DUPREC means that it is trying to make an entry but the entry already exists.

It is creating a duplicate entry and hence the dump.

Check if you are passing some duplicate records.

regards,

Ankur Parab

Read only

Former Member
0 Likes
648

Hi ,

I am not able to replicate this error as its a random error while posting IDOCS of a message type DEBMAS which gets resolved in the next run .

Also I cannot find the IDOC number which caused this error .

On a quick look at the note 140212 I believe this error should only occur when we create a new address .

Regards ,

Lalitha .