Skip to Content
0
Former Member
Dec 20, 2005 at 05:19 PM

Access LookupManager.getAllCPAObjects in mapping possible?

17 Views

From within the Java code of an XSLT map, I would like to lookup a Party and its Identifiers.

LookupManager lm = LookupManager.getInstance();

lm.getAllCPAObjects(CPAObjectType.PARTY_IDENTIFIER);

It is possible to instantiate the LookupManager. But the method getAllCAPObjects gives the following error:com.sap.aii.af.service.cpa.impl.exception.CPADBException: Couldn't get database connection, due to: null

The above code works OK in a J2EE Adapter Module.

All suggestions are welcome.

Kind regards, Guy Crets