A WOMAN in emergency accommodation at a hotel was allegedly raped and indecently assaulted by two interstate police officers investigating Victoria's Black Saturday bushfires, a court has heard.

South Australian senior constables Damien Michael Jay Wilmott, 30, and Steven James Westcott, 40, have been charged over the alleged attack in March.

Wilmott faces three charges, including rape and indecent assault, and Westcott has been charged with indecent assault.

Opening a committal hearing at the Melbourne Magistrates Court yesterday, prosecutor Ray Gibson said the 20-year-old woman had befriended the Victorian police officer who co-ordinated the interstate response and was aware that South Australian police were staying at the hotel.

Mr Gibson said that early on Wednesday, March 11, Wilmott knocked on the door of her room and asked to be let in, but as she went to close it on him, he pushed it open.