This command is used to prompt the user for a transformation file to use.
Syntax: PROMPT(CONVERSION, [variable], [label], [mask], [path])
Where |
Means |
Default Value |
CONVERSION |
Select an existing DATA file. |
n/a |
[variable] |
The name of the returned variable |
%CONVERSION% |
[label] |
The text to display to the user. |
Please select a transformation file. |
[mask] |
The types of files to select. |
Data files (*.txt), *.txt, All files(*.*),*.* |
[path] |
The search path. |
The transformation files directory. |
PROMPT(CONVERSION,%CONVERSION%,"Text for Conversion:",”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.