on 04-04-2012 8:26 AM
Hello Guys,
I want to send multiple IDocs(at a time) to File(.CSV) in XI without using BPM.The target file structure should be one row of data for each IDoc.There should not be multiple Files for Multiple IDocs.All the IDoc data should be copied into single .CSV file in the destination.How I can achieve this .Please help me out.
Output strucure should be something like.
Data1 | Data 2 | Data 3 | Data 4 | Data 5 | Data 6 | Data 7 | Data n |
---|---|---|---|---|---|---|---|
IDoc1_Data1 | IDoc1_Data2 | . | . | . | . | . | IDoc 1_Data n |
IDoc2_Data1 | IDoc2_Data2 | . | . | . | . | . | . |
IDoc3_Data1 | IDoc3_Data2 | . | . | . | . | . | . |
Regards,
Shriprasad Bhat
Hi,
You can append data to file for each IDOC. Use processing mode as "Append" in your file CC. Your 1st IDOC of the day will create the file and subsequent IDOCs will be written to file in append mode. You can also use ATP settings to activate and deactivate channels and send final written file for the entire day to receiver systems.
-Amol
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sriprasad,
The only drawback of using IDOC packaging is that if even a single IDOC is erroneous and fails in mapping it will fail the entire IDOC package and you will have to resend correct IDOCs again. If you can make sure that your mapping will not fail in any case and will ignore erroneous data, IDOC packaging is best option to go for.
-Amol
Thank you all for valuable suggestion.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bhat,
What is the version of your PI System? if you are using PI7.1 above then use IDoc sender channel but in ECC you have chance partner profile to collect IDocs mode and have write program to trigger colected IDoc's as a one message.
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
with sender IDOC adapter packaging functionality you can receiver multiple IDOCs from ERP in one message to PI (to one mapping) - if you can do the mapping to CSV from there then you're home
Other ways of collecting IDOCs from my blog:
Regards,
Michal Krawczyk
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.