Hi Murali,
Thanks for the reply.
I got the answer from the Boris update that the gross and deduction can not be hidden in the normal method where in the file component.js - the properties can be set as visible false. Although toolkit shows these fields in the control hide view while creating extension project.
But the same can be done by replacing the S3 view and comment the code for the 2 fields.
Thanks Uma.