Get Example source ABAP code based on a different SAP table
ABAP_DYNPRO - Checkboxes and Radio Buttons This example demonstrates how checkboxes and radio buttons can be processed on dynpros.
ABAP_SOURCE_CODE ABAP_EXEC >
ABAP_DESCRIPTION The static next dynpro number of dynpro 100 is 100. The screen fields field1> to field3> are defined as not ready for input in the Screen Painter. Selecting one of the three radio buttons raises the event PAI, which passes the function code RADIO> and the field content of the screen fields to the ABAP program. The dialog module user_command_0100> fills the fields field1> to field3> according to the radio button that was selected. These field content appears the next time the dynpro is sent. The PAI event is also raised if the checkbox is selected. In this case, the function CANCEL> is passed to the ABAP program, and the dialog module user_command_0100 > immediately ends the program.