Application Development and Automation 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: 

User exit to populate profit center in production order during creation (CO01)

mayukki
Discoverer
0 Kudos
194

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.

0 REPLIES 0