Quantcast
Channel: SCN : Discussion List - SAP Sourcing
Viewing all articles
Browse latest Browse all 1416

Exception on iBeanHome.find() in the prescript of workflow

$
0
0

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


Viewing all articles
Browse latest Browse all 1416

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>