cancel
Showing results for 
Search instead for 
Did you mean: 

Multi Mapping 1 to n. SP15

Former Member
0 Kudos

Hi All,

I have a plan to do a demo scenario 1 to n mapping without BPM.

I tried FAQS solution bit confused , so i tried designing following way.

I'm confusing in creating target messages ( i need to create 2 messages from 1)for message mapping.

can any one clarifies design steps approach for this scenario.

and what precautions i need to take care when designing this type scenario.

I'm using SP15.

Reagrds,

venu.

Accepted Solutions (1)

Accepted Solutions (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Hi Venu,

To do a 1:N mapping, the follwoing things are essential.

1. In your message mapping, make the occurence of your destination message type unbounded

2.in your inetrace mapping, make the occurence of your destination message interface unbounded.

3. WHile doing your Interface determination, select the option extended and selected your mapping program.

Also, Multi mapping works only with adapters running on the j2ee engine and so, will not work if you are using an idoc adapter as the receiver adapter.

The number of source message type will only be one, just the occurence will change for the destination message types.

Regards,

Bhavesh

Former Member
0 Kudos

Hi Bavesh/Krishna/Smitha,

Thank u very much for ur help.

But still I'm getting one error message.

"No messages created from split mapping"

I used extended option in Interface determination.

both inbound interfaces are 0..unbounded only

Bavesh: "The number of source and target message type will only be one, just the occurence will change."

could u pls eaplain bit more this part.

Regards,

venu.

Regards,

venu.

moorthy
Active Contributor
0 Kudos

Hi,

<i>"No messages created from split mapping"</i>

>>>>>>I think, there is a some problem in your Mapping/Interface Mapping.

Just take the Input XML from the SXMB_MONI and put this xml into Interface Mapping (Source File ) and test this in the Repository. Also check that , is it splitting as required .

If everything correct here in design, then check this in the configuration-

" deselect the Maintain Order at Runtime checkbox"

Just have a look into this also-

http://help.sap.com/saphelp_nw2004s/helpdata/en/42/f3b31d48fb1bc8e10000000a11466f/frameset.htm

Hope this helps,

regards,

moorthy

Former Member
0 Kudos

Hi,

In the message mapping, make sure that in the target you have a structure of both the message types(of the 2 inbound interfaces). One source structure has to be mapped to both these target structures. And all these must be 0..unbounded.

Regards,

Smitha.

Former Member
0 Kudos

Hi All,

I followed ur suggestions.

I even tested with error inbound messages payload also.with this payload information my Interface mapping worked fine.

But still I'm unable to see the inbound messages.

Error information is :

No messages created from split mapping.

Regards,

venu.

Answers (5)

Answers (5)

former_member91687
Active Contributor
0 Kudos

Hi,

Do you mean you have two target messages with one source message? Can you explain your requirements? If you are doing it for message splits, follow the steps given <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/42/f3b31d48fb1bc8e10000000a11466f/frameset.htm">here</a>

For more understanding about what is multi mapping: <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/21/6faf35c2d74295a3cb97f6f3ccf43c/frameset.htm">Multi Mappings</a>

Regards,

Chandra

Former Member
0 Kudos

Hi,

1. create your data type and message type as usual.

Make sure that the target header that is to occur multiple times is of occurance 0..ub.

2. In message mapping, go to message tab, an specify the target occurance as 0..ub.

3. In mapping editor, create another header(in the target message window) that is to repeat.

4. map the source header, and its elements to both these headers(and their corresponding elements).

5. In interface mapping, select the title_idtype as rb_split.

This shoulddo the trick.

Regards,

Smitha.

moorthy
Active Contributor
0 Kudos

Hi Venu,

Here it goes-

1) Create one Source Message Type

2) Create N number of Message Types for Target side

3) Create a Message Mapping- While Creating Mapping- Go to Messages Tab->Go to Target Message Type-> Add your N number Message Types over there

Then, u can see 1 message in the SOurce side and N(2) number of messages in the Target side. Then do the mapping.

4) Create the Interface mapping-Here your target Interfae will have "N number of Message Interfaces" for each N message Types. Use the 1:N Mapping done as before.

Now go ahead with other configuration. In Interface Determination select the RB_SPLIT/Extended option use this Interface Mapping over there. If multiple Receivers are required , then go with conditions.

Hope this helps.

Regards,

Moorthy

Former Member
0 Kudos

Hi Venu Gopal,

It is possibe. Have a look at the weblog by jin shin. After SP14 it is no more issue and we can do it without BPM also.

/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

Thanks and Regards

Vishal Kumar

Former Member
0 Kudos

Hi All,

In the above example.

I created target message types:

USER_1 and Employee.

Source message type:

UserSQL_1.

If I understood bhavesh suggestion.Is it need to merge Target message types into 1 message type?

Regards,

venu.

bhavesh_kantilal
Active Contributor
0 Kudos

Hi Venu,

Can you please send me the screen shots of your scenario. I think there has been some confusion in your understanding of multi mapping.

Regards,

Bhavesh

Former Member
0 Kudos

Hi Venu,

Take a look at this blog

<a href="/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible">/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible</a>

Regards,

Sudharshan