Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

about Function module

Former Member
0 Kudos

hi experts,

could any one of u tell me in the following fm what is file mask and what it going to store in p_file.

CALL FUNCTION 'F4_DXFILENAME_TOPRECURSION'

EXPORTING

I_LOCATION_FLAG = 'A'

FILEMASK = '.'

FILEOPERATION = 'W'

IMPORTING

O_PATH = P_FILE1

EXCEPTIONS

RFC_ERROR = 1

ERROR_WITH_GUI = 2

OTHERS = 3.

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,

pavan t.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi,

P_file1 stores the path of the file selected.

filemask -it refer to type of file to be slected like for all types u give.

for text file *.txt.

2 REPLIES 2

Former Member
0 Kudos

hi,

P_file1 stores the path of the file selected.

filemask -it refer to type of file to be slected like for all types u give.

for text file *.txt.

Former Member
0 Kudos

Hi,

It permits you to have a kind File Management but on the server side

The file mask permtits you to filter the file that you want to see.

And when you select a file O_PATH contains the complet path to access the file

Regards