By reading similar posts here in QL where a similar situation is depicted your KSA visa will be annuled/cancelled if you get the Qatari RP.

Once again this is my conclusion by reading what is posted here. In the end my suggestion would be talk to the immigration authorities in Qatar and KSA and see what the outcome is.

Regards!!