on 11-28-2006 12:24 PM
Hi ,
In the message mapping we can declare variables in the JAVA section , these variables could be used across the mapping .
I have tried using it but I am unable to retrieve the values assigned to the variables in one UDF into the another UDF .
Please guide me how to use the variables declared in the JAVA section in the message mapping .
Thanks
Anita Yadav
Hey Anita,
Declare your variables in Global variables Section ( which is popup from Java section in Java Section ) and initate those variables in Initialization section ( just like constructor in java ) CleanUp those variables in Clean-Up section ( just like destructor in java)
Its working fine in my scenario...( SP 16)
Thanks.,
Esha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Anita,
I have worked on the Global variables and i found no issues. Make sure that the variable is declared in the Declaration Section and then initlaized in the Initialization section.
If you declare a variable in the Declaration Section ,
int i;
then in any udf you can use if directly. No need to re declare the variable in the UDF. If you do this, then it becomes a local variable.
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
/people/sap.user72/blog/2005/10/01/xi-new-features-in-sp14
Regards,
Jai Shankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
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.