Dear,
Yes you can use the BAPi BAPI_ROUTING_CREATE. You can generate a key date view as well as the complete history of a routing. You generate an entry for each object in VALID_FROM table by always entering the date in the attribute.
Regards,
R.Brahmankar