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: 

EPS_DELETE_FILE Raise Exception

Former Member
0 Kudos

Hi,

We are using the functional module EPS_DELETE_FILE for deleting file in one of the folder available in Application server. This is scheduled in background for doing the process. Intermitently it is throwing error as follows

A RAISE statement in the program "SAPLEPSF" raised the exception condition "DELETE_FAILED".Since the exception was not intercepted by a superior program, processing was terminated.

Request help in this regard

Regards

D.Mukundan

3 REPLIES 3

Former Member
0 Kudos

Hi,

Please uncomment the exceptions in your program.

CALL FUNCTION 'EPS_DELETE_FILE'

DESTINATION rfc_destination

EXPORTING

file_name = remote_file

dir_name = remote_directory

EXCEPTIONS

INVALID_EPS_SUBDIR = 01

SAPGPARAM_FAILED = 02

BUILD_DIRECTORY_FAILED = 03

NO_AUTHORIZATION = 04

BUILD_PATH_FAILED = 05

DELETE_FAILED = 06

OTHERS = 99.

Regards,

Srini.

Former Member
0 Kudos

Perhaps due to case sensitivity. Is the uppercase/lowercase tick enabled?

Suhail Shaik

former_member196064
Active Participant
0 Kudos

I have a foreground process that uses EPS_DELETE_FILE.

I throw that error if the file isn't there

Is it?