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

Update problem in BAPI_INSPOPER_RECORDRESULTS

Former Member
0 Likes
891

Hi

I am using the BAPI_INSPOPER_RECORDRESULTS for recording results for data coming from IDOCs. I am using this BAPI two times for two different materials in a program.

The problem is that while after COMMIT WORK during the second time, it is giving an express message that " Update terminated ".

Please Help

Regards Anuraag

5 REPLIES 5
Read only

piyush_mathur
Active Participant
0 Likes
792

Hi Anurag,

Use COMMIT work and WAIT every time.

Thanks

Piyush

Rewards point, if point helpfull

Read only

0 Likes
792

I am using the same.

I have tried increasing the WAIT time also but this does not helps.

Read only

0 Likes
792

Check the Function Module Documentation:

Sequence for the confirmations

This method can be called up several times for an operation instance. If you switch to another operation instance, the confirmation is considered complete for the previous instance, and no more confirmations can be made for this instance before a COMMIT WORK (BapiService.TransactionCommit).

If an external program wants to make confirmations for several inspection lots and operations, we recommend that these confirmations are sorted according to the inspection lot and operation.

Regards,

Piyush

Read only

0 Likes
792

Yes I am doing the same. After recording the results for one time, i COMMIT and WAIT.

My inspection operation number(INSPOPER) is same but the inspection lot number(INSPLOT) and the table CHAR_RESULTS changes.

Read only

0 Likes
792

Hi Piyush, Any updates on this issue ?