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

F4_FILENAME_SERVER is not returning any value

Dear All,

I want a popup for the application server from where I can select file for further processing. I have used F4_FILENAME_SERVER, but the function module is not working. It is giving a popup with the filenames but after selection of a particular file if I select the check button, it is not returning anything (coming blank). Please can you suggest anything on this.

Thanks and regards,

Atanu

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2008 at 08:16 AM

    Try using FM: /SAPDMC/LSM_F4_SERVER_FILE

    *** Display Directories on the Application Server
         CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'
              EXPORTING
                DIRECTORY         = <directory_name>
    *   filemask               = ''
             IMPORTING
                SERVERFILE        = P_FILE
             EXCEPTIONS
                CANCELLED_BY_USER = 1
                OTHERS            = 2.
         IF SY-SUBRC <> 0.
            MESSAGE W016 WITH P_FILE.
         ENDIF.
    

    Kind Regards

    Eswar

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2008 at 08:10 AM

    Please can anyone suggest if there is any other function module available.

    Thanks and regards,

    Atanu

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2008 at 08:19 AM

    Hi atanu,

    1. use the FM F4_DXFILENAME_TOPRECURSION

    2. Give the parameter I_LOCATION_FLAG = 'A' (for application server)

    regards,

    amit m.

    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.