cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Access function module string from JSP file

Former Member
0 Likes
216

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

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