cancel
Showing results for 
Search instead for 
Did you mean: 

how many types of user defined functions are there?

Former Member
0 Kudos

how many types of user defined functions are there?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Ramakrishna,

A user-defined function is only visible in the message mapping in which you created it. You can insert the function in the data-flow editor as a standard function by using the User-Defined function category.

You can use the following user-defined functions:

1.Simple functions, which can process individual field input values for each function call. Simple functions therefore expect strings as input values and return a string.

2.Advanced functions, which can process several field input values for each function call. You can import either all field values of a context or the whole queue for the field in an array before calling the function. For more information, see Advanced User-Defined Functions.

go through :

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

Advanced user-defined functions, which can process more than just individual field values.Instead, you can import a complete context or an entire queue for a field as an array before your function is called

go through :

http://help.sap.com/saphelp_erp2004/helpdata/en/f8/2857cbc374da48993c8eb7d3c8c87a/content.htm

*Pls: Reward points if helpful*

Regards,

Jyoti

Former Member
0 Kudos

Hi,

earlier their used to be two types of UDF

1. Simple

2. Advanced

But in PI 7.0, there is only 1 type, but with the option of taking values, or context or the queue.

Hope this would suffice you.

If yes, kindly reward.