Show TOC

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

 

This command is used to present the user with a checkbox to select or leave empty.

Syntax: PROMPT (CHECKBOX, [variable],[checkbox label text],[default value])

Parameter

Description

Default Value

CHECKBOX

checkbox

n/a

[variable]

The name of the returned variable

%CHECKBOX%

[checkbox label text]

The text to display to the user.

Please select.

[default value]

The default value of the checkbox

The default value can be 0 (unchecked by default) or 1 (checked by default).

Example

PROMPT(CHECKBOX,%CheckBox%,"Test for CheckBox",1)

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.