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: 

Force PROCESS_ITEM method in PO for item custom fields

Former Member
0 Kudos
884

Hi people!

I have custom fields at level item in the purchase request (me52n) that functions perfect. When the user change a custom field, the method PROCESS_ITEM of the badi ZME_PROCESS_REQ_CUST is triggered. It works fine.

Now I have the same requisit but for the purchase order (me22n). I have my custom fields at item level and I can change the value and save ok, but, my problem is that I need to trigger the mehod PROCESS_ITEM of the badi Z_ME_PROCESS_PO_CUST, and it's not triggering.

- If I change a standard field, the method is triggered.

- I found EXIT_SAPMM06E_017 where I can detect the changes in my custom fields, but I need to trigger the badi method

I need to trigger my badi method because the requisit is to change a standar field value (Account Assignment->G/L Account) when the user changes the custom field value.

Thanks for your time!

2 REPLIES 2

raymond_giuseppi
Active Contributor
0 Kudos
182

Did you (either)

  • (BAdI) Fill RE_CHANGED in IF_EX_ME_GUI_PO_CUST->TRANSPORT_FROM_DYNP
  • (Old customer exit) Fill  E_CI_UPDATE in  EXIT_SAPMM06E_018

Both should trigger the PROCESS_ITEM method.

Regards,

Raymond

0 Kudos
182

Hi , This is old topic but I have the same problem. I try What was your described but it's not working.

Is there any other way?