Hello Betsy,
If you want to change the routing, then i would suggest not to go for this BAPI , it has some limitations at operations level instead use EWB programming it has more control.
Note 488765 - Do-it-yourself EWB programming - Sap NOTE Sap-ConsAlt.Ru