Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

BAPI BAPI_INSPOPER_RECORDRESULTS force close issue

Hello,

Has anyone had any experience with this BAPI? I posted this question in the ABAP forum but have not gotten any responses.

I'm trying to use this function BAPI_INSPOPER_RECORDRESULTS to change sample results.

I want to invalidate the results with a "/" attribute.

I am receiving this error message:

QI 127 Sample ##### for characteristic w/confirmation no. ####### is not valid

Here is how the code works...

I am reading the sample_results table using function BAPI_INSPOPER_GETDETAIL

Then, I am adjusting the entries for the BAPI_INSPOPER_RECORDRESULTS this way:

sample_results-smpl_attr = '/'.

sample_results-smpl_inval = 'X'.

sample_results-evaluated = 'X'.

sample_results-closed = 'X'.

sample_results-evaluation = 'R'.

In QE71 I can do this, but I must use the Force Close option to get around the error.

Is there any way to run this with the Force Close option?

Is there some other Function I can use to update these results instead?

Thanks

Doug

Former Member
Not what you were looking for? View more on this topic or Ask a question