Skip to Content
0
Former Member
Sep 27, 2005 at 01:32 PM

Passing variable in Java to ABAP

37 Views

We are working on a BSP application and ran in to an issue. Does anyone know how to pass a value of a variable in Java(HTML) to ABAP?

HTMLB does not support drop down boxes within a Tree Node, therefore we were forced to use standard HTML with the HTMLB Tree Node function as below:

<% wf_string1 = ' TR - CM Trans Cash Mgmt&nbsp <select id= "select1" name="select1">'.

loop at tab into wa_value.

clear wf_option.

concatenate: '<option value="' wa_value '">' wa_value '</option>' into wf_option.

concatenate wf_string2 wf_option into wf_string2.

endloop.

concatenate wf_string1 wf_string2 '</select>' into wf_text. %>

<htmlb:treeNode id = "Test"

text = "<%= wf_text %>"/>

</htmlb:treeNode>

</htmlb:tree>

<br>

We are then trying to get the value from the html <select> <option> in to ABAP and this is where we are having a problem figuring it out.

Any Help would be greatly appreciated.