Skip to Content
avatar image
Former Member

how many types of user defined functions are there?

how many types of user defined functions are there?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Dec 18, 2007 at 12:29 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 18, 2007 at 01:18 PM

    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

    Add comment
    10|10000 characters needed characters exceeded