Hi Experts,
I am developing workflow for Contract Document. The prescript get the endorser from the extension collection and try to get the iBean from iBeanHome.find() method. I got exception on the 'iBeanHome.find()' from the following code.
endorserHome = IBeanHomeLocator.lookup(session, endorser); endorserBean = endorserHome.find(endorser);
The exception ocuured from 'endorserBean = endorserHome.find(endorser);'. I have no ide how to solve this. Could you please advise.
Below is the stack trace.
Facility=local4;sessionid=odp_event_workflow_engine;tenantid=#system#;username=daemon;exception=com.sap.odp.api.common.exception.ApplicationException: You cannot view the document because you do not have sufficient permissions. Contact the document owner to request access to it.;stacktrace=ValidatingParent=-2147483346:104:Noppong Jinbunluphol - com.sap.odp.api.common.exception.ApplicationException: You cannot view the document because you do not have sufficient permissions. Contact the document owner to request access to it.
Facility=local4;sessionid=odp_event_workflow_engine;tenantid=#context.gemsclm#;username=daemon;exception=Sourced file: inline evaluation of: ``import com.sap.odp.api.common.exception.*; import com.sap.odp.api.common.log.*; . . . '' : Method Invocation endorserHome.find : at Line: 25 : in file: inline evaluation of: ``import com.sap.odp.api.common.exception.*; import com.sap.odp.api.common.log.*; . . . '' : endorserHome .find ( endorser ) Called from method: wfApprove : at Line: 90 : in file: inline evaluation of: ``import com.sap.odp.api.common.exception.*; import com.sap.odp.api.common.log.*; . . . '' : wfApprove ( endorser ) Target exception: com.sap.odp.api.common.exception.ApplicationException: You cannot view the document because you do not have sufficient permissions. Contact the document owner to request access to it. ;stacktrace=Sourced file: inline evaluation of: ``import com.sap.odp.api.common.exception.*; import com.sap.odp.api.common.log.*; . . . '' : Method Invocation endorserHome.find : at Line: 25 : in file: inline evaluation of: ``import com.sap.odp.api.common.exception.*; import com.sap.odp.api.common.log.*; . . . '' : endorserHome .find ( endorser ) Called from method: wfApprove : at Line: 90 : in file: inline evaluation of: ``import com.sap.odp.api.common.exception.*; import com.sap.odp.api.common.log.*; . . . '' : wfApprove ( endorser ) Target exception: com.sap.odp.api.common.exception.ApplicationException: You cannot view the document because you do not have sufficient permissions. Contact the document owner to request access to it.
Noppong Jinbunluphol,
Thank you in advance