Do a function on the server from a client

The problem was as you said that I made my blueprint in the ball and not in the pawn, I had to make some modifications to adapt it to the pawn but it is now perfectly working.
Thank you very much for your help !