‎2007 Apr 01 7:16 AM
what is the function module to findout the file in application server?
‎2007 Apr 01 7:33 AM
sunil,
u can see the files in the directory using the t/c AL11.
sunil, kindly close all the threads which are answered for ur question.
Regards....
Arun.
Reward points if useful.
‎2007 Apr 01 9:42 AM
‎2007 Apr 01 12:38 PM
Hi..,
check this function module F4_DXFILENAME_TOPRECURSION..
we use this function module for F4 help to give all the existing files list in Application server !!
From the transaction AL11 u can see all the directories in SAP i.e application layer files directories..
By default when u create an application server file in an ABAP program using OPEN DATASET and CLOSE DATASET this file gets created in a default home directory of SAP ...... HOME directory...
plz do remember to close the thread ... when ur problem is solved !!
reward all helpful answers !!
sai ramesh
‎2007 Apr 01 2:21 PM
Hi,
Please try FM '/SAPDMC/LSM_F4_SERVER_FILE.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_apath.
* Open the Browse Dialog Box on the Application Server
CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'
IMPORTING
serverfile = p_apath
EXCEPTIONS
canceled_by_user = 1
others = 2.
IF sy-subrc <> 0.
... <---- error message
ENDIF.
Regards,
Ferry Lianto