Hi,
I am trying to create a UDF which calls the NRO API to get the next number for the number range within the mapping.
However i followed the instructions in the NRO_API_Documentation.pdf but even though the UDF compiles I get an error when it tries to get the Factory.
AbstractTrace trace = container.getTrace();
try{
NROApiAccessRemote api = NROApiAccessFactory.createRemoteNROApiAccess();
} catch (Exception ex) {
throw new RuntimeException(ex.getMessage() , ex);
}
Exception:[java.lang.RuntimeException: com.sap.aii.nro.apiaccess.NROApiAccessHome] in class xxx.Mapping.NROInterface method ReadNextNumberAndUpdate[MFGSeq, com.sap.aii.mappingtool.tf7.rt.Context@1d652230]
com.sap.aii.utilxi.misc.api.BaseRuntimeException: Exception:[java.lang.RuntimeException: com.sap.aii.nro.apiaccess.NROApiAccessHome] in class com.linfox.integration.Global.Mapping.NROInterface method ReadNextNumberAndUpdate[MFGSeq, com.sap.aii.mappingtool.tf7.rt.Context@1d652230]
at com.sap.aii.mappingtool.tf7.rt.MethodImplementedIteratorHelper.executeMethod(MethodImplementedIteratorHelper.java:188)
com.sap.aii.utilxi.misc.api.BaseRuntimeException: Exception:[java.lang.RuntimeException: com.sap.aii.nro.apiaccess.NROApiAccessHome] in class com.linfox.integration.Global.Mapping.NROInterface method ReadNextNumberAndUpdate[MFGSeq, com.sap.aii.mappingtool.tf7.rt.Context@1d652230]
at com.sap.aii.mappingtool.tf7.rt.MethodImplementedIteratorHelper.executeMethod(MethodImplementedIteratorHelper.java:188)
Any ideas ?