cancel
Showing results for 
Search instead for 
Did you mean: 

Calling Message mapping Dynamically based on a field value

Former Member
0 Kudos

Hi gurus,

I have

1 source inteface

1 target interface

3 Message mapping programs based on the 1 source and 1 Target Interfaces

I need to decide Dynamically as which message mapping program should be called based on the Input provided by the source system.

For example:

If the souce side file sends a field value=1 then message mapping 1 should be called

If the source side file sends a field value=2 then message mapping 2 should be used...

Pls provide me help on this ASAP.

Accepted Solutions (1)

Accepted Solutions (1)

prateek
Active Contributor
0 Kudos

As ur source and target structures are always same, u should have used same mapping with multiple conditions instead of using three different mappings.

Right now for ur requirement, in ID -> standard Interface Determination, u can use multiple interface mappings based on condition.

Check heading "Specifying Conditions (for Multiple Inbound Interfaces)" here

http://help.sap.com/saphelp_nw04s/helpdata/en/42/ea20e737f33ee9e10000000a1553f7/content.htm

Regards,

Prateek

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

You can simply achieve this by putting the conditions in Interface Determination in Integration Directory.

Regards,

Sarvesh

Former Member
0 Kudos

Hi,

Design a BPM with switch condition checking the field value.

Include a transformation in each switch step.