cancel
Showing results for 
Search instead for 
Did you mean: 

SAP XI mapping.

Former Member
0 Kudos

Hello folks,

Guys i need few of the user defined functions which are mostly created and used by you guys which performing the mapping.

I have the basic understanding of what actually is a user defined function and the types of functions in it.

It would be great if you can send me the jave code (of your usd) and the purpose why you have to use it...

  • Points will surely be rewarded*

Thanking you Guys

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sainath,

Refer the below link where I have provided few more information.

UDF are used for maping purposes.

1) To raise alert message.

Triggering by Calling a Function Module Directly.

/people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function

2) For Lookup purpose:

• RFC lookup using JCO (without communication channel)

/people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups

• RFC lookup with communication channel.

/people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer

3) If u wanted to sned some values bases on input condition is satisfied.

Suppose for input value A i need to send result as Valid value and for other values i need to send values as Not a valid value.

input value a

for(i=0;i<a.length;i++)

{

if(a<i>.equals("A"))

{

result.addValue("Valid Value");

}

else

{

result.addValue("Not a Valid Value");

}

}

there can be many UDF based on requirements.

chirag

Edited by: Chirag Gohil on Apr 2, 2008 3:38 PM

Answers (1)

Answers (1)

Former Member
0 Kudos