on 01-24-2008 11:25 AM
Hi,
I have senario IDOC to File. at sender side i have two fields which are constant.
order and workcenter if order is AA and work center is BB the i have to send data to one directory and if order is CC and work center is DD then i have to send data to different directory. How to handle this.
Dont send links Explain me.
Regards,
Phani
hi,
I think you want to send the data according to the diffrent paylod.
You can configure this in receiver determination step.here you can select the condition option and now u have two option to select deffrent receiver.
1)using context object:it is some thing like pointer
2)or using Xpath
here you have to define two sender communication channel. and assign this according to the condition
why u requird two comm channel because here only you are defining the receiver directiry name .
regards,
navneet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if order is AA and work center is BB the i have to send data to one directory and if order is CC and work center is DD then i have to send data to different directory
This could be possible in 2 ways
1. Using dynamic configuration and adapter specific message attributes
Refer
Here you can check your condition in UDF and accordingly set the directory name in UDF accordingly
2. variable substitution
refer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Phani,
You can do it in the following way
In IR
1) create 1 outbound & 2 Inbound Message Interfaces
2) Create 1 message Mapping
3) Create 2 Interface mappings
In ID
1) Create 1 Sender & 2 Receiver CC's
2) Create One Sender Aggrement
3) Create 2 receiver aggrements
4) Create 1 Receiver Determination with out mentioning any condition
5) Create 1 Interface mapping.
Here in Interface Determination you can specify Your Interfaces to execute based on the conditions.
Regards
Seshagiri
Edited by: N V Seshagiri on Jan 24, 2008 12:40 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Phani,
This is a simple senario which depicts single Idoc to File stored in different directories.
Since the values are constants and on the sender side, you can give the appropriate condition in the Condition Editor at the Receiver Determination -> if u have multiple Business Receivers or Interface determination -> if you have single Business System with multiple interfaces.
And then you can create Receivers Aggrements for respective communication Channels.
If the Solution is not clear, Please clarify your problem.
Thanks !!
Harpreet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
U can handle it using xpath Expression in Receiver Determination.
Go through these weblogs:
/people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
/people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
Thanks,
Maheshwari
Edited by: Maheshwari Morbale on Jan 24, 2008 12:35 PM
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 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.