Hi, Ahmed,
Hello. Which one is correct?
He asked me (whether - if) I had written my report or not.
Thank you.
Both are grammatically correct here. However, some people would prefer 'whether' because it is more formal than 'if'. 'Writing a report' is something formal. BTW, 'wether' can also be the only correct choice if you say "He asked me whether or not I had written my report." That's because 'if' can't be followed directly by or not.