I'm trying to use BAPI_INSPOPER_RECORDRESULTS to record results for a physical sample. The results should be visible in QE23 after entering Inspection Lot, Operation, Work Center, Plant, and Physical Sample.
The BAPI does not return any error messages (nor success message), and I'm calling BAPI_TRANSACTION_COMMIT afterwards.
The hierarchy is:
Inspection Lot -> Operation -> Physical Sample -> characteristic ID for specific line to enter the result.
For some reason the results don't get saved for a specific Physical Sample number. It's strange because I'm able to see some changes being made by the BAPI on the Operation level, not exactly what I'm looking for but at least the BAPI is doing something. The goal is to enter letter 'A' or 'R' (accepted/rejected) on a given line in Physical Sample.
I've tried several combinations of data being passed and nothing seems to work. Any suggestions will help.