The 24-digit number is not reported on your 1099R. They are usually printed on the cover page of the year-end documents from your pension company.
If you did not receive the documents, you may be able to retrieve the IDs from your pension account or by giving them a call.