Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

need your help

Former Member
0 Likes
681

Can you please explain what does <b>rlgrap-filename</b> means in the following

PARAMETERS: p_file LIKE rlgrap-filename

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
655

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

5 REPLIES 5
Read only

Former Member
0 Likes
655

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

Read only

Former Member
0 Likes
655

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.

Read only

Former Member
0 Likes
656

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

Read only

Former Member
0 Likes
655

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

Read only

sharadendu_agrawal
Active Participant
0 Likes
655

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