Hi Suru,
for his u need to redfine define() method in MPC class and set a attribute as content type.Check this :
Uploading Files to SAP GW, Downloading Files from SAP GW - New Techniques
http://scn.sap.com/docs/DOC-56891
Hope this helps.
Thanks,
Saurabh