‎2007 Jul 09 5:02 AM
hi,
some body pls tell me what is rlgrap ? where it is used ? pls tell me in detail with example .
pls reply
‎2007 Jul 09 5:09 AM
Hi,
RLGRAP is a structure which can be used for defining File related Screen fields. For example, if you want to provide a selection screen with a parameter for file path for upload or download - following statement can be used:
parameters: pa_file TYPE RLGRAP-FILENAME.
Reward and encourage helpful answers.
Regards,
Ram
‎2007 Jul 09 5:09 AM
Hi,
RLGRAP is a structure which can be used for defining File related Screen fields. For example, if you want to provide a selection screen with a parameter for file path for upload or download - following statement can be used:
parameters: pa_file TYPE RLGRAP-FILENAME.
Reward and encourage helpful answers.
Regards,
Ram
‎2007 Jul 09 5:09 AM
RLGRAP is the structure for File related Function module,
when you look at WS_UPLOAD,UPLOAD,WS_DOWNLOAD,DOWNLOAD FM's ,they use RLGRAP structure.
Thanks
Seshu
‎2007 Jul 09 5:09 AM
Hi,
RLGRAP is a structure that contains the fields realated to a File e.g. File name, File Type etc.
Generally, RLGRAP-FILENAME is used to define an input field on the screen.
e.g.
Report ZTEST.
Parameters : P_FILE LIKE RLGRAP-FILENAME.
This will create an input box where u can enter a file location like C:\Himanshu\Test.xls.
Then using this location u can either upload/download the file.
Regards,
Himanshu
‎2007 Jul 09 5:20 AM
Hello Jamshad,
RLGRAP is a structure which is used by many standard Function modules which are related to File uploads and downloads. And RLGRAP-FILENAME is of type C length 132 characters.
For some standard Function modules their parameter to accept File name will be of this type, when we are using Funtion modules the types of the Import and Export parameters should be type compatible, i.e their type and length should be same.
<b>Example:
PARAMETERS: file TYPE rlgrap-filename DEFAULT 'data_file.txt'.</b>
Reward points for useful answers.
Regards,
Moqeeth.