Implementing Radio Buttons

Use

To implement radio buttons in Web transactions, you identify them in HTML templates by specifying the same name as in the ABAP program.

To do this, you create a character input field of the appropriate length and edit the template accordingly, using the following syntax instead of the generated text:

        
<input type="radio" name="<name>" value="<value>"
         

In HTML, you group radio buttons together by giving them the same HTML name:

  • If a particular radio button is set, the Web browser assigns the value of that radio button to the group name.

    • If the value corresponds to the name of a radio button field on the screen in SAP system, the radio button is set there.