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: 

Modify purchase order item before to save

Former Member
0 Kudos

Hi all,

I'm trying to modify EKPO-RETPO field from purchase order item before save it.

I've done it in the user exit: EXIT_SAPMM06E_013, but I've seen it coudl be use for update customer fields.

Anybody knows which user exit can I use to do that?

Thanks in advance.

Pat.

8 REPLIES 8

Former Member
0 Kudos

Customer exit is correct. Changes are to be done on XEKPO Structure.. Associated Type UEKPO will have an append structure "CI_EKPODB" which include the customer structures.

Regards

Vinod

0 Kudos

But I'm trying to modify no a customer-field, I want to modify EKPO-RETPO, that's a estandarf field form purchase order item.

Thanks.

Pat.

0 Kudos

Update 'X' to the structure field "PO_ITEMS-RET_ITEM".

Regards

Vinod

0 Kudos

sorry, you are talking about EXIT_SAPMM06E_013 user exit?

There's not PO_ITEMS.

Thanks anyway.

Pat.

0 Kudos

Hi,

Sorry, my mistake, I meant 'Update 'X' in the structure field "XEKPO-RETPO".'

Regards

Vinod

0 Kudos

I've done that in user exit EXIT_SAPMM06E_013, but it doesn't working.

Thanks.

Pat.

Former Member
0 Kudos

Hello,

You can use the BADI *MEPROCESS_PO_CUST* to suffice the requirement.

In this structure IM_ITEM has field RETPO. Please pass value to it

Hope this will help.

Thanks

Eswar

0 Kudos

I'm using release 4.6C, I haven't this badi.

Thanks.

Pat.