cancel
Showing results for 
Search instead for 
Did you mean: 

Exception Throwing in case of "No File Found"

0 Kudos

All,

I have a simple File2RFC interface. I want to "throw" an exception in case file (at the sender side) was not found. I'm looking for any creative & simple solution.

Tnx in advance

Avishay

Accepted Solutions (1)

Accepted Solutions (1)

former_member200962
Active Contributor
0 Kudos

Check if you can make use of the Timeout Parameter of the Sender File CC....if no file is transferred within the timeout mentioned the adapter will throw an error.....using an alert defined for AE you can catch this error.....check if the solution is simple (rather feasible) to implement:

http://help.sap.com/saphelp_nw70/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm

From the above Link:
u25CF      Timeout (secs.)
If no data is transferred between the client and the FTP server in the time interval specified here, the 
adapter interprets this as an error and terminates the transfer.

Regards,

Abhishek.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You may handle this in script and schedule it at sender side. It will be most easier approach.

If you want error to be propagated, create dummy file in script and if xi picks that file it will be mapped to send error message.

Other approach could be deadline branch in BPM. If BPM does not receive any message in specific time, throw exception.

Thanks,

Beena.

Edited by: Beena Thekdi on Jun 23, 2009 8:28 AM