Show TOC

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

 

This command is used to present the user with a combination box (that is, a dropdown list).

Syntax: PROMPT (COMBOBOX, [variable],[label],[combo style],[default value],[select items])

Parameter

Description

Default Value

COMBOBOX

combo box

n/a

[variable]

The name of the returned variable

%COMBOBOX%

[label]

The text to display to the user

Enter source and target time.

[combo style]

The style of combo box

0 — the item the user selects should be one of the items in the select items)

Any number other than 0 — the item the user selects can be any value, which does not need to be one of the items in the select items

[default value]

The preselected choice

[dimensions]

The dimensions to select. Separate multiple values with commas.

Category, Time, Entity

%DIMS% is the dimension list in the current application

The default value determines the preselected choice (in terms of order, starting with 0).

Note Note

Separate multiple values with commas.

End of the note.

Example

PROMPT(COMBOBOX,%COMOBOBOX%,"Text for Combobox:",0,t2,t1,t2)

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.