Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Unable to instantiate GP process from CAF application service

Hi,

I am trying to instantiate a process from my CAF application service as follows.

IGPProcess process = GPProcessFactory.getDesigntimeManager().getActiveTemplate("7CE44BF090BF11D99817000D60B211F1",user);

When the execution reaches this step, I am getting the following exception.

com.sap.engine.frame.core.load.SAPClassNotFoundException

I suspect that CAF runtime is not able to load GPProcessFactory class. Is there any settings that need to be done or I have to deploy something on the server?

Please help.

Thanks

Raghav

replied

Hi Raghavendra,

It seems you are using SPS7 !

Check runtime reference for J2ee application in application-j2ee-engine.xml :

<reference

reference-type="weak">

<reference-target

provider-name="sap.com"

target-type="library">cafeugp~api</reference-target>

</reference>

Best regards,

Aliaksei

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question