QM
BAPI
RFC
Used the same way in S/4HANA
BAPI_INSPOPER_GETCHAR Select Inspection Characteristics
Returns the inspection characteristics of an inspection lot operation with their key data. It is the usual first step before recording results through an interface. Use the filter parameters to limit the list to open characteristics and check both RETURN and RETURN2.
- Function group
- 2045
- Remote-enabled (RFC)
- Yes
- Type
- BAPI
Importing parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| INSPLOT | BAPI2045L3-INSPLOT | Inspection lot number | Yes |
| INSPOPER | BAPI2045L3-INSPOPER | Inspection operation number | Yes |
| CHAR_FILTER_NO | BAPI2045S1-FILTER | Characteristic filter | — |
| CHAR_FILTER_TCODE | BAPI2045S1-FILTER_TCODE | Characteristic filter by transaction | — |
| READ_CHARS_WITHOUT_RECORDING | BAPI2045S1-IND_X_OR_BLANK | Include characteristics without result recording | — |
| READ_CHARS_WITH_CLASSES | BAPI2045S1-IND_X_OR_BLANK | Include characteristics with classes | — |
| RES_ORG | BAPI2045D3-RES_ORG | Results origin | — |
Exporting parameters
| Parameter | Type | Description |
|---|---|---|
| RETURN | BAPIRETURN1 | Return message (BAPIRETURN1) |
| RETURN2 | BAPIRET2 | Return messages (BAPIRET2) |
Tables parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| INSPCHAR_LIST | BAPI2045L3 | Inspection characteristics found | Yes |
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_GETCHAR'
EXPORTING
insplot = lv_insplot
inspoper = lv_inspoper
IMPORTING
return = lv_return
return2 = lv_return2
TABLES
inspchar_list = lt_inspchar_list.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.