Hi Praveen,
Kindly go through below links
Customization - xMII - SCN Wiki
creating custom action block in MII 12
And for SAP Market Place ID, get it from your Project client to who your working. Or we can create our own SMP ID through SAP License ID. For more information, post it as new query.
Regards,
Praveen Reddy