This command is used to present the user with a set of check boxes to select or leave empty.
Syntax: PROMPT (CHECKBOX, [variable],[label],[default values],[label for check items])
Parameter |
Description |
Default Value |
---|---|---|
CHECKBOXGROUP |
A set of check boxes |
n/a |
[variable] |
The name of the returned variable |
%CHECKBOX% |
[label] |
The text to display to the user |
Please select. |
[label for check items] |
The text of checkboxes to display to the user |
|
[default value for check items] |
The default value of the checkboxes |
The default value can be 0 (unchecked by default) or 1 (checked by default).
Note
Separate multiple values with commas.
PROMPT(CHECKBOXGROUP,%CHECKGROUP%,"Text for CheckBoxGroup",{1,0,1},{"ch1","ch2","ch3"},,)
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.