cancel
Showing results for 
Search instead for 
Did you mean: 

Imported Archieves

Former Member
0 Kudos

Hi Experts

1.What is the use of Imported Archieves..? It is used in mapping...?

2.How to create an UDF?

Thanks in Advance..

Accepted Solutions (1)

Accepted Solutions (1)

santhosh_kumarv
Active Contributor
0 Kudos

Hi

>>1.What is the use of Imported Archieves..? It is used in mapping...?

Yes it is used for mapping

Importing Archives are used for import/upload the Mapping Object.

While we are doing Java or XSLT Mapping we import the jar/zip files into the Imported Archives.

<b>Java Mapping</b>

We develop the java code in NWDS and create a .jar file.

In the IR we import the .jar files under the Imported Archieve.

Imported Java Class file functions are also used as UDF.

<b>XSLT Mapping</b>

We zip the .xsl file and import it using Imported Archieve.

Former Member
0 Kudos

Thanks for ur reply....

How to create an UDF...?

Can u give me an example...?

justin_santhanam
Active Contributor
0 Kudos

Saravana,

If you choose mapping editor, in the bottom of the page left corner u can see symbol Rectangle symbol , just click that and create your own UDF. While creating UDF u have to choose Value or COntext/Queue. Value will have only incoming values, but Context/Queue will have array of values. I think the second part will confuse you, better have a look at references. It will be more helpful.

Best regards,

raj.

santhosh_kumarv
Active Contributor
0 Kudos

Hi

Steps to create an UDF:

--> In the LHS of the graphical Editor u can find a Create New Function button.

--> Click on it and give a name for u UDF

--> Also specify the parameters to the UDF. Note that the input & Output type to the parameter is always String type

or

--> Create an Java class using IDE and archive the file

--> Upload the archived file into XI in IMPORTEDARCHIEVES of Integeration Repository

-->These uploaded functions can be used in the Mapping

<a href="/people/wojciech.gasiorowski/blog/2006/11/01/the-power-of-regular-expressions-in-graphical-mapping-xi Power of Regular Expression in Graphical mapping</a>

Regards

Santhosh

<a href=" to set the thread to solved when you have received a solution</a>

Answers (3)

Answers (3)

former_member181959
Contributor
0 Kudos

Hi,

Please find details below,

>>1.What is the use of Imported Archieves..? It is used in mapping...?

Hi we use imported archives to import the external archives we use for mapping. It can be a .jar or .zip file. You can load the object code into in Imported archives and you can use in the mapping programs.

>>2.How to create an UDF?

Creating UDF is a job. All the u need to do is click on new button in the data flow editor of mapping editor. and give the name, description and cache type (value/context/queue)

and then click create then write your java code in it.

Hope this helps.

-Prasad Babu.

prabhu_s2
Active Contributor
0 Kudos

<b>1.What is the use of Imported Archieves..? It is used in mapping...?</b>

Imported archives is used to import your mapping objects. It is used import java class files, XSLT files as mapping programs. inshort Imported Archives are used for Importing the Externally Defined Mapping Programs in to IR. check

http://help.sap.com/saphelp_nw04s/helpdata/en/4c/b2ad3de2d76b3be10000000a114084/frameset.htm

<b>2.How to create an UDF?</b>

http://help.sap.com/saphelp_nw70/helpdata/en/22/e127f28b572243b4324879c6bf05a0/frameset.htm

Former Member
0 Kudos

Hi,<i>

>>>1.What is the use of Imported Archieves..? It is used in mapping...?</i>

In Imported Archives u can import ur XSLT mapping as a .jar or .zip file and use it in interface mapping (no need of message mapping).

<i>>>>2.How to create an UDF?</i>

Go to message mapping...create a new mapping or edit existing mapping...below u hav all predefined functions...before functions there in small icon...click on it....n create UDF.

Thanks,

Maheshwari.