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
| Parameter | Type | Description | Required |
|---|---|---|---|
| NUMBER | BAPI2045D_IL0-INSPLOT | Inspection lot number | Yes |
| LANGUAGE | BAPI2045LA | Language for texts | Yes |
Exporting parameters
| Parameter | Type | Description |
|---|---|---|
| RETURN | BAPIRETURN1 | Return messages |
Tables parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| SYSTEM_STATUS | BAPI2045SS | System statuses | Yes |
| USER_STATUS | BAPI2045US | User statuses | 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_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.