cancel
Showing results for 
Search instead for 
Did you mean: 

File u0096 RFC u0096 file

Former Member
0 Kudos

Hi,

In File – RFC – file scenario say the file sender is sending company id and the company details need to be fetched from the SAP system (RFC) and send the response to the target file system.

1.In one situation for example the company id from the sender file has no corresponding company details from SAP system, in this case I want to handle the exception ie., no records exist for the sender file –company id.

2.And also say in total 4 records that need to be sent from sender file, there are 3 valid company id’s and the 4 the record contains invalid company id , how to handle this invalid record I want to handle the exception and plz let me know how to handle these exceptions.

thanks in advance,

meghna.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Meghna,

Just go through this.

[original link is broken]

Regards,

Sarvesh

Message was edited by:

Sarvesh Singh

Former Member
0 Kudos

Hi,

here I would like to add one thing is I am using BPM .And want to handle the exceptions in this case.

thanks,

meghna.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Meghna,

In RFC response there is a node RETURN.This contains the error records details if you want to write these error records separately , take an other message type and map this from Return Node and use a File communication channle Receiver to write the error records file. Then it would turn into multimapping RFC Response to Message1( Company Details) and Message2 (Error records)

Cheers

Veera

Former Member
0 Kudos

Hi Meghna,

u can implement Fault message.

Fault message implementation.

/people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1

regards

biplab

Former Member
0 Kudos

Hi,

Make use of RFC Look up. For record validation check the blog validations in XI by Aniket Tare

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/99593f86-0601-0010-059d-d2dd39dc...

-Kavita