Hi,
Found the solution. RFC was a copy of a BAPI ,In which one of the view was not selected in the BAPI view header( where we pass 'X' for the views).In the same structure we were passing fields of a different view because of which the values weren't reflecting.
Thanks
Message was edited by: Naveen Srinivasa