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

Entering in debugging mode

Former Member
0 Likes
1,272

Hello

I'm experiencing the following issue :

Iw32 is called by a call transaction in a customer program. In the process, a standard function (pm_partner_update)

ends with an abap runtime error SAPSQL_ARRAY_INSERT_DUPREC.

Instead of the short dump report, the enduser is entering in debugging mode, with the cursor placed on the failed command. Although he cannot do anything because

he has no debugging authorizations, is it possible to prevent the debug screen display?

Regards,

Philippe

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,138

The error is due to the Number range problem.

Please check the Number range for the Order in SNRO.

9 REPLIES 9
Read only

Former Member
0 Likes
1,139

The error is due to the Number range problem.

Please check the Number range for the Order in SNRO.

Read only

Former Member
0 Likes
1,138

Hi,

check,

SAP Note 196113

Regards

Adil

Read only

0 Likes
1,138

We effectively found inconsistencies with the order.

Corrected, the program is running well.

I wanted to know why and enduser with no debugging

authorizations entered in debug mode and if it's possible to prevent entering in debug mode

Regards,

Philippe

Read only

0 Likes
1,138

Check in Profile parameters ..

Read only

Former Member
0 Likes
1,138

Read only

0 Likes
1,138

The enduser have not the s_develop authorization. He enters in debugging mode after an abap runtime error on an insert operation. As he has no authorization, the only way to leave this mode is entering /nex in the command field.

Read only

0 Likes
1,138

Hi,

Normally in Production systems, no one will have access to enter into Debugging mode even after any short dump. Even if any one has that type of access, you can check with Security team, so that they can remove those authorizations.

Read only

Former Member
0 Likes
1,138

Hi Philipe,

I have the same abap runtime error SAPSQL_ARRAY_INSERT_DUPREC for the FM pm_partner_update but in the short dump report

Please, how did you solve the issue?

I appreaciate your help!

Regards,

Ari

Read only

0 Likes
1,138

we need to pass all the three key fields of IHPA table to avoid this duplicate entry error as it gets generated when you try to update duplicate records to master table . In my case i used I_count parameter of ihpa table to increament the counter . In each case if we do not use counters in that case it is bound to give you exception .so make sure you are not updating any duplicate entry .