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

Help In File Downloading.

Hi All,

I'm stuck up with a problem in File Download.

Quite a lengthy question but please do read.

I'm converting spools to PDF's and i want to download all the files to Desktop(Presentation Server).

For this the file names are build dynamically.

The file path i.e. only the directory path we're passing as a parameter. But now the user wants F4 help for that parameter just like the file dialog box. But when we use file dialog box it is mandatory to give file names also right. But i don't want to give file name. Just i want to stop at that particular directory in which i want to store the files and pick that path from Dialog box.

Do you have any pointers reagrding this???

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 02, 2006 at 07:56 AM

    Hi Phani,

    If you are providing the F4 help, let the user enter '' in the place for file name. You can do a string manipulation and take off the '' mark and then pass the folder path so that you can download with your dynamically generated name. Here you should explain it to the user that since this is a mandatory field he/she has to enter the '*' mark and the file name will be generated with the dynamic name generated programmatically as entered.

    Cheers

    JK

    Add comment
    10|10000 characters needed characters exceeded

    • you can use the following method for the same

      CL_GUI_FRONTEND_SERVICES=>DIRECTORY_BROWSE (you can also set the default folder to start with)

      you can call this method

      at selection-screen on value request for <parameter> .

      Regards

      Raja