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 get line item data while creating PO.

0 Kudos
622

Hi Experts,

I want to send mail to users once a new Purchase Order created.

While creating the PO the header data is stored in 'im_header'.

How to get the line items details of PO during runtime.

I want the data which is going to stored in 'EKPO', 'LFA1', 'EKET'.

Please help....!!!

3 REPLIES 3

raymond_giuseppi
Active Contributor
0 Kudos
169

I suppose you are implenting BAdI ME_PROCESS_PO_CUST, metjod POST?

Did you check type of im_header, look at the methods provided (look for GET_ITEMS then for each item look at provided methods on returned parameter such as GET_DATA and GET_SCHEDULES, with some iteration and navigation you should find the answer yourself)

0 Kudos
169

Thanks,

I have used another BADI : ME_PURCHDOC_POSTED.

0 Kudos
169

Issue was resolved using BADI : ME_PURCHDOC_POSTED.