cancel
Showing results for 
Search instead for 
Did you mean: 

A problem about run interactive form in GP

Former Member
0 Kudos

Hi all, I am trying to run an interactive form in GP, but I am in trouble.

I can`t instanitiate any form in GP. I always got exception.

I am sure ADS which can work and I also configured the adapter of GP.

I have no idea what I can do. Can anyone give me a hand? Thx a lot. ^^

PS: Here is my exception message:

Execution ended in an unrecognized state

com.sap.caf.eu.gp.base.exception.EngineException: Execution ended in an unrecognized state

at com.sap.caf.eu.gp.model.co.execute.impl.CallableObjectExecutorImpl.executeBackground(CallableObjectExecutorImpl.java:242)

at com.sap.caf.eu.gp.model.co.execute.impl.CallableObjectExecutorImpl.execute(CallableObjectExecutorImpl.java:294)

at com.sap.caf.eu.gp.model.co.CallableObjectExecutor.doGet(CallableObjectExecutor.java:256)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)

Caused by: com.sap.caf.eu.gp.model.co.tech.TechnicalCallableObjectException: iform032

at com.sap.caf.eu.gp.model.iforms.preproc.FormPreprocessor.execute(FormPreprocessor.java:691)

at com.sap.caf.eu.gp.model.co.background.impl.BackgroundCOExecutorImpl$CallableObjectExecutor.run(BackgroundCOExecutorImpl.java:126)

at com.sap.caf.eu.gp.model.co.background.impl.BackgroundCOExecutorImpl.execute(BackgroundCOExecutorImpl.java:504)

at com.sap.caf.eu.gp.model.co.background.impl.BackgroundCOExecutorImpl.execute(BackgroundCOExecutorImpl.java:581)

at com.sap.caf.eu.gp.model.co.execute.impl.CallableObjectExecutorImpl.executeBackground(CallableObjectExecutorImpl.java:123)

... 18 more

Caused by: com.sap.caf.eu.gp.model.co.tech.TechnicalCallableObjectException: iform032

at com.sap.caf.eu.gp.model.iforms.preproc.FormPreprocessor.execute(FormPreprocessor.java:381)

... 22 more

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

whethere you are using any back ground callable object?

U please read the following document and cross verify the steps you have done

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/cd9534da-0c01-0010-0ab9-eed375c7...

Thanks and Regards

shanto aloor

Former Member
0 Kudos

Hi, Shanto. I just created a interactive form Co and use a very simple .xdp file. That`s all.

Then I try to test this callable object and got the problem. I had not used it waith any process.

The configuration I choosed was "Create Offline Interactive Form and Send by E-Mail".

That`s all I did. Thx for ur help.

Former Member
0 Kudos

Hi Louis,

are you using preprocessing in your IF CO?

Regards,

George.

Former Member
0 Kudos

Hi George, I am really new in GP.

I have no idea what preprocessing does mean.

I just tried to test IF CO like other common CO.

Then I found that I could instantiate form in object definition tab and I got wrong message >o<.

Former Member
0 Kudos

Dear Louis,

during creation of the IF CO, you pass through several steps.

One of them is preprocessing. In it you can optionally add a background CO, which is used during the preprocessing of the form. So this BG CO is faulty and is making the whole IF erroneous.

Please check in Design Time if you have such a preprocessing CO set.

Regards,

George.

Answers (2)

Answers (2)

tony_morellet
Participant
0 Kudos

Hi Louis,

I have the same problem, could you help me to find a issues please.

I'm trying to fill data from VC to a PDF by using GP.

Regards

Tony

Former Member
0 Kudos

Hi, Tony.

What problem do you actually have?

Do you get the exactly the same message?

Can you descrie your problem more specifically?

Best Regards.

Louis Huang.

tony_morellet
Participant
0 Kudos

Hi Louis,

Yes I have exactly the same problem with the same message.

I have created a GP processus. In my block I have 2 action. The first is an Iview Visual Composer CO and the second contains my PDF CO.

My PDF CO contains an xdp file.

Regards

Tony

Execution ended in an unrecognized state

com.sap.caf.eu.gp.base.exception.EngineException: Execution ended in an unrecognized state at com.sap.caf.eu.gp.model.co.execute.impl.CallableObjectExecutorImpl.executeBackground(CallableObjectExecutorImpl.java:242) at com.sap.caf.eu.gp.model.co.execute.impl.CallableObjectExecutorImpl.execute(CallableObjectExecutorImpl.java:294) at com.sap.caf.eu.gp.model.co.CallableObjectExecutor.doGet(CallableObjectExecutor.java:256) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(AccessController.java:215) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) Caused by: com.sap.caf.eu.gp.model.co.tech.TechnicalCallableObjectException: iform032 at com.sap.caf.eu.gp.model.iforms.preproc.FormPreprocessor.execute(FormPreprocessor.java:701) at com.sap.caf.eu.gp.model.co.background.impl.BackgroundCOExecutorImpl$CallableObjectExecutor.run(BackgroundCOExecutorImpl.java:126) at com.sap.caf.eu.gp.model.co.background.impl.BackgroundCOExecutorImpl.execute(BackgroundCOExecutorImpl.java:504) at com.sap.caf.eu.gp.model.co.background.impl.BackgroundCOExecutorImpl.execute(BackgroundCOExecutorImpl.java:581) at com.sap.caf.eu.gp.model.co.execute.impl.CallableObjectExecutorImpl.executeBackground(CallableObjectExecutorImpl.java:123) ... 18 more Caused by: com.sap.caf.eu.gp.model.co.tech.TechnicalCallableObjectException: iform032 at com.sap.caf.eu.gp.model.iforms.preproc.FormPreprocessor.execute(FormPreprocessor.java:381) ... 22 more

Former Member
0 Kudos

Hi, Tony.

How did you test your proccess? Did you instantiate a new process or just test the callable object?

I got this message when I just tested the callable object. Everything worked fine when I instantiate a new process. So try to instantiate a new process and let me know the result.

Best Regards.

Louis Huang.

tony_morellet
Participant
0 Kudos

Louis,

Yes I have this error when I initiate the document.

I have try to initiate the process and I can't show my document.

I have an error (in french ^^). "The following activity is not still available: try again later by means of the button of command."

I'm going to try with another example more simple.

Regards

Former Member
0 Kudos

Hi, Tony.

Check your adapter.

What kind of form did your use? Interactive form or composite form?

Best Regards.

Louis Huang.

tony_morellet
Participant
0 Kudos

Hi Louis,

I have created a new process but I have the same problem.

My adapter is adapter.adobe

I use an interactive form created with adobe designer.

I'm sorry but I'm new in GP !!

Regards

Tony

Former Member
0 Kudos

Hi Louis,

there is an error in the background callable object, that you are using as a Preprocessor for your form.

Investigate what might throw a Technical Excpetion there.

Regards,

George.

Former Member
0 Kudos

Hi, George. Thanks for your help, but i still can`t understand what I should do.

Can you describe more specifically? THX o