Hi Jitender
Unfortunately I did not find any options by which we can increase the character limit of SXMS_ERROR_CODE to more than 70 characters.
For triggering alert from message mapping with payload data check this docs
Triggering XI Alerts from a User Defined Function