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

Comments

Popular posts from this blog

New commodity code create in SAP S/4 Hana

BAPI to Change STO PO/ PO Delivery date in SAP

Decimal remove in a smartforms report