on 08-14-2009 9:21 PM
Hello PI Gurus,
I am working on IDOC to File scenario where IDOCs can be sales order or return orders, depending up on IDOC i need to produce a file on the same folder location with differnet names Suppose
If Sales order Idoc then Sales.txt
If Sales Order IDOC then Return.txt
Both has different mapping logic and different strctures, Is it possible to achieve using ONE communication channel?
THanks
Rajeev
Rajeev,
If they both are having different structure, then the output files will not be the same. So they have different layouts. So you may need to use two communication channels for them and you may need to do like two different interfaces.
If they output files for both are same structure then you can have one communicaton channel. Then in that case what you do is write a udf where you will send the udf into a Filename and then you can use this as your filename in receiver communication cahnnel.
Regards,
---Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you mean to say if the receiving file location is same for 4 interfaces with 4 different target structures in IDoc/any to File scenario there should be 4 Communicaiton Channel right? There is no other way around to have one CC instead of 4 by changing File name dynamically depending up on some mapping logic?
Thanks
Rajeev.
Rajeev,
If you want to use one idoc and create four files with each file structrue different then you have to use 4 communication channels.
If you want to use one idoc and create four files, each one having the same structure then you can use one communication channel and can give dynamic file names and dynamic directories.
Regards,
---Satish
Hi Rajeev
mapping logic and different strctures, Is it possible to achieve using ONE communication channel?
Well you need to create two channel because use differents structures.
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 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.