cancel
Showing results for 
Search instead for 
Did you mean: 

Conditional based multiple WEBSERVICE call

Former Member
0 Kudos

Dear Friends,

I have a requirement for the scenario IDOC->PO->WEBSERVICES(Different webservices)

Based on IDoc field, different webservices should be called.

EX: IDOC-FIELD1   =   A (1st WEBSERVICE to be called)

       IDOC-FIELD1   =   B (2nd WEBSERVICE to be called)

    

       IDOC-FIELD1   =   C (Both SEBWERVICES to be called)   


Is there any way to make this configuration with less processing time?

There are RFC lookups to be called in MM.

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member186851
Active Contributor
0 Kudos

Adding expert comments,below link is an example

You can maintain condition like this ICO and route it to different channels

manoj_khavatkopp
Active Contributor
0 Kudos

Gangadhar,

Are all the three webservice structure is same ? if yes then just have one mapping and do a dynamic configuration for generating SOAP URL depending idoc field value.

If all three structure are different then have 3 mapping and in interface determination keep condition on IDOC field value and create 3 different receiver channels.

Br,

Manoj

Former Member
0 Kudos

Yes Manoj,

It is different structures and on top of it, We have to call the RFC lookup and map it with other webservice.

former_member182412
Active Contributor
0 Kudos

Hi Ganga,

Can you explain your requirement clearly?

Regards,

Praveen.

Former Member
0 Kudos

EX: IDOC-FIELD1   =   A (1st WEBSERVICE to be called)

       IDOC-FIELD1   =   B (2nd WEBSERVICE to be called)

   

       IDOC-FIELD1   =   C (Both SEBWERVICES to be called)  


In the Message Mappings for 1st WEBSERVICE and 2nd WEBSERVICE there are RFC lookups whose response needs to be mapped to 3rd and 4th WEBSERVICES and called.

Former Member
0 Kudos
former_member182412
Active Contributor
0 Kudos

Hi Ganga,

  • You can put the condition in interface determination to call different web service based on the condition.
  • Maintain three different interfaces in interface determination.

Regards,

Praveen.