cancel
Showing results for 
Search instead for 
Did you mean: 

GP Background callable object using WD API

Former Member
0 Kudos

Hello,

i am trying to create a Background Callable Object in GP and this is working fine.

I created the CO as per http://help.sap.com/saphelp_nw70/helpdata/EN/9a/e8934258a5ca6ae10000000a155106/frameset.htm

However, in order to enhance some functionlaities, i would now like to call some Webdynpro APIs from my background callable object.

But this somehow does not work.

In order to access some WD APIs i add the tc/wd/webdynpro as a used DC to the Java DC with a build time dependency.

Also i added the tc/wd/webdynpro as a used DC to the J2EE Server Component Library DC with a build time, deploy time and runtime dependency.

I get noClassDefFound error for the WD class i am trying to call. I suppose the current classloader is not able to load or does not have the WD classes loaded.

If anybody has worked on such a scenario then please do share your inputs.

one question: Is it not possible to call RFCs using Backgroung CO??

Thanks and regards

Satyaki.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Satyaki,

have a look at the following website.

[Application Configuration|http://help.sap.com/saphelp_nw70/helpdata/DE/53/c8af42a6f6cb6ae10000000a155106/frameset.htm]

I think the problem is, that you have to complete the portalapps.xml with an entry like:

<property name="ServicesReference" value="SAPJ2EE::library:cafeugp~api"/>

Best regards

Marco