on ‎2017 Mar 20 6:44 AM
Dear Scn users,
I tried creating a NRO from mapping using UDF.
https://blogs.sap.com/2016/09/01/nro-access-from-mapping-esr/
Imported all the Jars and no error while map check.
Error Screenshot below

And below is the UDF
AbstractTrace trace = container.getTrace(); long value = 0;
String numberRangeName= new String(var1);
value = new Long(var2);
long minValue = new Long(var3);
long maxValue = new Long(var4);
short valueLength = new Short(var5);
boolean rotate = new Boolean(var6);
int warnLevel = new Integer(var7);
String description = new String(var8);
try{
NROApiAccessRemote api = NROApiAccessFactory.createRemoteNROApiAccess();
INumberRangeObject obj = api. createNewNumberRangeObject(numberRangeName,value,minValue,maxValue,valueLength,rotate,warnLevel,description);
}
catch (Exception ex) { trace.addWarning("Unable to get NRO. " + ex.getMessage()); throw new RuntimeException("The values " + var1 + ", in " + container + " could not be processed.", ex); }
return ""+numberRangeName;
What could be the issue,Please assist.
Request clarification before answering.
Thanks Inaki,
Anyone else any idea/clues?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 12 | |
| 9 | |
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.