Application Development 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: 

Regarding using PARAMETERS:p_prefil TYPE rlgrap-filename.

Former Member
0 Kudos

Hi when

I use this parameter

PARAMETERS:p_prefil TYPE rlgrap-filename.

in order take the input from the user for filename when downloading to the Presentation server i get the conflict type error and the program goes to dump.

But if i use the same p_prefil as string type it works.Could anyone tell me the reason for this.

2 REPLIES 2

varma_narayana
Active Contributor
0 Kudos

Hi..

To avoid this problem you have to declare a Separate variable.

PARAMETERS:p_prefil TYPE rlgrap-filename.

data : v_file type string.

START-OF-SELECTION.

MOVE P_PREFIL TO V_FILE.

call function 'GUI_DOWNLOAD'

exporting

FILENAME = V_FILE "This parameter accepts only STRING

This will work..

<b>reward if Helpful.</b>

0 Kudos

HI THANK YOU.