SAP Knowledge Base Article - Public

3613316 - Error AFLE007 "Amount too long for AMT_DOCUR" when posting Migration Object - SAP S/4HANA Cloud Public Edition

Symptom

  • The simulation of the Migration Object like "FI - G/L account balance and open/line item" is failing with the following errors:
  • Error in document:, Message Class: RW, Message Number: 609
  • Amount too long for, Message Class: AFLE, Message Number: 7

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Open the Fiori app "Migrate Your Data".
  2. Choose the Migration Project 
  3. Run a simulation for the Migration Object "FI - G/L account balance and open/line item".
  4. Click on "Monitoring".
  5. Check the errors thrown in the failed simulation.

Cause

During data simulations and migrations in the Migration Object (DMC_MIG_ACC_DOCUMENT_POST) , the app calls the BAPI BAPI_ACC_DOCUMENT_POST.  The Accounting interface only allows amounts with a total length of 13 digits (for example, 11 whole number places and 2 decimal places). When a document with more than 13 digits is transferred to the BAPI, it cannot be posted. 

To summarize:

  • In finance, the applications only support 13 digits (11 numbers with 2 decimal) on Public Cloud Version. This is official.
  • But in some applications, maybe 14 digits are supported. But it isn't officially supported case. The Post General Journal Entry allows 11 digits + 2 decimals  - but this is rather an exception. 

Resolution

It is clear that I_JournalEntryTP cannot post a document including amount more than 99,999,999,999.99 in Public Cloud system.
Consider splitting the amounts into separate line items with smaller amounts less than 13 digits as workaround.

The AFLE (Amount Field Length Extension) functionality is only available in SAP S/4HANA On-Premise and SAP S/4HANA Cloud, Private Edition but not in SAP S/4HANA Cloud, Public Edition as outlined in Note 2628654 - S4TWL: Amount Field Length Extension 

Request the AFLE functionality to be added/improved in Public Cloud  through our Influence channel by submitting ideas following KBA 2963059 How to Submit Feature Requests for SAP S/4HANA Cloud Product. Each session has a minimum number of votes. Once an improvement request reaches this voting threshold, SAP will review and evaluate your submitted improvement request and will maintain a status on SAP Customer Influence.

The link for Influence for finance is https://influence.sap.com/sap/ino/#campaign/1169

See Also

Keywords

error message, amount too long, migration object, sap s/4hana cloud, public edition, accounting interface, BAPI_ACC_DOCUMENT_POST, FI - G/L account balance, open/line item, simulation, digits limit, workaround, extension, CA-FLE-AMT , KBA , AC-INT-2CL , Accounting Interface (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions