Fonction SAP BAPI_INSPLOT_GETLIST - Select Inspection Lots

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
BATCH BAPI2045L1-BATCH C 10 X Batch Number
CREAT_DAT BAPI2045L1-CREAT_DAT D 8 X Start Date for Selection
CUSTOMER BAPI2045L1-CUSTOMER C 10 X Customer Number
DELIV_ITEM BAPI2045L1-DELIV_ITEM N 6 X Delivery Item
DELIV_NUMB BAPI2045L1-DELIV_NUMB C 10 X Delivery
MANUFACTURER BAPI2045D_IL0-MANUFACTURER C 10 X Manufacturer
MATDOC_ITM BAPI2045L1-MATDOC_ITM N 4 X Item in Material Document
MATERIAL BAPI2045L1-MATERIAL C 18 X Material Number
MATERIAL_EVG BAPIMGVMATNR u 82 X Long Material Number
MAT_DOC BAPI2045L1-MAT_DOC C 10 X Material Document
MAX_ROWS BAPI2045S1-MAXROWS I 4 100 X Upper Limit for Number of Inspection Lots
ORDER BAPI2045L1-ORDER_NO C 12 X Order Number
PLANT BAPI2045L1-PLANT C 4 X Plant
PO_ITEM BAPI2045L1-PO_ITEM N 5 X Item in Purchasing Document
PO_NUMBER BAPI2045L1-PO_NUMBER C 10 X Purchasing Document
RS_ORDER BAPIQMSTI7-RD_HDR_NO C 12 X Production Version Number
SELECTION_ID BAPI2045AS-SELECTION_ID C 7 SPACE X Status Selection Profile
STATUS_CREATED BAPI2045AS-STATUS_CREATED C 1 'X' X Use Created Lots
STATUS_RELEASED BAPI2045AS-STATUS_RELEASED C 1 'X' X Use Released Lots
STATUS_UD BAPI2045AS-STATUS_UD C 1 'X' X Use Lots with Usage Decision
VENDOR BAPI2045L1-VENDOR C 10 X Vendor Number
VERSION BAPI2045D_IL0-VERSION C 4 X Production Version

Paramètre Reférence Type Long. Description
RETURN BAPIRETURN1 u 470 Return Value

Paramètre Reférence Long. Facultatif Description
INSPLOT_LIST BAPI2045L1 298 List of Inspection Lots

Functionality
You can use this method to load inspection lots for various selectioncriteria. The selection criteria relate to the reference objects of theinspection lot, for example material, batch, vendor, order number andso on, as well as the creation date of the inspection lots.

Example
DATA: L_INSPLOT_LIST LIKE BAPI2045L1 OCCURS 0 WITH HEADER LINE.
CALL FUNCTION 'BAPI_INSPLOT_GETLIST'
EXPORTING
MATERIAL = 'Y-100'
TABLES
INSPLOT_LIST = L_INSPLOT_LIST.

Notes
the number of inspection lots found by the system can be limited usingthe parameter MAX_ROWS. This parameter is preset to 100.

Description
Parameter for the long material number
This parameter can be used to transfer long material numbers. Themaximum length of these material numbers is 40 characters.
To use this parameter, you must set the switch for the business functionLAMA (long material number) in the system.
The business function LAMA is part available as of the business functionset for DIMP.

Value range
None

Default
None