Show TOC

Passing Multiple Fields From HTML ControlsLocate this document in the navigation structure

Use

Suppose you have an SAP screen with two entry fields, one for the unit of measurement and another one for the amount. On the HTML page, there is just one dropdown list, from which both values must be selected in one step:

...
<select name="unit=oz,amount=">
 <option value="1">1 ounce
 <option value="5">5 ounces
 <option value="50">50 ounces
</select>
...
         

You cannot to use the following code to pass two fields at once, because the concatenation of name/value pairs is valid only if applied in the name part of a control:

... 
<select name="productno=4711,amount=">
 <option value="1,unit=oz">1 ounce
 <option value="5,unit=oz">5 ounces
 <option value="50,unit=l">50 ounces
</select>
...