cancel
Showing results for 
Search instead for 
Did you mean: 

Java Section in IR

Former Member
0 Kudos

How do we use the Java Section (Message mapping>Design>Edit Java Sections) in IR.

Accepted Solutions (1)

Accepted Solutions (1)

GabrielSagaya
Active Contributor
0 Kudos

Edit Java Section

Use this function to specify global variables and additional Java sections for all Java functions. The mapping runtime first includes the Java packages specified under Imports. You can enter the same packages entered for a user-defined function. Then the mapping runtime declares the variables entered as global variables and executes the sections in the following order:

...

1. Initialization section

2. Message mapping

3. Cleanup section

http://help.sap.com/saphelp_nw04/helpdata/en/ee/bf9640dc522f28e10000000a1550b0/frameset.htm

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Edit Java function is to specify global variables and to mentioned about additional Java sections for all Java functions.

The mapping is internally based on Java SAX parsers so runtime first it will include the Java packages specified under Imports. It will be used if any special package need to be import else the standard Java.lang or Maths packages have default imported no need to mentione about it.

You can enter the same packages entered for a user-defined function. Then the mapping runtime declares the variables entered as global variables and executes the sections in the following order:

1. Initialization section

2. Message mapping

3. Cleanup section

Thanks

Swarup

Edited by: Swarup Sawant on Mar 10, 2008 7:25 AM

Former Member
0 Kudos

Hi,

We will use JAVA in IR to write the UDF's in mapping.

UDF is used when source and the target structures are differemt and not able to fullfill the requirement with standard functione means we wil use the udf's

Also you can develop the JAVA mapping also like Graphicasl mapping

we have 4 types of mappings in XI

1) Graphical mapping

2)JAVA mappping

3)ABAP mapping

4)XSLT mapping

Regards

Seshagiri

Edited by: N V Seshagiri on Mar 10, 2008 6:51 AM