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

BAPI_INSPLOT_GETLIST Select Inspection Lots

Selects inspection lots by plant, material, batch, vendor, customer, purchase order, order, material document or status. It is used by LIMS and worklist programs to find lots waiting for results or a decision. Limit the result with MAX_ROWS and the STATUS_ flags.

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

Importing parameters

ParameterTypeDescriptionRequired
PLANTBAPI2045L1-PLANTPlant—
MATERIALBAPI2045L1-MATERIALMaterial number—
BATCHBAPI2045L1-BATCHBatch—
VENDORBAPI2045L1-VENDORVendor—
CUSTOMERBAPI2045L1-CUSTOMERCustomer—
PO_NUMBERBAPI2045L1-PO_NUMBERPurchase order number—
PO_ITEMBAPI2045L1-PO_ITEMPurchase order item—
ORDERBAPI2045L1-ORDER_NOProduction or process order—
MAT_DOCBAPI2045L1-MAT_DOCMaterial document number—
MATDOC_ITMBAPI2045L1-MATDOC_ITMMaterial document item—
DELIV_NUMBBAPI2045L1-DELIV_NUMBDelivery number—
CREAT_DATBAPI2045L1-CREAT_DATCreation date—
STATUS_CREATEDBAPI2045AS-STATUS_CREATEDSelect lots with status created—
STATUS_RELEASEDBAPI2045AS-STATUS_RELEASEDSelect released lots—
STATUS_UDBAPI2045AS-STATUS_UDSelect lots with usage decision—
MAX_ROWSBAPI2045S1-MAXROWSMaximum number of hits—

Exporting parameters

ParameterTypeDescription
RETURNBAPIRETURN1Return messages

Tables parameters

ParameterTypeDescriptionRequired
INSPLOT_LISTBAPI2045L1Inspection lots 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_INSPLOT_GETLIST'
  IMPORTING
    return = lv_return
  TABLES
    insplot_list = lt_insplot_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