2008 Sep 01 10:53 AM
Hi Experts,
I have the logical and physical address of Application server
please give me FM to delete files from application server.
Regards
Bikas
2008 Sep 01 10:56 AM
Hi,
DELETE DATASET <p_filepath>
( give path of the file where it is stored )
if sy-subrc eq 0.
write : 'file is deleted'.
else.
write : 'it is not deleted'.
endif.Check this FM,
EPS_DELETE_FILE
Regards
Adil
Hi Experts,
I have the logical and physical address of Application server
please give me FM to delete files from application server.
Regards
Bikas
2008 Sep 01 10:56 AM
Hi,
DELETE DATASET <p_filepath>
( give path of the file where it is stored )
if sy-subrc eq 0.
write : 'file is deleted'.
else.
write : 'it is not deleted'.
endif.Check this FM,
EPS_DELETE_FILE
Regards
Adil
2008 Sep 01 10:57 AM
Hi,
there is no such function module.
tha approach will be different.
you have to use DATASET approach..
check out the functionality avilable with DATASET.
Regards
ricky
2008 Sep 01 10:58 AM
approach is that follow below
Open dataset.
Read dataset
and then
DELETE DATASET " Dataset name"
clsoe dataset.
2008 Sep 01 10:59 AM
2008 Sep 01 11:03 AM
Hi Bikas,
Try this way,
1. Validating the filename
First use the following FM to split the File Path & file name. TRINT_SPLIT_FILE_AND_PATH
E: if you give as D:\USR\SAP\CMI\DVEBMGS00\WORK\ZMM_LSMW_ZMM_LS_SUB_ZMM01_LSMW.LSMW.READ
If outputs as
STRIPPED_NAME ZMM_LSMW_ZMM_LS_SUB_ZMM01_LSMW.LSMW.READ
FILE_PATH D:\USR\SAP\CMI\DVEBMGS00\WORK\
2. Deleting the file
Now use delete dataset <filename>.
If you want to do this , u can develop the FM .
2008 Sep 01 11:04 AM
2008 Sep 01 11:04 AM
Hi,
Use the Function Module:
DX_FILE_DELETE
Regards,
Rama chary.Pammi
2008 Sep 01 11:05 AM
2008 Sep 01 11:08 AM
Thanx a lot for all your replyes my problem solved
Thanks
Bikas
2008 Sep 01 11:14 AM
Hi Bikas,
How you solved your problem ? Just used the DELETE statement or any FM ?
2008 Oct 16 9:15 AM
hi,
I have gone through the forum you have posted for deleting files from application server through process chain.
I have similar reuirement in my project ie. to delete the files after getting loaded.
Can you please provide me the solution?
Your inputs will be highly appreciated.
Thanks in advance.
Regards,
Lavanya