I’m working with the MIRO transaction and need to customize the payment section. Currently users can only select the baseline date, but I want to give them the option to choose the invoice receipt date instead.
Is it possible to add an “Invoice Receipt Date” field to the payment block? I’m looking for any available enhancement options like BADIs or BAPIs that could help me implement this functionality.
I’ve been searching through the standard configuration but haven’t found a way to add this field yet. Has anyone successfully customized this screen before? Any guidance on the best approach would be really helpful.
The goal is to make the invoice receipt date selectable as an alternative to the baseline date that’s currently available.
I ran into something similar a while back when customizing MIRO screens. Beyond the BADIs mentioned, you might want to explore the screen enhancement framework through transaction SE80. Look for the screen group SAPLMRMH and check if there are any customer includes available for the payment section. Another approach that worked for me was using the MRM_WORKFLOW_BADI to capture and process the receipt date field. You can extend the payment block structure through table maintenance and then use enhancement spots to populate the field dynamically. The tricky part is ensuring the new field integrates properly with the existing payment logic, so make sure to test thoroughly with different document types. Also check if your system has any industry-specific enhancements that might conflict with custom modifications to the MIRO transaction.
check the MIRO_ENTRY badi - i think theres an option to modify the payment block fields there. also look into MRM_PAYMENT_TERMS enhancement spot, might have what you need for adding custom date fields to the interface.