Skip to Content

Calling SAP ME PAPI from WDP application


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("", "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)


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers