Skip to Content
0
Former Member
Nov 17, 2004 at 08:54 AM

SAP Connector Runtime Error

43 Views

Hello!

I'm trying to get the SAP conntector to work.

I try to run the sample code from the PDK documentation.

It compiles fine, but when I run the sample code in the portal I get a runtime error (sorry it's in german):

Portal-Laufzeitfehler

Fehler aufgetreten bei der Verarbeitung eines Request für :

iView : N/A

Komponentenname : N/A

com/sapportals/portal/ivs/cg/IConnectorService.

Exception id: 09:54_17/11/04_0001

See the details for the exception ID in the log file

This is the code that causes the error:

IConnectorService connectorservice = (IConnectorService)PortalRuntime.getRuntimeResources().getService( IConnectorService.KEY);

IConnectorGatewayService cgService = connectorservice.getIConnectorGatewayService();

Any ideas how I can get this code to work?