iam starting a workflow when in the migo t-code the document number is created.
also iam checking for the reorder level and the stock level and if the stock level
is less than the reorder level an workitem is send to the corresponding purchase dept.
is there any change document for the migo or i need to use badi.
In this Enhancement Spot - MB_MIGO_BADI, Check are you getting the document number. If yes using the FM SAP_WAPI_CREATE_EVENT you can trigger the event, refer this [Link|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e06f2480-02de-2a10-72af-eed9a513a6c6].
If this not working, goto the Table CDHDR, in the field USERNAME -> Give the user id and execute. Then create a new session and perform your transactions, then refresh the table entries check whether you got a new entry. If you refer this [link|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80ddeba4-e780-2b10-7bb2-fc7a33efabbd] and fix it.