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
| Parameter | Type | Description | Required |
|---|---|---|---|
| INSPLOT | BAPI2045L2-INSPLOT | Inspection lot number | Yes |
| INSPOPER | BAPI2045L2-INSPOPER | Inspection operation number | Yes |
| INSPPOINTDATA | BAPI2045L4 | Inspection point data | — |
| HANDHELD_APPLICATION | BAPI2045L5-HANDHELD_APPLICATION | Called from handheld application | — |
Exporting parameters
| Parameter | Type | Description |
|---|---|---|
| RETURN | BAPIRET2 | Return messages |
Tables parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| CHAR_RESULTS | BAPI2045D2 | Characteristic results | — |
| SAMPLE_RESULTS | BAPI2045D3 | Sample results | — |
| SINGLE_RESULTS | BAPI2045D4 | Single results | — |
| RETURNTABLE | BAPIRET2 | Return 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.