‎2010 Mar 17 7:40 PM
Hello,
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
‎2011 Mar 20 7:26 AM
Hello Doug
Did you solve this? How? I have a simular problem. Thank you.
‎2013 Sep 12 11:58 PM
‎2013 Sep 13 12:48 PM
Wow this was long time ago. I had to go find out what I did.
I ended up doing using a call transaction to QE12. The screen flow was tricky but it works.
You can record the screen flow with SHDB and use the results for the call transaction code.