Show TOC

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

 

This command is used to prompt the user for a transformation file.

Syntax: PROMPT(TRANSFORMATION, [variable], [label], [mask],,[default file name])

Where

Means

Default Value

TRANSFORMATION

Select an existing DATA file.

n/a

[variable]

The name of the returned variable

%TRANSFORMATION%

[label]

The text to display to the user

Please select a transformation file.

[mask]

The file types to display in the selected folder

Excel files (*.xls), *.xls

All files(*.*),*.*

[default file name]

The default file name

import.xls.

Example

PROMPT(TRANSFORMATION,%TRANSFORMATION %,"Text for Transformation:",”Excel files (*.xls), *.xls, All files(*.*),*.*”,,”Import.xls”)

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.