cancel
Showing results for 
Search instead for 
Did you mean: 

regarding UDF coding

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

hi all,

solved my problem.

regards,

subbareddy

Former Member
0 Kudos

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

Former Member
0 Kudos

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