‎2005 Jan 04 4:54 PM
Hi, i really need an example call of the
"BAPI_INSPOPER_RECORDRESULTS"
because it always fails when I try to enter an inspection lot point result. The 4 "IMPORTING" parameters are straightforward but I have no clue which fields I have to set in the "SAMPLE_RESULTS" (type=BAPI2045D3) table.
System: SAP 4.6C.
Thanks alot.
‎2005 Jan 05 5:28 AM
<i>Did you check the documentation for the BAPI ? It looks informative and from the documentation, I also get the feeling that SAMPLE_RESULTS should not be filled , but this is the table where you get your result from the BAPI.</i>
Also check <b>BAPI_INSPOPER_GETDETAIL</b>. You should probably call this BAPI first to get the details for a particular inspection order and then call <b>BAPI_INSPOPER_RECORDRESULTS</b>
Let me know if that helped.
Regards,
Subramanian V.
Message was edited by: Subramanian Venkateswaran
‎2005 Jan 05 10:58 AM
Hi, thanks but it still doesn't work.
Here is the exact error message:
"The selected set in the transfer record deviates from TQSS1/TQ79" (ID=QT, NUM=408).
I have an inspection lot with 1 inspection point, so I filled ony the SAMPLE_RESULTS table:
INSPLOT = <Existing lot>
INSPCHAR = 0030
INSPSAMPLE = 0001
START_DATE, ... END_TIME = set to a today
INSPECTOR = sy-uname
CODE = 7000 ("Correct")
CODE_GRP = 70000000
Thanks for your time.
‎2005 Jan 05 1:26 PM
Hi,
I solved the problem myself.
The problem was that the BAPI expects the result in the SAMPLE_RESULTS table and not the CHAR_RESULTS table.
‎2007 Sep 26 6:57 AM
Hi Patrick,
Seen your post and m also having the same requirement.
Would you please tell me how to use this BAPI. I am an functional consultant and have a requirement of recording results of multiple lots at a time.
U r input will be helpful.
Points assured
Regards,
Rashmi