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 determine Component materials for PO line item Materials.

Former Member
0 Kudos

Hello friends,

I woluld like to know the table name for getting the component Materials of a Purchase Order line item material.

There is a table called RESB, which is containing the component materials for the PO line item materials. But this table is populating only after creating (saving) the PO.

But, i have to do some validations on component materials, before saving the PO. For that i would like to know the table, from which the component materials will pick.

Or

Please provide some user exit names, which will contain Component materials, during the PO creation.

Thanks in Advance.

1 REPLY 1

former_member216668
Participant
0 Kudos

Hi,

You can use BADI ME_PRUCHDOC_POSTED and method POSTED,

Inside this method, you have two parameters, IM_EKPO & IM_EKPO_OLD.

THE IM_EKPO_OLD contains original values and IM_EKPO contains any changes you have made to the line items.