SAP Note 512299 - Insufficient initialization at the ERS

Component : Withholding Tax (Calculation) - ERS

Solution : https://service.sap.com/sap/support/notes/512299 (SAP Service marketplace login required)

Summary :
When using the Evaluated Receipt Settlement process in SAP's Logistics Invoice Verification with extended withholding tax activated in MRM companies, a system termination may occur. This issue, identified during the execution of RMMR1MRS, specifically arises in the function module MRM_INVOICE_DOCUMENT_POST at the MRM_WITHHOLDING_TAXES_SAVE routine due to improper initialization of withholding tax data in FI_WT_ERS_INITIALIZATION. The root cause is duplicate tax entries in the X_WITH_ITEM table when updating the database. The resolution involves implementing revised source code to adequately initialize withholding tax data and prevent duplication errors.

Key words :
evaluated receipt settlement, logistics invoice verification, start program rmmr1mrs, update termination occurs, function module mrm_invoice_document_post, function module fi_wt_ers_initialization, extended withholding tax, pay withholding tax, withholding tax data, withholding tax type

Related Notes :

549879Withholding tax: SAPSQL_ARRAY_INSERT_DUPREC
398824Logistics invoice verification and extended withholding tax