Application Development and Automation 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: 
Read only

How to get line item data while creating PO.

Former Member
0 Kudos
1,077

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
Read only

RaymondGiuseppi
Active Contributor
0 Kudos
624

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)

Read only

0 Kudos
624

Thanks,

I have used another BADI : ME_PURCHDOC_POSTED.

Read only

Former Member
0 Kudos
624

Issue was resolved using BADI : ME_PURCHDOC_POSTED.