Skip to Content
0
Former Member
Feb 18, 2009 at 06:43 PM

EXIT to change / add line items during STO PO creation in T.Code ME21N

117 Views

Hi

Can somebody suggest me a EXIT or a BADI to change / add line items during STO PO creation in T.Code ME21N.

The requirement is as below.

When the user enters a material no ( which has a BOM created in CS01), and presses enter or saves the PO, i need to get the sub components of the BOM and populate them as the next line items.

This is because the user needs to create the delivery with reference to the PO. In the delivery, the BOM material needs to be populated with all the sub components of the BOM.

I tried to do it using EXIT_SAPMM06E_013 in which i am able to change / add the line items in the XEKPO and YEKPO internal tables. The entries are available in the internal table when the EXIT is executed.

But when the PO is posted internally, the item is not changed/added.

Thanks in advance.

Guna.