Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

how to capture PR number banfn

Former Member
0 Kudos
202

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

3 REPLIES 3

kesavadas_thekkillath
Active Contributor
0 Kudos
91

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.

0 Kudos
91

its not working any ways i will handle..

thanks

0 Kudos
91

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.