Retirement tax questions

Overcontribution 1099-R - the code is "BP"

 

Earnings on overcontribution 1099-R - the code is "B8"