To assign values to characteristics automatically, you can use the SAP enhancement SAPLCOAV.
Unlike modifications, enhancements are release-insensitive as they are not located in the SAP original but in a name range reserved for customers.
For information on the general procedure for creating enhancements, choose Utilities -> Manual.
Each enhancement is documented. To access this documentation, use the Display SAP doc. pushbutton in the enhancement transaction.