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

ParameterTypeDescriptionRequired
INSPLOTBAPI2045L3-INSPLOTInspection lot numberYes
INSPOPERBAPI2045L3-INSPOPERInspection operation numberYes
CHAR_FILTER_NOBAPI2045S1-FILTERCharacteristic filter—
CHAR_FILTER_TCODEBAPI2045S1-FILTER_TCODECharacteristic filter by transaction—
READ_CHARS_WITHOUT_RECORDINGBAPI2045S1-IND_X_OR_BLANKInclude characteristics without result recording—
READ_CHARS_WITH_CLASSESBAPI2045S1-IND_X_OR_BLANKInclude characteristics with classes—
RES_ORGBAPI2045D3-RES_ORGResults origin—

Exporting parameters

ParameterTypeDescription
RETURNBAPIRETURN1Return message (BAPIRETURN1)
RETURN2BAPIRET2Return messages (BAPIRET2)

Tables parameters

ParameterTypeDescriptionRequired
INSPCHAR_LISTBAPI2045L3Inspection characteristics foundYes

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.

Request a custom report