2008 Feb 05 4:53 PM
Hello,
Has anyone ever used a user exit or badi to validate profitability segment fields on a line in ME21N? I have looked at the ME_PROCESS_PO_CUST badi and a few user exits (MM06E005 - EXIT_SAPMM06E_012 for example) and I can't see anywhere this can be done. The fields don't seem to be in the standard account assignment structures and tables used in the BADI or user exit. An example a field that I want to validate on save of the purchase order is Customer CE0BPUKKNDNR.
Thanks
Hello,
Has anyone ever used a user exit or badi to validate profitability segment fields on a line in ME21N? I have looked at the ME_PROCESS_PO_CUST badi and a few user exits (MM06E005 - EXIT_SAPMM06E_012 for example) and I can't see anywhere this can be done. The fields don't seem to be in the standard account assignment structures and tables used in the BADI or user exit. An example a field that I want to validate on save of the purchase order is Customer CE0BPUKKNDNR.
Thanks
2008 Feb 06 4:34 PM
I managed to get it to work by reading the call stack from the BADI.