Hi San,
If the view is a form view and the field is created in .htm page, you could get the xml data in the .HTM page, convert the xml data to Abap format.
Once you convert it to Abap format, you will get an internal table with a database structure 'BSP_DLCT_ADV_CONF_ITM'. This particular structure has fields like mandatory, field alignment, etc. Modify this internal table as per your requirement and then convert this back to xml format and pass it on to the tags.
Please follow this below document exactly. I hope you will achieve your requirement.
http://scn.sap.com/docs/DOC-29342
You have different ways for different views. The above doc talks about Form view.
Regards,
Karthik