Have you encounter this error message when posting document? either in data migration step or in any normal transaction? below small clue maybe can help you:

Issue

You may only enter amounts up to XXX  yyyyyyyyyyyy

Message no. F5010

Cause:

this is because of the setting of your tolerance limit or user that assign in the tolerance group

Solutions:

Change the tolerance limit (OBA4), or make specific group for certain amount in the customizing of tolerance limit, example below show you I am about to raise the tolerance limit up to the posting, from 9.999.999.999 to 99.999.999.999

Tolerance Limit

Cheers!