‎2007 Jul 18 9:12 AM
Can you please explain what does <b>rlgrap-filename</b> means in the following
PARAMETERS: p_file LIKE rlgrap-filename
‎2007 Jul 18 9:16 AM
Hi Shaheen,
RLGRAP here depicts a structure which is defined in the dictionary and contains the Information about a File like File Location etc.
FILENAME is the field defined in the structure RLGRAP.
When u define P_FILE LIKE RLGRAP-FILENAME< it means u can input or give a file location in the input field created on the selection screen.
e.g. C:\Himanshu\test.xls.
Regards,
Himanshu
‎2007 Jul 18 9:15 AM
Hi,
This is a Field which we need to pass the Presentation server file path, We need to take this field because the GUI_UPLOAD or GUI_DOWNLOAD function modules will have the same field, so we need to take the same field type
Regards
Sudheer
‎2007 Jul 18 9:15 AM
Hi,
<b>RLGRAP</b> is a Structure for Program Fields/Screen Fields for SAPLGRAP.
<b>FILENAME</b> is a Component in that Structure.You have to give Local file name for upload/download for that Component.
Regards,
Padmam.
‎2007 Jul 18 9:16 AM
Hi Shaheen,
RLGRAP here depicts a structure which is defined in the dictionary and contains the Information about a File like File Location etc.
FILENAME is the field defined in the structure RLGRAP.
When u define P_FILE LIKE RLGRAP-FILENAME< it means u can input or give a file location in the input field created on the selection screen.
e.g. C:\Himanshu\test.xls.
Regards,
Himanshu
‎2007 Jul 18 9:18 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:
Regards
Bala
‎2007 Jul 18 9:20 AM
RLGRAP is a Structure for Program Fields or screen fields..
filename is the component of the above structure. By declaring
PARAMETERS: p_file LIKE rlgrap-filename
we are declaring that the input file should be of the above type as we need to specify the data type while declaring any kind of parameters.
This is generally used in FM gui_upload or hui_download.
Reward if helpful.
Cheers,
Sharadendu