cancel
Showing results for 
Search instead for 
Did you mean: 

IWebdynproCO

Former Member
0 Kudos
250

I am trying to use this callable object in my web dynpro app but for some reason it generates a method with a signature

ITechnicalDesc getDescription()

. It then gives a compile error saying it can't find the class. It is also not able to lookup IExecutionContext class!

I am using 7.0.07 IDE.

Any clue?

View Entire Topic
Former Member
0 Kudos

you're referring to old GP interface definition (prior to NW04s SP7). Read my blog "Working with the APIs of CAF Guided Procedures: NWDI or Local Development?" /people/andre.truong/blog/2006/06/26/working-with-the-apis-of-caf-guided-procedures-nwdi-or-local-development and get the latest iGPWebdynpro api and code sample from the article in the blog.

Sid-Bhattacharya
Product and Topic Expert
Product and Topic Expert
0 Kudos

Thanks Andre.

I have a problem while creating a Callable Object out of my Web Dynpro. When I pick a Web Dynpro type GP Callable interface I see the app but it does not go to the next step (specify Input). Is there anything else I need to do so that I can create a Callable Object ??

When I try to run the Webdynpro app directly it gives a runtime error 'GPStructure' not found. I have the used DC added correctly and it builds correctly as well. I have the Build, Deploy, Runtime checked when I added the used Dc so it should be able to deploy the required jars.

Any ideas?

Former Member
0 Kudos

did you add the reference to the cafeugp~api in the libraries tab of your WD project properties?

Sid-Bhattacharya
Product and Topic Expert
Product and Topic Expert
0 Kudos

Rookie mistake!! Thanks for pointing that out Andre.

One final(hopefully) question..

For some reason I was not able to go from my WebdynproCO to an Approval form. I added the processingComplete() method and changed the state to 'Success' in the CO method but still the Process stays on first sequential block and does not goto the next (which has an approval form). Any ideas???

Here is more info

1 .Process

1.1. Sequential Block - Action - WD CO Application

1.2. Sequential Block - Action - Visual Approval Form.

Sid-Bhattacharya
Product and Topic Expert
Product and Topic Expert
0 Kudos

Any help on this?

Thanks

Former Member
0 Kudos

Siddhartha,

I suggest that rather than having two blocks in the process , you can have only one sequential block.To be more clear,you can put the 'actions' corresponding to the individual Callable Objects(the webdynpro and Approval form )in the same block.You will have to map the output parameter of the WDP callable object to the input parameters of the Approval Form CO.And finally you can assign this block to the 'process'.

Hope this helps.

Regards,

Karambir Singh.

Former Member
0 Kudos

Hi,

in your WD-Application you need a Button which is to an actionevent. In this actionevent you must implement the following Code:

executionContext.setResultState(resultState); executionContext.processingComplete();

This should work...

Bye Steve

Sid-Bhattacharya
Product and Topic Expert
Product and Topic Expert
0 Kudos

Karambir, I tried this approach too but the same results.

Steve, I already have those 2 lines of code.