cancel
Showing results for 
Search instead for 
Did you mean: 

Any possibility of writting User Define Fucntions using ABAP in XI .

Former Member
0 Kudos

Hi Gurus,

The question may be silly but is any way we can write UDF using ABAP for XI .

Regards,

Satya Jethy

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI Satya ,

Well almost everybody in above post have answered your question as UDFs will not be possible using ABAP as it relies on Java engine.

But below info will help you to use UDF step by step with Java

There are 2 types of UDF's....

1)Simple UDF....can process individual field input values for each function call

2)Advanced....can process multiple field input values for each function call

Check this one...

http://help.sap.com/saphelp_nw2004s/helpdata/en/d9/718e40496f6f1de10000000a1550b0/content.htm

please go through ABAP mapping

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5c46ab90-0201-0010-42bd-9d030259...

SAP Network Blog: Testing ABAP Mapping

/people/sameer.shadab/blog/2005/09/29/testing-abap-mapping

thanks

Swarup

Former Member
0 Kudos

Thanks for your ans.

Regards,

Satya Jethy

prateek
Active Contributor
0 Kudos

UDF is a functionality which is used at the mapping step in XI. Now if u want a functionality written to ABAP to be run in message mapping, then go for RFC lookup. U may write ur funtionality code (ABAP) in the RFC and call it in the UDF of XI

Regards,

Prateek

Former Member
0 Kudos

Hi Prateek,

I thought in the same way but little worried about the execution time of message if ABAP is used in place of Java for UDFs .

Regards,

Satya Jethy

prateek
Active Contributor
0 Kudos

Ur concern is correct. It will surely take an RFC lookup more time as compared to a java UDF. But the usage must be dependent on the requirement.

e.g. if u have a huge ABAP code ready, and u dont want to replicate it in java, then better to access that code through an rfc lookup.

Regards,

Prateek

Answers (3)

Answers (3)

Former Member
0 Kudos

Parteek thanks fo ryour comments.

Former Member
0 Kudos

Hi,

UDF is mainly used to map source to target with extra functionalites. UDF is run by JAVA only.

If u want to use ABAP use it in ABAP MAPPING and import that in message mapping directly.

Plz award points..

Former Member
0 Kudos

Hi,

Thanks for you reply.

Former Member
0 Kudos

Hello,

you can write UDFs only in java, the only way to use ABAP is to

write the complete mapping in ABAP.

Regards

Patrick

Former Member
0 Kudos

Hi,

UDF is written only in java as it is executed on java engine.

if u want to write the similar functionality then u need to use the ABAP mapping.

Thnx

Chirag