URGENT - RFC Call from EP6.0
We are creating a custom iView for creating and editing employee competency appraisals. While creating a new appraisal, we call an RFC to validate whether an appraisal should be allowed to be created for that particular employee, based on the employee's Job Competency Profile.
When we log onto R/3 and test the function we get RETURNCODE (of type SY-SUBRC) = 1. This is the expected result, meaning that the appraisal can not be created because the competency is not in the employee's profile.
However, when we log onto the portal with the same user, and submit the exact same parameters to the RFC call, we get a RETURNCODE=0, and the appraisal is created.
Has any of you experts out there ever run into a similar problem? Any assistance you can provide would be most appreciated.