on 04-18-2006 4:53 PM
Hi All,
I have a file with 30,000 rows, each represent a item. Iwould like to know which way of the following data type is good? or having advantage over other.
Case-1:
ITEM_LIST_DT
.......|_ItemList occurs 1 time
.......... |_Item occurs 0 to unbound
.............. |_Name String occurs 1 time
.............. |_Desc String occurs 1 time
.............. |_Number String occurs 1 time
.............. |_Code String occurs 1 time
Case-2:
ITEM_LIST_DT
.............. |_Item occurs 0 to unbound
.................. |_Name String occurs 1 time
.................. |_Desc String occurs 1 time
.................. |_Number String occurs 1 time
.................. |_Code String occurs 1 time
Does xi is going to push all the records at a time in the first case?
Hi,
I think case 2 should be a good choice. Yes XI going to pick up the file at one shot and then will start mapping so it will push the data in one go.
Thanks,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
>>>Does xi is going to push all the records at a time in the first case?
I guess it will do it in both cases
as you have "0 to unbound" occurance at item tag level
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ganges,
There is a option of Record Sets Per messages in the File Adapter. You can use this.
Pls look into this Blog-
/people/sravya.talanki2/blog/2005/11/29/night-mare-processing-huge-files-in-sap-xi
/people/alessandro.guarneri/blog/2006/03/05/managing-bulky-flat-messages-with-sap-xi-tunneling-once-again--updated
Second option is again splitting the files before XI picks up the file. Again this can be done using Scripts.
Hope this helps,
regards,
Moorthy
HI Ganges,
Case 2 is better. Because you can get the xml as nested as shown in the Data Type.
If you go with Case 1, then it is of type one more Wrapper class. This can be used if you have different structures under ItemList occurs 1 time.
Hope this helps,
regards,
Moorthy
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.