cancel
Showing results for 
Search instead for 
Did you mean: 

sap pi receiver/sender function

Former Member
0 Kudos

Hi Experts,

Can you please help me regarding the bellow error,

Source code has syntax error:

/usr/sap/XD7/DVEBMGS13/j2ee/cluster/server0/./temp/classpath_resolver/Mapae6fbd60965511e090f1001b785a2d64/source/com/sap/xi/tf/_MDMProductMaterialData_Probe_MatmasMatmas05_ClfmasClfmas02_01_01_.java:10307:

incompatible types found :

boolean required:

java.lang.String return true; ^

I am getting this when using receiver/sender function in message mapping.

Accepted Solutions (1)

Accepted Solutions (1)

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

The expected input is Boolean but you are passing a string. If you are using equals from the Boolean functions, replace it with equalsS from the text functions.

Hope this helps,

Mark

Answers (2)

Answers (2)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

You are passing string but the method expects Boolean. If you need more help, provide your logic or elaborate more.

Former Member
0 Kudos

Hi Aniruddha,

Can you please provide more details of the error like the way you have used the sender function, i.e the mapping in which you have used the sender function?

there is a Java string error. so probably it is not failing in the sender function itself, maybe during some manipulation of its value. Also, just to make sure that during your runtime test, you have placed the test value in the parameters tab rite?

Regards,

ninu