2023 Nov 08 2:57 PM
Hello,
I have a requirement that needs to populate the profit center during creation of production order in Tcode CO01. While also using MD_PEGGING_NODIALOG function module, which I will have to relate to get the profit center for the newly created production order. But the problem with MD_PEGGING_NODIALOG is that it requires an existing production order, which means MD_PEGGING_NODIALOG FM should be triggered after production is created in CO01.
we have used EXIT_SAPLCOZV_001 but MD_PEGGING_NODIALOG is not working there since it is before the saving of production order.
Is there a user exit/BADI that can achieve this requirement?
Thanks a lot for your advise.