So you want to show material 100315911 will have -1 qty and material 5254520 will have 0 qty. Right ?
As of my knowledge, material to material transfer no possible in this case. You can use movement type 201 and 202 to adjust the same.
Use 202 for qty 35 for the material 5254520 to set the qty 0.
Use 201 for qty 35 for the material 100315911 to set the qty -1.