How to create a Transaction Variant in SAP ECC

Check this link:

http://wiki.scn.sap.com/wiki/display/Snippets/Transaction+Variant+-+A+Step+by+Step+Guide+for+Creation?original_fqdn=wiki.sdn.sap.com