on 2023 Oct 30 10:37 AM
Hi,
I need to update the value of a Z-field in MARA while using MM41/MM42.
The field shouldn't be available on screen but needs to be updated while/after saving.
I have found a BADI: BADI_ARTICLE_REF_RT. However this BADI seems to update only variant articles in MARA and not generic articles.
Thanks in advance
Request clarification before answering.
Then please refer the below link,
https://answers.sap.com/questions/10249222/adding-custom-fields-in-article-master-transaction.html
This is to add a custom field on screen but we can update the corresponding table using the custom program.
I added custom field in MM01 using similar steps but we are not using MM41.
If nothing works, then implicit enhancement is the only option. Find a right place to add custom code to update MARA table.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Debug MM41/MM42 and set breakpoint at method CL_EXITHANDLER=>GET_INSTANCE, statements like 'GET BADI', 'CALL BADI', 'CALL CUSTOMER-FUNCTION' to find suitable place to add the custom code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 29 | |
| 14 | |
| 14 | |
| 6 | |
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.