Show TOC

Function documentationRADIOBUTTON Prompt() Command Locate this document in the navigation structure

 

This command is used to present the user with a radio button control.

Syntax: PROMPT(RADIOBUTTON, [variable],[label],[default value],[label for choices],[values for choices])

Separate multiple values with commas.

[label for choices] and [values for choices] should be a one to one mapping.

The default value can be empty or one of the value in the [values for choices]. If it is empty, no radio button is checked by default. If it is one of the value in the [values for choices], the corresponding radio button is checked by default.

Example

PROMPT(RADIOBUTTON,%CHECKLCK%,"Select whether to check work status settings when importing data.",1,{"Yes, check for work status settings before importing","No, do not check work status settings"},{"1","0"})

Any software coding and/or code lines / strings ("Code") included in this documentation are only examples and are not intended to be used in a productive system environment. The Code is only intended to better explain and visualize the syntax and phrasing rules of certain coding. SAP does not warrant the correctness and completeness of the Code given herein, and SAP shall not be liable for errors or damages caused by the usage of the Code, except if such damages were caused by SAP intentionally or by its gross negligence.