Posts

BAPI for material storage location Add

 We can add material storage location plant wise using third party app or web. BAPI names : BAPI_MATERIAL_MAINTAINDATA_RT Import parameters: HEADDATA: Material Tables: STORAGELOCATIONDATA: Material: Plant: STGE_LOC:   STORAGELOCATIONDATAX: Material: Plant: STGE_LOC:   use below code after completing steps. CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.        

BAPI for material stock check

We can use below BAPI to check material stock based on plant. BAPI_MATERIAL_STOCK_REQ_LIST Need to provide below parameters: Material: Plant: use below code after completing steps. CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.  

MB51 BAPI to get same report using API

 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'.