on 03-23-2009 4:28 AM
Hi All,
Under Message Mapping there is a tab Edit Java Sections . Under that there are three sections
Global Variables , Initialization and Clean Up Section. Can anyone please provide me some details on this .
I mean what is the kind of scenario when this section is used in mapping.
Hi Amit,
For this particular information SAP Help is the best site.
http://help.sap.com/saphelp_nw04/helpdata/EN/ee/bf9640dc522f28e10000000a1550b0/frameset.htm
With the use of Java Edit section, you can define the global variables that can be used with UDFs on runtime.
Also you may write the intitialization code and clean-up code which can be used at the time of Method execution.
PS note : Please don't mind......but I would like to request you, before posting the questions please use the search facility on SDN. Most of the time these topics where already discussed & you will get the answers...;-))
Thanks
Swarup
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you like to declare a global varaible for your mappings then in that case you can edit the defined global variable usng the edit option.
Clean up i think(not sure) for releasing memory variable if at all declared like final block.
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Initialization is used to instantiate your msg mapping during runtime.........
Global variables is used to define global variables to be used in msg mapping...........
Cleanup is used to clean the Java resources used in invoking the msg mapping during the runtime after the msg mapping is done for your msg in XI.............
Regards,
Rajeev Gupta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.