cancel
Showing results for 
Search instead for 
Did you mean: 

Javascript Method

Former Member
0 Kudos

Hi,

I am new to PI.

I want to call a Javascript method during mapping.

I know how to wirte Javascript method. But I do not know where in PI mapping I should place this Javascipt code and how to call this method during mapping.

I can see that there are several inbuilt functions in PI while mapping such as indexOf, search, etc...

I want to include my own function in that list and use it while mapping.

Thanks in advance,

Amara.

Accepted Solutions (0)

Answers (1)

Answers (1)

Shabarish_Nair
Active Contributor
0 Kudos

>

> Hi,

>

> I am new to PI.

>

> I want to call a Javascript method during mapping.

>

> I know how to wirte Javascript method. But I do not know where in PI mapping I should place this Javascipt code and how to call this method during mapping.

you cant call a script from java mapping. You can call it via a java proxy

>

> I can see that there are several inbuilt functions in PI while mapping such as indexOf, search, etc...

> I want to include my own function in that list and use it while mapping.

>

> Thanks in advance,

> Amara.

sure you can develop UDFs.

ref: http://help.sap.com/saphelp_nw04/helpdata/en/22/e127f28b572243b4324879c6bf05a0/content.htm