cancel
Showing results for 
Search instead for 
Did you mean: 

edit a simple UDF

Former Member
0 Kudos

Hi All,

Is it possible to edit a UDF after creating and saving it? If not how to test the same before saving it?

THanks & Regards,

Jai Shankar.

Accepted Solutions (1)

Accepted Solutions (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Jai,

It is possible It is possible even after you activate your mapping.

Your mapping should be in EDIT mode --> Select User Defined Functions --> Edit Function

Regards,

Bhavesh

Former Member
0 Kudos

Hi Bhavesh,

It is you again for my rescue:-)

Thanks a lot. Can you suggest me some good docs on UDFs...

BTW when I create a simple UDF with 2 arguments, the method is taking 3 arguments. The last argument is Container container. What is this?

Thanks & Regards,

Jai Shankar.

Former Member
0 Kudos

Hi ,

Check this link...

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

conainer object

<i>This object enables you to cache the values that you want to read again when you next call the same user-defined function</i>

sekhar

MichalKrawczyk
Active Contributor
0 Kudos

hi,

in this document

you will find a lot of info about UDFs

https://websmp108.sap-ag.de/~sapdownload/011000358700003604872004E/MappingXI30.pdf

Regards,

michal

bhavesh_kantilal
Active Contributor
0 Kudos

Jai,

<i>Container object enables you to cache the values that you want to read again when you next call the same user-defined function. An instance of the container object is transferred to each user-specific function by using the container parameter.</i>

From , http://help.sap.com/saphelp_nw04/helpdata/en/78/b4ea10263c404599ec6edabf59aa6c/content.htm

You can access Mapping Runtime Constants uing the Container Object, including Trace to add trace statements.

Regards,

Bhavesh

Former Member
0 Kudos

Thanks a lot gurus.

Thanks & Regards,

Jai Shankar.

Answers (0)