2023 Jan 02 10:29 AM
Hello,
I need to add a new column in transaction MD04 with the user exit:M61X0002. could anyone tell me how can i implement this how can i use the two Exit functions EXIT_SAPLM61R_001 & EXIT_SAPMM61R_001?
Thank you.
2023 Jan 02 10:58 AM
Hello rahma_benabdallah61
As per M61X0002 documentation, it is obsolete and replaced by MD_ADD_COL_EZPS BAdI:
This enhancement has been replaced by the Business-Add-In Additional Columns in the Evaluation PP-MRP Material Requirements Planning (MD_ADD_COL_EZPS). The BAdI has an enhanced scope of function which enables improved column control. If an implementation for this BAdI is active, the user exits described here are not executed!.
So you should not implement custom columns in MD04 with M61X0002 but with the BAdI.
Display to BAdI in SE18 and see its documentation. The BAdI is well documented, also detailed documentation for both methods is provided. You can also find a sample implementation in the class CL_EXM_IM_MD_ADD_COL_EZPS.
If for whatever reason you have to stick with M61X0002, see its documentation and follow sample implementation in the LXM61F04 and LXM61F03 includes.
Best regards
Dominik Tylczynski
2023 Jan 02 10:58 AM
Hello rahma_benabdallah61
As per M61X0002 documentation, it is obsolete and replaced by MD_ADD_COL_EZPS BAdI:
This enhancement has been replaced by the Business-Add-In Additional Columns in the Evaluation PP-MRP Material Requirements Planning (MD_ADD_COL_EZPS). The BAdI has an enhanced scope of function which enables improved column control. If an implementation for this BAdI is active, the user exits described here are not executed!.
So you should not implement custom columns in MD04 with M61X0002 but with the BAdI.
Display to BAdI in SE18 and see its documentation. The BAdI is well documented, also detailed documentation for both methods is provided. You can also find a sample implementation in the class CL_EXM_IM_MD_ADD_COL_EZPS.
If for whatever reason you have to stick with M61X0002, see its documentation and follow sample implementation in the LXM61F04 and LXM61F03 includes.
Best regards
Dominik Tylczynski
2023 Jan 02 11:08 AM
2023 Jan 02 12:56 PM
Whenever you work with a customer exit, read the documentation first > transaction SMOD > Documentation > Display:
See the excerpt from the documentation in Dominik answer.