Skip to Content
0
Former Member
Jun 27, 2008 at 07:30 AM

UDF "getProperty("SAPSYSTEMNAME");"

380 Views

Hi all,

I have to do a runtime check wether I am running on D, Q or P.

In that context i have created a UDF with the following code:

 String a = System.getProperty("SAPSYSTEMNAME");

return a; 

I get this error when I try to activate: "Mapping not sufficiently defined"

So my guess is that the UDF is not correctly defined, since the UDF-box in my mapping-overview is yellow.

Do I need to import a package? or is the coding wrong?

Thanks!

/Thomas