Q. Why is it that sharia has banned woman from performing salat-ul-janaza?
A. Where did you get your data from? How did you draw such a conclusion?
Women are allowed to pray salatul janaza, however, it is not preferred. All major Fuqaha (scholars) agree that it is not preferred for women to attend the Janazah salaah.
Allah Certainly Knows Best.