I want to settle no material production order to a G/L account which is also a cost element , so I need to assign a cost center to it. Of course I can enter a cost center in settlement rule manually . However this may cause a mistake, cause the cost center will be different according to different plant or profit center. So I am wondering if there is any way to set cost center a default value according to plant or profit center.
I've tried COOM0003 PPCO0001 and other user exits ,
I also tried to do enhancement in INCLUDE LCK02FAZ / FORM generate_hdr_settlement,none of them works.
Thanks a lot.