‎2006 Dec 05 5:50 AM
Hi Experts,
My requirment is <b>"when i click the selection screen parameter, i want to display the total directories existing in Application Server"</b>.
Thanks in advance.
Regards
Rams
‎2006 Dec 05 5:57 AM
Hi,
SUBST_GET_FILE_LIST
gives u the list of the directories of the application server.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.
Cheers,
Simha.
null
‎2006 Dec 05 5:57 AM
Hi,
SUBST_GET_FILE_LIST
gives u the list of the directories of the application server.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.
Cheers,
Simha.
null
‎2006 Dec 05 5:58 AM
hi
you can call the transaction AL11. it displays the directories on the app-server
thx
pavan
‎2006 Dec 05 6:02 AM
check Function group DX_FILE
F4_DXFILENAME_TOPRECURSION--FM
p_flname like dxfields-longpath lower case, "File name
regards
prabhu