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

BAPI_INSPLOT_GETSTATUS Read Inspection Lot Status

Returns the current system and user statuses of an inspection lot with texts in the requested language. It is a lightweight check used before recording results or making a usage decision. LANGUAGE is mandatory in this interface.

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

Importing parameters

ParameterTypeDescriptionRequired
NUMBERBAPI2045D_IL0-INSPLOTInspection lot numberYes
LANGUAGEBAPI2045LALanguage for textsYes

Exporting parameters

ParameterTypeDescription
RETURNBAPIRETURN1Return messages

Tables parameters

ParameterTypeDescriptionRequired
SYSTEM_STATUSBAPI2045SSSystem statusesYes
USER_STATUSBAPI2045USUser statusesYes

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_INSPLOT_GETSTATUS'
  EXPORTING
    number = lv_number
    language = lv_language
  IMPORTING
    return = lv_return
  TABLES
    system_status = lt_system_status
    user_status = lt_user_status.

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