cancel
Showing results for 
Search instead for 
Did you mean: 

File to Idoc/Web Service

Former Member
0 Kudos

Hi All,

A XML file will be coming from legacy system and depending upon the source field tag ("B") value i need to map the XML file to IDOC or Synchronous Web Service(legacy system) or to both (idoc and sync web service).

Suppose if the Source XML file is:

<MT>

<Root>

<A>123</A>

<B>XXX</B>

<Root>

</MT>

So, the condition is:

1) If B is equal to "XXX" then source message needs to be mapped to -> IDOC only

2) If B is equal to "YYY" then source message needs to be mapped to -> Synchronous Web Service only

3)  And if B is equal to "ZZZ" then source message needs to be mapped to -> IDOC and Synchronous Web Service both.

Please tell me how to proceed further?

Regards!!

Vasant

Accepted Solutions (0)

Answers (2)

Answers (2)

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi,

If you are not expecting any response from Sync web service like no need to send response back to File then you can achieve this interface easily .

Write a condition in receiver determination it works.

If you want to send response back then you need to handle it very carefully using ccBPM.

Regards,

Raj

Former Member
0 Kudos

Hi,

This can be acheived by selecting the receivers in Receiver Determination stage using xpath

If ZZZ or XXX chose receiver Idoc

If ZZZ or YYY chose receiver webservice

OR

Use Extended Receiver Determination to determine the determine the receivers using an Operation Mapping.

Thanks,

Sudhansu

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Since you combine both sync and async receivers, you have to use ccbpm to achieve this. Search SCN for multimapping using ccbpm.