Yes, any amount designated as a repayment for HBP can not be used for RRSP detection. However, if you contribute to RRSP an amount, which is more than the minimum required HBP repayment, you should be able to deduct the excess portion of the contribution from income, as long as you only designate the minimum amount as HBP repayment on the tax form...