Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Multi-Mapping and Message Split using BPM UDFs Error

hi

As per the below blog

Illustration of Multi-Mapping and Message Split using BPM in SAP Exchange Infrastructure

I have just modified the UDFs(1.selectnodeifA 2.selectNodeifB)

1.selectnodeifA

for(int i=0;i<=n;i++)

{

if(Name<i>.equals("A"))

result.addValue(Node<i>);

}

2.selectNodeifB

for(int i=0;i<=n;i++)

{

if(Name<i>.equals("B"))

result.addValue(Node<i>);

}

while checking I am getting the following errors

Source code has syntax error:

D:/usr/sap/D10/DVEBMGS01/j2ee/cluster/server0/./temp/classpath_resolver/Mapdc8fa4d0896011dd907d001cc01cef0d/source/com/sap/xi/tf/_bpm_mm_.java:132: cannot resolve symbol

symbol : variable n

location: class com.sap.xi.tf._bpm_mm_

for(int i=0;i<=n;i++)

^

D:/usr/sap/D10/DVEBMGS01/j2ee/cluster/server0/./temp/classpath_resolver/Mapdc8fa4d0896011dd907d001cc01cef0d/source/com/sap/xi/tf/_bpm_mm_.java:140: cannot resolve symbol symbol : variable n

location: class com.sap.xi.tf._bpm_mm_

for(int i=0;i<=n;i++)

^

2 errors

The source code given in the blog is correct ? I thought for loop has not completed

pls help

manian

Former Member
Former Member replied

Hi manian,

Can you post the header of your function?

I think it is case-sensitive, so node variable, is Node or node?...

for(int i=0;i<=node.length;i++)

or

for(int i=0;i<=Node.length;i++)

Carlos

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question