Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10548

Re: SAP PI - UDF

$
0
0

HI Luis,

 

  Thank you. but my code gives small syntax error as  below.

 

if (Brand.equalsIgnoreCase ("BK") && CustNo.startsWith("5")){

return "3299970";

} else {

return "3299971";

}else if (Brand.equalsIgnoreCase ("DQ") && CustNo.startsWith("5")){

return "3299972";

} else {

return "3299973";

}else if (Brand.equalsIgnoreCase ("SW") && CustNo.startsWith("5")){

return "3299974";

} else {

return "3299975";

}else if (Brand.equalsIgnoreCase ("SZ") && CustNo.startsWith("5")){

return "3299976";

} else {

return "3299977";

}else if (Brand.equalsIgnoreCase ("PZ") && CustNo.startsWith("5")){

return "3299978";

} else {

return "3299979";

}else (Brand.equalsIgnoreCase ("CF") && CustNo.startsWith("5")){

return "3299980";

} else {

return "3299981";

}


Viewing all articles
Browse latest Browse all 10548

Trending Articles



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