on 03-03-2007 10:10 PM
Dear All,
I am now working on a scenario, which SAP XI File Adapter picks up a flat file with multiple IDoc data. As SAP XI IDoc Adapter sends IDoc one by one, I am thinking to use the Conversion Agent to Parse the flat file into IDoc XML, which recognized by SAP XI, and also split the multiple IDoc data by Conversion Agent, then send them to SAP XI File Adapter one by one.
Actually till now, the parsing from flat file to IDoc XML by Conversion Agent is ok, but I am facing problem to split the multiple IDoc data and send them one by one. Is there anyone who has experience on this? Any suggestions or comments are appreciated.
Thanks & Regards,
Nick
Nick,
I don't think it will be possible to split the IDOC to multiple files in Conversion Agent. You can also try to use two mappings
First Mapping
Source EDI XML Multiple Idocs - Single IDOC
Second mapping
Single IDOC to Required Format.
I will also try to check if splitting can be done in Conversion agent.
Suman Jaltar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Nick,
Just take the target idoc XSD in ur desktop and open in Notepad.
Change the occurance of <b><IDOC> to 0..unbounded </b>and import it directly in the target messgae of Message Mapping. ( Import XSD/XML)....
You are done .. this will create multiple target idocs
Thanks,
Himadri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nick,
The Current client I am assisting right now has a similar situation. Let me share some ideas i have been working here. I get Multiple PO orders in a single EDI 850 trasnction file and using Conversion agent I Parser it into EDI-XML Format. In Message Mapping for each PO I need to create a separate IDOC hence my single EDI-XML Format has to generate multiple IDOCS and send it to SAP System. To solve this solution without using BPM please refer the following blog
/people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
Let me know if you need any more details.
Suman Jaltar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Suman,
Thank you very much!
It seems we have the similar situation. Actually I have already read Michel's blog, but the client is thinking to split the data in Conversion Agent, and the SAP XI just handle the iDoc one by one. Do you have any experience in spliting message and send to SAP XI using Conversion Agent?
Regards,
Nick
As SAP XI IDoc Adapter sends IDoc one by one, I am thinking to use the Conversion Agent to Parse the flat file into IDoc XML, which recognized by SAP XI, and also split the multiple IDoc data by Conversion Agent, then send them to SAP XI File Adapter one by one.
Nick,
as your getting SAP XI IDoc Adapter sends IDoc one by one then why do u want to collect these and split again ?
as your getting an IDOC directly send to XI and XI will create a file out of it. their is no need to use Conversion agent converting into IDOC to File and collecting then again splitting.
Regards
Sreeram.G.Reddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nick,
How Complex is your file structure? If its a simple flat file, my suggestion would be to use file content conversion in file adapter and set the parameter "RecordSets per message"equal to 1 and have a mapping program to convert it into IDoc.
If you can't use the normal file content conversion, you have to define a multimapping which could split the incoming bundled idoc messages into separate messages before sending it to R/3 via IDoc adapter.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.