QM BAPI RFC Used the same way in S/4HANA

BAPI_INSPOPER_RECORDRESULTS Record Inspection Results

Records inspection results for one operation of an inspection lot at characteristic, sample or single-value level, like QE01. It is used by LIMS, measuring devices and handheld interfaces that send lab results to SAP. Read the characteristics first with BAPI_INSPOPER_GETCHAR, check RETURN and RETURNTABLE, then call BAPI_TRANSACTION_COMMIT.

Function group
2045
Remote-enabled (RFC)
Yes
Type
BAPI

Importing parameters

ParameterTypeDescriptionRequired
INSPLOTBAPI2045L2-INSPLOTInspection lot numberYes
INSPOPERBAPI2045L2-INSPOPERInspection operation numberYes
INSPPOINTDATABAPI2045L4Inspection point data—
HANDHELD_APPLICATIONBAPI2045L5-HANDHELD_APPLICATIONCalled from handheld application—

Exporting parameters

ParameterTypeDescription
RETURNBAPIRET2Return messages

Tables parameters

ParameterTypeDescriptionRequired
CHAR_RESULTSBAPI2045D2Characteristic results—
SAMPLE_RESULTSBAPI2045D3Sample results—
SINGLE_RESULTSBAPI2045D4Single results—
RETURNTABLEBAPIRET2Return message table—

Call template (ABAP)

A skeleton generated from the interface. It lists mandatory importing parameters, exporting parameters and tables; declare the variables with suitable types in your own program.

CALL FUNCTION 'BAPI_INSPOPER_RECORDRESULTS'
  EXPORTING
    insplot = lv_insplot
    inspoper = lv_inspoper
  IMPORTING
    return = lv_return
  TABLES
    char_results = lt_char_results
    sample_results = lt_sample_results
    single_results = lt_single_results
    returntable = lt_returntable.

Related tables

Can't find the report you need?

We also build anything that is not in the catalog. Describe it briefly and we will suggest the right solution.

Request a custom report