Deductions & credits

The Form 1099-S is for the property sale.  It has nothing to do with whether or not you profited from the sale.