Hi Sriram,
You can also add the two attributes as an append structure to the query result structure : crmt_ct_inbox_wf_root_attrib.
Then find a badi which is suitable for the data reading part and call the standard code first which would fill the other fields except your two fields added, then call you FM and fill the two fields required.
Regards
Vinod