cancel
Showing results for 
Search instead for 
Did you mean: 

Calling SAP ME PAPI from WDP application

olivier_thiry
Participant
0 Kudos

Hello,

I tried to call some ME PAPI from webdynpro application (java), but for any reason, it's not working, I think I miss one step...

I added all SC dependancies, I don't have any issue at build time, everything is recognized, but when I deploy and run the application, I got the famous error

java.lang.NoClassDefFoundError: com/sap/me/frame/ServiceLocator

Example of the code :

SfcStateServiceInterface sfcService = (SfcStateServiceInterface) ServiceLocator .getService("com.sap.me.production", "SfcStateService");

This is working fine in a pure "SDK" development, but not in my WDP application, any idea what I miss ? I know in SDK dev, we need to implement a config-service.xml, should I do so also for my WDP DC ? And if yes, how/where to put it ?

We are running SAP ME 15.1 on a 7.5 NW box (brand new so)

Thanks!

Accepted Solutions (0)

Answers (0)