SAP Knowledge Base Article - Public

3154298 - Node <Amt> in the tag <AdjstmntAmtAndRsn> is missing in the payment media xml file after 2202 upgrade.

Symptom

After 2202 upgrade, Node <Amt> (<Amt Ccy='xxx'>yyyyyy</Amt>) in the tag <AdjstmntAmtAndRsn>  is missing in the payment media xml file. Due to this, bank is rejecting the payment file.

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."

Environment

SAP S/4 HANA Cloud

Cause

In the latest changes to CGI Format Mappings, the whole tag <AdjstmntAmtAndRsn> has been removed, if there is no Withholding tax.

Resolution

Kindly follow the below steps as per your requirement:

If you would like to display the tag only when WHT amount is not 0:

  • Please add the below condition from the standard CGI_CT to your custom payment format in the SSCUI Map Format Data For Payments - 100558. You can compare the tag <AdjstmntAmtAndRsn> in your custom format with our standard format mapping in the SSCUI Map Format Data For Payments - 100558.
    The condition to be added is: "FPAYP-QSTEU <> 0". This means that the tag will be displayed only when the WHT amount is not 0.

           

 If you would like to display the tag even if WHT is 0:

  • Go to the SSCUI 100558- Map Format Data for Payments and do the following changes:
  • Remove the condition on the node <AdjstmntAmtAndRsn>, if there is any.

         

  • Create the condition "FPAYP-QSTEU <> 0"  in the node <Amt>.

       
  • Duplicate the node <Amt>.
                
  • Create an opposite condition in the second occurrence of <Amt>, remove the Reference ID and change the mapping to constant and maintain the constant as 0.00 (zero in the local currency).

             

  • Remove the condition from the new Ccy attribute.

         
                

Result:

           

Keywords

FI-FIO-AP, FI-AP-AP-B1, FI-LOC-DME, CA-GTF-CSC-DME, PAIN.001, PAIN.002, 100558, CGI_CT, <Amt>, <Amt Ccy>, reject, bank, Map Format Data For Payments, Manage Payment Media, F1868, S4_PC, 2202, [R], Regression, <AdjstmntAmtAndRsn> , KBA , FI-AP-AP-B1 , Payment transfer (w/o DE, US) , FI-FIO-AP , Fiori UI for Accounts Payable , CA-GTF-CSC-DME , Data Medium Exchange Engine , FI-LOC-DME , Data Media Exchange , Problem

Product

SAP S/4HANA Cloud 2202