on ‎2010 May 26 11:53 AM
Hello,
I an a Java person with very little knowledge of ABAP. I have a Function Module, which returns the String - Y_text with value "X" or "Y". Now, I want to use this "X" or "Y" in my JSP page. And based on the value do some things. Eg:
If (Y_text == "X")
{
"Value is X"
}
How do I pick up the valus of Y_text from the function module?
I know how to get the values from Extention Data like below, but this does not seem to be working in case of the String from function module.
String Y_text = (String) userSessionData.getAttribute("Y_text");
Kindly suggest.
Request clarification before answering.
Hi Shaun,
Check the below link, it discusses about calling function module from ISA. Its a nice beginner's tutorial
by Sateesh. You can copy the code given in ZAction.java in your jsp and get the values from FM.
http://sites.google.com/site/sateeshchandrach2/isa2
Hope this helps you!
Regards,
Arshi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.