Hi Zubair,
Just use the function module - ' GUI_UPLOAD' to upload the flat file into ur report and then use the required function modules like BAPI_BUPA_CREATE_FROM_DATA, etc to manipulate the data based on the fields you are trying to update.
Cheers,
Sidd