Skip to Content
avatar image
Former Member

regarding UDF coding

Hi all,

if ( int i= 0; i<Material_Header.length;i++)

{

if(int j=0;j<Material_Item.length;j++)

{

if(Material_Header<i> == Material_Item.length[j])

{

result.addValue("0");

}

}

}

the above requirement i need to do by using the UDF,where we need to write the coding part in xi.

thanks,

subba reddy

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Jul 17, 2009 at 04:11 PM

    A little search on SDN or Google (SAP XI creating User defined functions) would have brough you the perfect link...

    This was the first & in-fact the Best link that you need for UDF's...

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

    -Siva Maranani

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 17, 2009 at 04:13 PM

    Hi..

    I dont' understand what do you need?..

    The code is ok but review Material_Header you compare with an array.

    In other case , Please check this blog

    https://wiki.sdn.sap.com/wiki/display/XI/UDF%20Execution%20Type%20-%20Context%20and%20Queue.

    Edited by: Luis Ortiz on Jul 17, 2009 11:23 AM

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 12, 2009 at 05:34 AM

    hi all,

    solved my problem.

    regards,

    subbareddy

    Add comment
    10|10000 characters needed characters exceeded