Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Regarding Application server file path browsing

Hi All,

I have a issue regarding Application Server File Path browsing.

Actually in my selection-screen i will declare a parameter as <b>Application Server File Path</b> now when i press F4 in that field it should be able to browse through <b>Application Server Path's</b>.

Just like <b>F4_FILENAME</b> in the case of <b>Presentation Server File Path</b> Browsing.

Can anybody solve my issue.

Thanks in advance.

Thanks & Regards,

Rayeez.

Tags:
replied

hi...

u can try out with the following FM..

"F4_DXFILENAME_TOPRECURSION "

The detail description for it is...

*Popup to select one file from the given application server directory (pattern allowed).

*(Can be used also for selecting file on presentation server: calls WS_FILENAME_GET)

*Parameters: I_LOCATION_FLAG={A|P|space};

  • if I_LOCATION_FLAG is blank then popup to choose Appl./Present.; if I_SERVER='?' then popup to select appl.server.

as in...

CALL FUNCTION 'F4_DXFILENAME_TOPRECURSION'

EXPORTING

I_LOCATION_FLAG = 'A' "(A) Server (P) PresentaiĆ³n

  • I_SERVER = '?'

  • I_PATH =

  • FILEMASK = '.'

  • FILEOPERATION = 'R'

  • IMPORTING

  • O_LOCATION_FLAG =

  • O_SERVER =

  • O_PATH =

  • ABEND_FLAG =

EXCEPTIONS

RFC_ERROR = 1

OTHERS = 2

.

IF sy-subrc <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

regards,

Ananaya.S

1 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question