cancel
Showing results for 
Search instead for 
Did you mean: 

1:n mapping without BPM

Former Member
0 Kudos
311

Hello Friends,

I need some help about this mapping issue.

input file :


<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
	<SOAP:Header></SOAP:Header>
	<SOAP:Body>
		<Object_1>
			<ID>12222333444</ID>
			<points>50</points>
		</Object_1>
		<Object_1>
			<ID>12222333555</ID>
			<points>20</points>
		</Object_1>
		<Object_1>
			<ID>1222233777</ID>
			<points>10</points>
		</Object_1>
	</SOAP:Body>
</SOAP:Envelope>

output file1 :

 
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
	<SOAP:Header></SOAP:Header>
	<SOAP:Body>
		<Object_1>
		    <ID>12222333444</ID>
			<points>50</points>
		</Object_1>
	</SOAP:Body>
</SOAP:Envelope>

output file 2 :

 
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
	<SOAP:Header></SOAP:Header>
	<SOAP:Body>
		<Object_1>
		    <ID>12222333555</ID>
			<points>20</points>
		</Object_1>
	</SOAP:Body>
</SOAP:Envelope>

output file 3 :

 
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
	<SOAP:Header></SOAP:Header>
	<SOAP:Body>
		<Object_1>
		    <ID>1222233777</ID>
			<points>10</points>
		</Object_1>
	</SOAP:Body>
</SOAP:Envelope>

Best regards,

FK

Accepted Solutions (1)

Accepted Solutions (1)

aashish_sinha
Active Contributor
0 Kudos

Hi,

Multi-mapping and BPM (integration process) always use to go hand-in-hand. Since SPS14, this isn’t true anymore. In the case of message splits (1:n transformations), multi-mappings can now be created and used in non-BPM scenarios. Referred to in many different ways, but most commonly as mapping-based message splits, this new enhancement affords SAP NetWeaver XI developers an opportunity to take BPM out of the equation for message split based scenarios.

Have a look into this weblog

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

Regards

Aashish Sinha

PS : reward points if helpful

Former Member
0 Kudos

Can anyone help me out in answering these question asap?

I forgot this weblog :

/people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16

but on step - Interface determination, i cannot select any Interface mappings.

https://weblogs.sdn.sap.com/weblogs/images/251688284/ID_ReceiverDetermination.JPG

Many thanks in advance,

FK

Former Member
0 Kudos

> but on step - Interface determination, i cannot select any Interface mappings.

> https://weblogs.sdn.sap.com/weblogs/images/251688284/ID_ReceiverDetermination.JPG

Hi,

After Createing the Receiver Determination, when you create the Interface Determination then select the radio button "Enhanced" and select the Interface mapping first, as soon as you select the Interface mapping your message interfaces will be automatically added in the Interface determination.

Regards,

Sarvesh

Former Member
0 Kudos

I think you have not followed the blog properly for your requirement.

for example: Source File is like this.

<Records>

<FirstName>Sarvesh</FirstName>

<LastName>Singh</LastName>

<Dept>SAP</Dept>

<EmpID>12345</EmpID>

<Domain>technical conslultant</Domain>

<Experience>5 years</Experience>

</Records>

'N' Target Structure are

<Records>

<EmpName>

<FirstName>Sarvesh</FirstName>

<LastName>Singh</LastName>

</EmpName>

</Records>

<Records>

<EmpDetail>

<Dept>SAP</Dept>

<EmpID>12345</EmpID>

<Domain>technical conslultant</Domain>

<Experience>5 years</Experience>

<EmpDetail>

</Records>

So if you think your requirement is as per the above examples then follow /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible blog.

Regards,

Sarvesh

Answers (3)

Answers (3)

Former Member
0 Kudos

In addition to experts advice I would like to add that you will also require SplitByValue (on Value Change) in your mapping.

What you can do is.. Remove the context of your ID field and then map -


> SplitByValue(on Value Change) -


> Target field(this will create new files based on change in ID)

I hope it helps..

former_member556603
Active Contributor
0 Kudos

Hello Faith ,

Use Split By Value..

Go through this link.

/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii

Thanks,

Satya Kumar

Former Member
0 Kudos

Hi Fatih Kökce,

following blog may help u-

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

/people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16

BestRegards,

Ramesh.