Quantcast
Channel: SCN : Unanswered Discussions - B2B Integration with SAP Process Orchestration
Viewing all articles
Browse latest Browse all 499

NRO Api - Number Range API

$
0
0

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)      
Any ideas ?

 


Viewing all articles
Browse latest Browse all 499

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>