Skip to Content
author's profile photo
Former Member

F4 for selecting a folder on the applicationserver

Hello!

I want to program an F4-help for selecting a FOLDER on the application server.

With the function F4_DXFILENAME_TOPRECURSION you are able to select a file on the applicationserver but I need to select a FOLDER.

Do anybody know how I can implement this kind of F4-help?

Greez Flo

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • author's profile photo
    Former Member
    Oct 03, 2005 at 12:08 PM

    Hi Florian,

    Please check if you have Function Module

    /SAPDMC/LSM_F4_SERVER_FILE on your system. It exactly meets your requirement .

    Cheers

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Oct 03, 2005 at 07:50 AM

    Hi,

    Try this.

    data SEL_FOLDER type string.

    CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_BROWSE

    EXPORTING

    WINDOW_TITLE = 'Choose folder'

    INITIAL_FOLDER = 'C:\'

    CHANGING

    SELECTED_FOLDER = SEL_FOLDER.

    CALL METHOD cl_gui_cfw=>flush.

    Svetlin

    P.S. Remember to award points for helpful answers.

    Message was edited by: Svetlin Rusev

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi!

      This can not solve the problem, because I need to select a folder from the server not from the local computer.

      Greez Flo

  • author's profile photo
    Former Member
    Oct 03, 2005 at 07:54 AM

    Hi,

    Try this.The FM <b>CFX_BI_RI_CF_SELECT_FOLDER</b> may

    help you.

    Regards,

    Siva

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Oct 03, 2005 at 07:56 AM

    Hi,

    Check this link,

    http://www.sapdevelopment.co.uk/file/file_getdirfiles.htm>

    Hope it helps u.

    Kindly reward points if u find it useful.

    Thanks&Regards,

    Ruthra.R

    Add comment
    10|10000 characters needed characters exceeded