on 08-20-2008 6:26 PM
Hi folks,
Here i am having a problem in my scenario. i am doing a scenario which consists of a file sender. that file will contain a combination of data suppose A and B type of data will be there included in the file . after sepending on the field in the file i need to pass the data A to one reciever as weell as data B to other receiver.
i mean the node in the file is 0 to unbounded .
the file may contain the ata type A and Data type B or Only datatype A or only data type B.
depending on the filed value we need to route the data to different receivers.
i will give u a graphical view of this ...
Node
---
A
A
B
A
B
the data related to A will be posted to one receiver and the data type B will be posted to other receiver.
Can any body guide me
Thanks
hi,
in the reciever determination,
create two communication channels in two business services,
one file for sending data A and another for data B
next to SERVICE option, u can find option for giving CONDITION.
just click condition and give right hand operand as element, give = A and service for Data A
again do the same for Data B.
so according u r data, data will splits into two diff files and saved in respective locations
Thanks,
Madhav
Note:Points if useful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ramana,
As per my understanding you want to split the datas from one file to two different receivers. Is it so?
If yes, then you can do it with BPM and without BPM also.
Without BPM:
Steps to be done:
In IR:
1.> Create 1 source and 2 target data types.
2.> Create Message types.
3.> Create Interface types
4.> Create Message mapping:
like: Source
A------->Target1
B------->Target2
5.> Create Interface mapping
In ID:
1.> Create configuration scenario
2.> Create Bussiness service
3.> 1 sender commuincation channel, 2 Receiver communication channels
4.> sender agreement
5.> interface determination
6.> Receiver agreement
7.> receiver determination
You can do the same through the context objects also(if both the data types have one common field.):
Follow the steps:
In IR:
1.> Create 1 source and 1 target data types. And create a context object related to the common field.
2.> Create Message types.
3.> Create Interface types and in the outbound interface use that context object.
4.> Create Message Mapping
5.> Create Interface mapping
In ID:
1.> Create configuration scenario
2.> Create Bussiness service
3.> 1 sender commuincation channel, 2 Receiver communication channels
4.> sender agreement
5.> interface determination mention the condition for interface mapping related to the context object.
6.> Receiver agreement
7.> receiver determination
just chk with the links:
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
Regards,
Nutan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
the best option to user Enhance Receiver Determination option, the blog and sap help link will help you
http://help.sap.com/saphelp_nw04/helpdata/en/43/a5f2066340332de10000000a11466f/frameset.htm
with regards,
Ravi Siddam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ramana,
you can achieve this in the following way.
1. maintain two receiver message type.
2. do the message mapping depending on the value in the source file,meaning if the source file has node A then map that content rec X and if source file has node B then map that content to rec Y.
3. in the configuration maintain 1 sender agreement and two receiver agreement.
Hope this solve u r doubt.
Best Regards,
Sugeet.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
You can use the multi-mapping concept for this requirment.
For e.g.
Target Message_A
Source Message ---->
Target Message_B
here from source side, you need to take the whole data as single string and then based on position of fields and values you need to divart it to particular field.
This includes the substring logica as well as various logics that need to be acheived via Graphical APIs and Advanced UDFs.
Thanks
Swarup
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I think you can use the Multi-mapping with proxies. Here your scenario seems to be File to Proxy and the will be Async proxy..
You may create 2 interfaces and send generate two proxy interfaces but receiver XI adapter will be common
1. Interface will be for mapping only fields of Type A and another will be of B
Thanks
Swarup
Hi swarup,
you mean that i need to create two interfaces and use it in a multimapping with single interface mapping.
later i need to create two receiver determinations for two receivers.
I saw in SAP help that this multimapping will work out for the adapters which resides on adapter engine. can you please confirm.
Thanks & Regards.
User | Count |
---|---|
88 | |
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.