In the present paper we have analysed a fermionic infinite-ranged quantum Heisenberg spin glass (s=1/2) with a BCS coupling in real space in the presence of an applied magnetic field. This model has been obtained by tracing out the conducting fermions in a superconducting alloy. The magnetic field is applied in the resulting effective model. The problem is formulated in the path integral formalism where the spin variables are defined as bilinear combinations of the Grassmann fields. The static approximation is used to treat both the pairing and the spin terms together with the replica symmetry ansatz. Henceforth, the problem can be reduced to a one site problem. The field in the z direction, Hz, separates the order parameters in two groups: parallel and transverse to it. We have obtained a phase diagram in T-g space with zero transverse spin-glass ordering, g being the strength of the pairing interaction. It has been possible to locate the transition temperature between the normal paramagnetic phase (NP) and the phase where there is a long range order corresponding to formation of pairs (PAIR). The transition ends at the temperature Tf, the transition temperature between the NP phase and the spin glass (SG) phase. Tf decreases for stronger fields allowing us to calculate the NP-PAIR line transition even at low temperatures. The NP-PAIR transition line has a complex dependence with g and Hz, having a tricritical point depending on Hz from where second order transitions occur for higher values of g and first order transitions occur for lower values of g.