I need help with a business requirement in our S/4HANA system. When processing invoice receipts through MIRO transaction, the system shows all withholding tax codes that are configured for a particular supplier. However, my business users want to see only specific withholding tax types that match the purchase order category being processed.
For instance, when we have a supplier configured with withholding tax codes 02, 05, 08, and 09, but the current PO category should only display codes 02 and 05 in the withholding tax section.
I attempted to use enhancement points MRM_WT_SPLIT_UPDATE and MRM_HEADER_CHECK but these didn’t produce the expected results. The goal is to hide certain withholding tax lines based on the purchase order type context.
Has anyone successfully implemented this kind of filtering logic? What would be the best approach to achieve this functionality?
Any guidance would be appreciated.
Best regards