on 12-09-2009 7:13 AM
Hi ,
My scenario is IDOC to File(Xml format).
In target side I have a field country code and its mapped with sales org in source.
For this field there is a logic like:
sales org - > country code
0220 - Finland
0234 - Brazil
So I have to send files to different countries based on the sales organization value.
Now I have to use XPATH in receiver determination.
So Plz guide me what are the things to be done n design as well as configuration part .
Any input is appreciated!
Thanks,
Kiruthi
My scenario is IDOC to File(Xml format).
So I have to send files to different countries based on the sales organization value.
Now I have to use XPATH in receiver determination.
Do you have different Business Services one for Brazil and one for Finland (and/ or FILE channels) created and you have to decide between these BS while sending the data ..... if yes then you can do so by specifying the Condition in Condition Editor of Receiver Determination.
Open the RD --> Give your Receiver Services one below the other --> Open Condition Editor --> You will find three columns -->
Left Operand: use the input help option (two overlapping squares) --> Choose the XPATH Radio button --> Select the Node from the IDOC structure visible there --> you will automatically see the xapth created below
Middle Operand --> it will be "="
Right Operand --> Constant (0220/ 0234)
You need to maintain two different conditions in the same RD .....one for Brazil and one for Finland.
If your requirement is to configure the channel parameters (like FileName and Directory) at runtime based on the values of IDOC fields then make use of Dynamic Configuration concept (good blogs available easily on SDN)
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kiruthika,
Why Xpath check..
Are you planning to drop the files in different location based on source sales org??
IF yes then you can use the dynamic configuration in message mapping and in runtime design the target folder and filename...
If you plan to use XPath in receiver determination then for each sales org then the target component shoudl be one for each sale org... I would not recommend this
Regards
Suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Do you want to determine your receiver based on the source field value?
or You want to set the target field country code based on the source field value?
If later is the case you can go for value mapping.
Rgards
Manisha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you want to go for condiotional receiver determination:
User | Count |
---|---|
89 | |
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.