Skip to Content
0
Former Member
Sep 23, 2008 at 11:22 AM

Multi-Mapping and Message Split using BPM UDFs Error

28 Views

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