How to retrieve the EXT_NO for INSPLOT that have not yet been completed?

Hello everyone, I’m new to SAP and BAPI, and I hope you can help me learn. I’m currently using the function module BAPI_INSPOPER_GETDETAIL with parameters INSPLOT, INSPOPER, and READ_SINGLE_RESULTS to retrieve data from the SINGLE_RESULTS table, then query EXT_NO from this table. However, this method only retrieves information for inspection lots that are completed with a “Pass” status. I need to retrieve the EXT_NO for all inspection lots, including those not completed or with a “Fail” status. Could anyone provide advice or an alternative method to achieve this? Thank you in advance!

Scroll to Top