Skip to Content
author's profile photo Former Member
Former Member

Regarding using PARAMETERS:p_prefil TYPE rlgrap-filename.

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Oct 23, 2007 at 11:20 AM

    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>

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.