Using t-code MB51 we can get a details report based on search criteria. Sometimes we need to fetch this data using API for that case we can use BAPI to fulfill our demand. BAPI : ""BAPI_GOODSMVT_GETITEMS" We need to prove parameters value based on requirement. Input Parameter: Material_RA: Low to High PLANT_RA: Low to High STGE_LOC_RA: Low to High Batch_RA: Low to High MOVE_TYPE_RA: Low to High PSTNG_DATE_RA: Low to High VENDOR_RA : Low to High use below code after completing steps. CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.