you define your own screens in SE51, you create the frame program to validate the entries in that screen and finally you call the
BAPI_MATERIAL_SAVEREPLICA
or
BAPI_MATERIAL_SAVEDATA
to let SAP do what you want.
There are many BAPI, choose the appropriate in SE37. Enter BAPI*MATERIAL* and press F4