Hope all had good weekend. I need some help and would appreciate if someone can guide me here.
I have a requirement where I need to develop an enhancement point for production orders transaction CO02.
The enhancement will check the user's authorization profile. Based on authorization profile, enhancement point will decide and direct 'CO02-Change production Order' OR 'ZCO02 - restricted production orders'.
Here are few question I have related.
1. What user exit I should use for this above requirement ? This should be triggered whenever CO02 is being called either from SAP easy access menu or from a different transaction.
2. How can I check/read users authorization profile within this user exit/enhancement point ?
3. Based on the profile, how do I direct to CO02 or ZCO02 ?
Will highly appreciate if someone could please share their knowledge on this.