What exactly is the activity you are doing ? is there a directory called /usr/sap/IFR/SYS/exe/run/cfw/lib/api ? and if yes what do they contain and its permission.
I would check the permissions of the directory and if possible provide the full permission and see if that helps.
Regards
RB