The composition may thus have occurred at any subsequent time , from the reign of Ramesses II to as late as the 20th Dynasty .
It may have been written at any later time , from Ramesses II to as late as the 20th Dynasty .