I am using a parameter to get a file name(file path) inorder to upload a file from a legacy system.
my query is how to validate the file type ie it should upload only .txt file type only . if u give other than this file type it should through a error message.
can any one suggest me a good coding.
PARAMETERS : P_FILE TYPE RLGRAP-FILENAME.