cancel
Showing results for 
Search instead for 
Did you mean: 

Message splitting

Former Member
0 Kudos

Hi,

I have a RFC to File scenario with message splitting.

The result of this mapping looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
   <ns0:Message1>
      <ns2:InterfaceName xmlns:ns2="http://test">
  
// Message 1

      </ns2:InterfaceName>
      <ns2:InterfaceName xmlns:ns2="http://test">
   
// Message 2

      </ns2:InterfaceName>
   </ns0:Message1>
</ns0:Messages>

In the file both messages were saved in one file, but I would like to have a separate file for each

message.

The blog "Message Splitting Using the Graphical Mapping Tool" is already known, but doesn't help.

If I would like to have two separate files, do I need to have Message1 and Message2 in target structure?

Thanks

Regards

Chris

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

have you configured Enhanced interface determination with 2 inbound interfaces?

2 receiver agreements...configure 2 receiver file adapters

Message1 and Message2 will be automatically filled in mapping, you need not worry about it

Former Member
0 Kudos

Hi,

but the target message could appear 1..N times and it is only one type of target message.

He should just save every data record of source message in a single file on file system.

So he have to save all messages under Message1 seems correct, doesn't it?

How to configure that he create spearate files on file system?

thanks

regards

Edited by: Christian Riekenberg on Nov 13, 2009 4:07 PM

Former Member
0 Kudos

> So he have to save all messages under Message1 seems correct, doesn't it?

Yes, if you want to generate multiple files of the same structure( which is your case), you dont need to create Message2.

All msgs can be sent under Message1.

If you are creating the scenario in PI 7.1, your have to just create a normal Interface Determination, PI will automatically take care enhanced IntefacerDeter for multimapping, But if you using PI7.0 or lower version, you have to explicitly select the option of Enhanced Interface Determination.

Pooja Pandey

Former Member
0 Kudos

@Pooja Pandey

Thanks for this information. I work on XI 3.0 and selected enhanced interface determination now.

But still just one target message will be created on file system. Do I have to configure anything else?

thanks

VijayKonam
Active Contributor
0 Kudos

You should add 2 messages in your mapping on the target side. Same is the case with the interface mapping where you would add 2 interfaces (or operations) on the target side. In the interface determination you would need to mention both the interfaces in order to get 2 files generated.

VJ