cancel
Showing results for 
Search instead for 
Did you mean: 

File to RFC to 3 IDocs

phanikumar_akella
Participant
0 Kudos

Hi Experts,

I am configuring a scenario where a File is sent to RFC if data is fine then its response is mapped to 3 IDocs else the error response needs to be mapped to a file and sent it back.

Previously I have worked on File to RFC to File scenario with out using BPM.

https://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File%28Without%20BPM%29

Can I follow same approach in this scenario to avoid BPM?

Do I need to go for Multi mapping here for mapping RFC response to 3 IDocs?

Can I create 4 message mappings, 3 for IDocs and one for error response and apply condition in Interface Determination in ID?

Please advice. Thanks in Advanceu2026

Accepted Solutions (1)

Accepted Solutions (1)

Shabarish_Nair
Active Contributor
0 Kudos

>

> Hi Experts,

>

> I am configuring a scenario where a File is sent to RFC if data is fine then its response is mapped to 3 IDocs else the error response needs to be mapped to a file and sent it back.

>

> Previously I have worked on File to RFC to File scenario with out using BPM.

> https://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File%28Without%20BPM%29

>

> Can I follow same approach in this scenario to avoid BPM?

> Do I need to go for Multi mapping here for mapping RFC response to 3 IDocs?

> Can I create 4 message mappings, 3 for IDocs and one for error response and apply condition in Interface Determination in ID?

>

> Please advice. Thanks in Advanceu2026

my suggestion is to go for a bpm.

it will give you the flexibility to handle the error message in case the RFC fails. You can easily catch exceptions and raise alerts plus also map the error to a file and send it as per your requirement.

You can also easily do the response mapping to the Idocs

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi ,

I will try this way.

1. File to RFC asynchronous.

2. Proxy1 to file in failed case (asyn)

3. Proxy2 to IDOC in sucess case (asyn)

In RFC logic you can call the the proxy's based on your check on the runtime data. In case of sucess the proxy2 class will be called and the required message will be routed to XI and mapped to Idoc uisng the multi mapping.

In case of error you can bulid the logic to call proxy1 class and route the message back to file system.

Since its asynchronus no point of failure in the design...

Regards

Sunil.