on 05-04-2014 1:54 PM
Hi Experts,
I have a requirement -->File (Contains multiple material records ), to File scenario according to material name I need to route of the record it needs to choose the receiver (dynamic routing).
mapping :- Simple normal conditions.
So how can I choose the receivers in the PI . Please suggest me how to proceed .
Thanks,
Vijay Kumar K.V.N
Hi Harish,
Thanks for the reply,
I guess I have confused in putting my requirement I will try making it clear .
For each MT_Invoice I need to create separate message , according to a field "Prod_Startdate" field I need to route the message to particular receiver business system.
For this I have created an Extended receiver determination , I have kept this logic in that but I am getting an error in the Receiver determination step.
Kindly tell me how I need to proceed further in this case.
Thanks,
Vijay Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vijay,
Have you followed the wiki pointed by Harish to use Extended (Dynamic) Receiver Determination?, pay attention to the ID configuration (Defining Extended (Dynamic) Receiver Determination - Integration Directory - SAP Library).
Could you share the exception that you have got?
Regards.
Hi Vijay,
Are you collecting multiple input files to a single output file, else you are splitting the file into multiple files based on Material name and you are determining receiver?
You can create a graphical mapping with target as Receiver Determination and split the input file based on Material name and determine the receiver using Fixed/Value mapping.
Apply similar logic in actual mapping which we are going to use in Interface Determination.
Thanks
Jayaram
To split the message to multiple messages, change the signature in the message mapping to cardinality 0..unbounded for the target message. Do the same in the operation mapping. Then map the message accordingly.
Then you get multiple messages. Now we have to route them to the right receiver. Questions:
Message was edited by: Stefan Münchow
Hi Vijay,
If you are converting the flat file to XML in sender communication channel, then use the standard receiver determination to route the message. But you need to filter the message in message mapping (only need to consider the required data for that receiver).
other option is use multiple flow. Split the message in first flow and route the message (using multi mapping) to desired receiver in second flow.
refer the below doc for multimapping
if your receiver determination condition is complex then use enhanced receiver determination. refer the below wiki
regards,
Harish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.