Hello,
I don't think there is any issue related to data being committed because if I execute the same function module using the tcode SE37, it gives just updated data.
Only when I trigger a service call to function module on the click of a button from the already loaded web dynpro application, it does not return just updated data.
If I refresh the URL of already loaded web dynpro application, then it will fetch updated data on the click of a button.
Regards,
Harsh