on 12-28-2006 7:01 AM
Dear All,
<b> I am doing a Scenario of CSV to XML Files. I am using BPM for the same. My incoming CSV File has got multiple records. I want to break this Multiple records into Multiple XML Files having one record each.</b>
Can someone suggest how can I break this rather Split this into Multiple XML Files.
Is Multimapping absoltely necesaary for this. Can't we do this without Multimapping. Can we have some workaround in the FCC parameters that we use in the Integration Directory.
Kindly reply ASAP. Thanks a lot to all in anticipation.
Pls Help.
Best Regards
Chakra and Somnath
Hi,
Is it that you have one file with multiple records coming in? If so you can set the records to one so that the single file with multiple records can be processed as multiple messages.
Else if you are going for splitting the messages say a 1:N mapping, you can work with Enhanced Interface Determination where you have the option of using RB_SPLIT/EXTENDED. You do not need a BPM in this case. More information on this can be read in the SAP help library: http://help.sap.com/saphelp_nw04/helpdata/en/42/ed364cf8593eebe10000000a1553f7/frameset.htm
Regards,
Chandra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear All,
Thanks a lot for the replies. I have already used BPM for all those. Changing them will be a big pain. I want to Spit the Messages because I have an RFC which is called and this updates the Data in SAP. If there are multiple records in one XML File then only the First Recordset is Populated. Other rows of data are not populated, so i want to split the CSV into Mutiple XML Files.
What should be the approach for this case.
Awaiting Replies.
Best regards
Chakra and Somnath
<i> If there are multiple records in one XML File then only the First Recordset is Populated. Other rows of data are not populated, so i want to split the CSV into Mutiple XML Files.</i>
This is because you haven't implemented multimapping properly.
In case you are already using multi mapping, make sure that the occurence of the target message and the target interface is changed to 0...unb.
Regards,
Smitha.
Hi,
><i>I have already used BPM for all those. Changing them will be a big pain. I want to Spit the Messages because I have an RFC which is called and this updates the Data in SAP</i>
Can you give us the entire flow ?
I would still suggest making the change and going for multi mapping without BPM.
Please refer to this blog,
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
Regards
Bhavesh
Dear All,
I am trying to do the Multimapping, and have 0....unbounded also. Someways it is not working.
<b>
Smitha please tell me one thing...Assigning the Recordsets per Message to 1, does it mean that it will write multiple XML Files as I want.</b>
Also I am usinf Set to Read only. So once the File is read it becomes RA from A. Then will it write the other Records.
I have to use a BPM because there are certain dependencies that are there for the entire Process Flow. I cannot do without a BPM.
Awaiting a reply. Thanks a lot in anticipation.
Best Regards
Chakra and Somnath
Hi,
The RecordSetsPerMessage option when set to 1, would send 1 message at a time to the integration engine.
So the mapping would be called for each message, and hence 1 will create multiple target messages.
For multimapping, recheck the following:
1. Make sure that the target MT and MI is 0 to unb
2. If this is right, then make sure that the mapping you have specified is right.
That is, make sure that the target element which is to repeat multiple times is mapped to the proper source element.
Regards,
Smitha.
Hi Chakra and Somnath,
you have to design a "multi-mapping"
In Integration Repository goto software component SAP BASIS.
There are good samples for multi-mapping. Open the corresponding message mapping. Then you will get an idea of multi-mapping
Regards Mario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Somnath,
I suggest is use 0..Unbounded occurences for target structure, mean which holds the details for all the records,
And the do Mapping with source structure node to target stucture node... and it will work... try once...
Try this without using BPM... You can do this without BPM
Thanks and Regards,
sridhar
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 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.