on 01-13-2006 8:32 AM
Hallo,
I send a *.xml file to XI and then to BW. The File-Structure is:
<?xml version="1.0" encoding="UTF-8"?>
<ns:PlaintMaintenanceMessagetype xmlns:ns="http://doehler.com/sapxi/krausdemosender">
<Datasource>6ATESTDEMOYVES</Datasource>
<Data>
<item>
<EpuipmentID>1234</EpuipmentID>
<FunctionalLocation>Limo</FunctionalLocation>
<Data>20060105</Data>
<Time>122030</Time>
</item>
</Data>
</ns:PlaintMaintenanceMessagetype>
that is ok.
My question is how can I transform the structure of the *.xml in a structure of *.csv where I can send to xi and then to BW.
Can anybody help me?
thanks yves
Hi Kraus,
I guess you have a scenario in XI already developed, which accepts xml input and the processing is based on this.
Now the sender system has changed their output format and are sending you data in csv format.So you do not wish to touch your developed XI thing and want that you still pass xml input to XI since changing it for accepting csv format would involve lot of time/effort.
We had something like this and we had opted for XSLT stylesheets for the conversion(though it was not the same as above).Java is also a good option.
Regards,
Sulakshana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
why u want csv-xml before sap xi?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Allesandro is right.If it is input file then you have to use file cc and follow the blogs refered by them which will helpful to convert csv into xml.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
This will solve i guess, Let me check if i got the scenario correct CSV --> XML BY SAP XI am i correct?
/people/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter
Input(csv): Given in weblog.
Follow Content conversion of File adapter as every one has mentioned.
Output(xml): As shown in the blog.
Does this help you?
Regards,
Anirban.
Hi,
I guess then you have to use a 3rd party tool like stylus studio (http://www.stylusstudio.com) etc to convert csv to xml, then xml -- > SAP XI.
Hi Kraus,
This link should help you out:
/people/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter
Regards,
Chandra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you can create the XSD in the data type editor and then use it.Is there any specific need to convert to xml to csv?I fail to understand why you require to do that?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hallo,
i have a big file *.csv from a system. I want to bring it to sap xi, with a file adpter. Then i need the structure what sap xi understanding.
My question how I can bring this structure:
<?xml version="1.0" encoding="UTF-8"?>
<ns:PlaintMaintenanceMessagetype xmlns:ns="http://doehler.com/sapxi/krausdemosender">
<Datasource>6ATESTDEMOYVES</Datasource>
<Data>
<item>
<EpuipmentID>1234</EpuipmentID>
<FunctionalLocation>Limo</FunctionalLocation>
<Data>20060105</Data>
<Time>122030</Time>
</item>
</Data>
</ns:PlaintMaintenanceMessagetype>
diplayed in *.csv !!
yves
Hi,
I think this weblog will solve the issue, please use file content conversion for xml> FCC(xi)>CSV as you want.
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
Regards,
Anirban.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use file content conversion for Receiver File Adapter, look <a href="http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm">here</a> for details.
But I think you can find more interesting way to go to BW with XI. Check out sdn: search "XI BW" and find a lot of stuff.
Regards,
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
my problem is to bring the structure:
<?xml version="1.0" encoding="UTF-8"?>
<ns:PlaintMaintenanceMessagetype xmlns:ns="http://doehler.com/sapxi/krausdemosender">
<Datasource>6ATESTDEMOYVES</Datasource>
<Data>
<item>
<EpuipmentID>1234</EpuipmentID>
<FunctionalLocation>Limo</FunctionalLocation>
<Data>20060105</Data>
<Time>122030</Time>
</item>
</Data>
</ns:PlaintMaintenanceMessagetype>
in the structure of a *.csv with editor or something else!
Here is my problem, what are the structure of the *.csv, that the xi mapping understanding the file.
yves
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.