Skip to Content
0
Former Member
Sep 03, 2009 at 09:27 AM

Export parameter in Message mapping UDF

465 Views

Hi, I use PI7.1.

I defined an Export parameter in Message mapping "Signature" tab.

And as http://help.sap.com/saphelp_nwpi71/helpdata/en/43/c3e1fa6c31599ee10000000a1553f6/frameset.htm,

I wrote in my UDF as follows:

public String myudf(int var1) {

String str="test";

if(exists("MY_PARA") == true) {

getOutputParameters.setString("MY_PARA", str);

}

return str;

}

However when I ran the test, it said there is "syntax error".

I guess the reason is not found the method exitst() or getOutputParameters. Anybody can help? thanks