Show TOC

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

 

Used to prompt for selecting an info object and the hierarchy selection when importing a hierarchy from an SAP NetWeaver InfoObject.

Syntax: PROMPT (HIERARCHYSELECTION,[variable],[the second variable],[label]])

Where

Means

Default Value

HIERARCHYSELECTION

Select info object and selection

n/a

[variable]

Variable for the selected info object

%INFOOBJECT%

[the second variable]

The second variable for the selection

%HIERARCHYSELECTION%

[label]

The text to display to the user.

Set selection.

Example Example

PROMPT(HIERARCHYSELECTION,%INFOOBJECT%,%SELECTION%,"Test for HIERARCHYSELECTION")

End of the example.

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.