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

Snote 1705378 implementation

raya_hemanth
Explorer
0 Likes
1,123

Hi,

I am trying to apply the snote 1705378. When I try to download from tcode snote, I get message this is note is not available. Also, recently I am seeing new format of snote. Has SAP changed snote implementation methods. Appreciate help in this regards.

Thanks,

~Hemanth

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
919

Hi Raya,

There are no correction instructions in the note. Hence you are not able to see it via SNOTE.

Resolution (as given in Snote) is to call BAPI  BAPI_TRANSACTION_COMMIT with parameter WAIT = 'X' after calling the BAPI BAPI_INSPOPER_RECORDRESULTS.  It is necessary because 'BAPI_INSPOPER_RECORDRESULTS' makes a subscription to a refresh module which is otherwise not called.


4 REPLIES 4
Read only

PeterJonker
Active Contributor
0 Likes
919

I can get the note. Here is the most important part:

Symptom

The following dump occurs when saving the results of an inspection lot:

Runtime Error SAPSQL_ARRAY_INSERT_DUPREC
Exception CX_SY_OPEN_SQL_DB

...
The current ABAP program "SAPLQEBU" had to be terminated because one
of the statements could not be executed.
...
The termination occurred in
the ABAP program "SAPLQEBU" in "QEBU_QAMR_POSTING". The main program was
"RSM13000 ".
...

Environment

SAP Release independent

Reproducing the Issue

  1. Call the customer specific report which uses the BAPI BAPI_INSPOPER_RECORDRESULTS
  2. Record results for more than one characteristics
  3. Save the results
  4. Dump SAPSQL_ARRAY_INSERT_DUPREC occurs

Cause

The dump occurs because the system tries to insert an entry in the internal
table of the results, however this entry already exists in the
table.

Resolution

After calling the BAPI BAPI_INSPOPER_RECORDRESULTS the
BAPI  BAPI_TRANSACTION_COMMIT
with parameter WAIT = 'X' has to be called. It is necessary because
'BAPI_INSPOPER_RECORDRESULTS' makes a subscription to a refresh module which is
otherwise not called.

See Also

function module QEBU_QAMR_POSTING
...
243 *- Verbuchung der
Ergebnistabellen
>>>>> INSERT QAMR FROM TABLE QAMR_INSERT_TAB.
245 IF
SY-SUBRC <> NULL.
246 RAISE ERROR.
...
Read only

Former Member
0 Likes
920

Hi Raya,

There are no correction instructions in the note. Hence you are not able to see it via SNOTE.

Resolution (as given in Snote) is to call BAPI  BAPI_TRANSACTION_COMMIT with parameter WAIT = 'X' after calling the BAPI BAPI_INSPOPER_RECORDRESULTS.  It is necessary because 'BAPI_INSPOPER_RECORDRESULTS' makes a subscription to a refresh module which is otherwise not called.


Read only

0 Likes
919

Thanks Leena,

We are getting this error in standard transaction QE11. Since this note is just correction instruction, I guess I have to post to SAP.

Regards,

~Hemanth Raya

Read only

0 Likes
919

Hi,

You should be able to download SAP note  irrespective of correction instruction available in SAP note or note. Please check with your basis team if note is released otherwise check with SAP

Thanks

Sushil