on 11-13-2009 2:42 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
> 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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.