2017 Oct 12 4:12 PM
Dear Experts,
in enjoy transactions the data is object oriented so I update the custom field using the class. I have used the class cl_po_item_handle_mm set_data and the data is actually updated in the memory.
But, if I don't make any changes to the standard data and save the PO, the custom field will not be updated to DB.
How to update custom field in Enjoy transaction using the class?
2017 Oct 13 7:25 AM
Apparently, we need to flush the update to the framework by calling the cl_framework_mm->process_models method.
2017 Oct 13 7:25 AM
Apparently, we need to flush the update to the framework by calling the cl_framework_mm->process_models method.
2017 Oct 13 8:09 AM
For information, seems you didn't use BAdI ME_PROCESS_PO_CUST and method item->set_data in process_item or check method, any reason?
2017 Oct 13 8:56 AM
Hi,
I didn't use the ME_PROCESS_PO_CUST because I think it is not triggered at the point when I need to update the custom field. I use an implicit enhancement instead (I have a custom button which may only be pressed once by users, once pressed I need to update the flag stored in the EKPO custom field).
2017 Oct 13 10:50 AM