is there anyway i can proof that this transaction is send by me? any code or something which is available only for sender, not public. like i can give him this code to confirm him that i am the actual sender?
Yes, if you own the private key then you can sign the address and prove that the sent amount was sent from this address.
Check this topic:
https://bitcointalk.org/index.php?topic=990345.0Also expanding Royse777 answer, a signed message is a cryptography proof that you control that address.
You will send a message like this (if you follow the steps from the above tutorial).
-----BEGIN BITCOIN SIGNED MESSAGE-----
Hi. I am Apu2014 and I send John 0.02 bitcoins from this address
-----BEGIN SIGNATURE-----
1HZwkjkeaoZfTSaJxDw6aKkxp45agDiEzN
G/bjFN56rbA1KsJ5Ed6YRXt2UV2nIfNz2wXkvqOylL3zYfiivs+RSAS8coOlCfjcpwce0o+9h0Xw57DPlJnDUBY=
-----END BITCOIN SIGNED MESSAGE-----
You can then send this message to him, by email or whatever, and he can verify that this message is valid or not in most bitcoin wallets or online here:
https://brainwalletx.github.io/#verifyThe Signature will only be valid if you control the private key of the address mentioned.
(This is a throwaway address that I generated in
https://brainwalletx.github.io/, just to make an example.