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.
Showing results for 
Search instead for 
Did you mean: 

How to get line item data while creating PO.

0 Kudos

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


Active Contributor
0 Kudos

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


I have used another BADI : ME_PURCHDOC_POSTED.

0 Kudos

Issue was resolved using BADI : ME_PURCHDOC_POSTED.