2012 May 30 8:09 AM
Hi,
i want to send mail PR requisitioner at the time of creation of purchase order ME21N.work flow is not available in system.
how to retrieve PR number BANFN in BADI ME_PROCESS_PO_CUST into interface POST. ??????
Thanks and regards
Rahul
2012 May 30 8:17 AM
BANFN is available in the PO item table itself.
Check the example class CL_EXM_IM_ME_PROCESS_PO_CUST and the sample code in it to bring the item details to the method.
2012 May 30 8:28 AM
2012 May 30 9:21 AM
Hi Rahul,
Just to add to Kesavadas, the PR number will be available in the PO only if the PO is created with reference to the PR.
The PR reference can be added in the Header data, Item data or a PO can be created without any reference to any PR.
Hope this clarifies.
Regards, Pranav.