on 07-10-2007 6:11 PM
Dear Friends,
I have a doubt in excecuting the GlobalContainer in UDF. It will be great if you guys help me out in solving it.
I'm passing some array of values into UDF.After doing some validations I need to set these values in array of Global Container.Later in other UDF I've to retrieve the array of values from the Global Container.
Can you guys shed some light on what logic needs to be done ?
Best regards,
raj.
Use Java Sections instead of GlobalContainer.
Check this link: http://help.sap.com/saphelp_nw2004s/helpdata/en/49/1ebc6111ea2f45a9946c702b685299/frameset.htm
on the java sections part.
Basically you define the global variable in the Global Variables section. For example:
List list = null;
Then in initalization section, you initialize the global variable:
list = new Vector();
Then you could have your UDFs filling and later reading the variable (just read/write the <i>list</i> variable).
In the Cleanup section, you can do for example:
list.clear();
Regards,
Henrique.
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 | |
10 | |
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.