on 06-01-2010 12:48 PM
Hi Sdners,
i have a requirement of spliting a single file from source....into 2 files....at the target side...and my target directory should be same
i should use only one business system at sender nd receiver.....!!!
thnx in advance
HI,
splitting single message(file) into multiple messages is possible by using the BPM concept., using BPM we can split the message, In BPM u can use one receive step , one transformation step(for splitting) , one fork step in that u can use two receiver determination steps, and two send step (one for one receiver, another for second receiver).
In message interface u can use one source abstract interface, and two receiver abstract interface at target side. and u need one sender data type and two receiver data types.
u can try this based on above information u wil get output
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If it is different structure then you have to create two message interfaces else one is enough.
if structure issame :The logic you can build using node functions like split by value to split one file in to multiple,you have to change target interface occurace to 1 to unbounded .
if structure is different : Then you have to go with multi mapping without BPM
Regards,
Raj
Hi Kiran,
In the Message Mapping, go to message tab and change the occurance of taget Message to 0..unbound.
in the mapping write the logic in such a way that target message repeats 2 times(u need 2 files right).
in the Interface determination,use enhanced interface determination and select the corresponding interface mapping.
please use this logic and let me know if u need any help on this.
Thanks,
Hemanth.
@Hemanth
no i dont want the xeror copy of the complete file...in 2 files
suppose i have one xml file i with 2nodes and each node consists 4 fields each....then i want to populate 2files at the receiver
side with 1node in each file, just split those nodes from the source file
now i think itz clear for u
>
>
> suppose i have one xml file i with 2nodes and each node consists 4 fields each....then i want to populate 2files at the receiver
> side with 1node in each file, just split those nodes from the source file
>
it is very simple buddy,simplt the file based on number of nodes and communication channel use add time stamp,one message interface for receiver and one for source,chanche the occurace thats it.
where you struck now??
Regards,
Raj
Hi Somasankar,
I did this scenario exactly what you said, the message is failing at Sender 2 step?
Any inputs for this please, Mapping is working fine. One xml has to 2 kind of message information, I am splitting with 1:n with BPM, receiver deter1, sender1 and recever detrermination 2,sender 2 in fork with one additional branch for alert mechanism, process is coming in switch but failing at sender step 2. two diffrent interfaces to receiver on SNC system.
Many Thanks for your suggestions.
Regards
San
this might help :
[http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3115] [original link is broken] [original link is broken] [original link is broken];
[http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3343] [original link is broken] [original link is broken] [original link is broken];
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you please explain with more details .. what kind of source file you have .. on which basis it has to be split.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
just split it in the mapping as two separate interfaces (two mappings from one source)
what's the issue here ?
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.