on 09-21-2009 4:00 AM
Hi all,
For MII Workbench 12.0, I see in the File I/O action group, for the treatment of file on MII system, we have the actions: Write File, Get File List, Delete File, Create Directory, Flat File Parser, Create Zip Archive.
But we don't have "Read File" action.
For example, I have write a XML file in D:\Test\ProductionSchedule.xml and then I would like to read this file into a Transaction, but the "Read File" action doesn't exit.
Should we use another customized action to Read File in MII system? If anyone know how to read file on MII System, please help me?
Thanks a lot in advance,
Vinh
There are many "Read File" actions - HTML loader, Text loader, and XML loader. These can have file-based URLs (paths) as well as web-based URLs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you considered the XMLLoader action block?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jeremy,
The XMLLoader action belongs to Web action group, it means that we need a URL address (that contains the XML file) in order to load content of XML file.
Furthermore, the XML file (ProductionSchedule.xml) is just an example (we can other file type: .txt, cvs, ...). So we don't specify for XML file type.
In general, I would like to focus on interaction between MII transaction and MII system itself (write and then read on Hard Disk of MII server).
Do you have another solution for reading the content of all file type in Hard Disk of MII server?
Thank you so much, Jeremy,
Vinh
As both Rick and the help docs indicate (XMLLoader directs you to the HTMLLoader) http://help.sap.com/saphelp_xmii120/helpdata/en/44/6b49ff32af6d13e10000000a1553f6/frameset.htm, you can use physical file paths.
Managing things at the http level may be a better route to follow, and with NW WebAS you can establish virtual directories to file paths and use http to reference them (even folders outside of the /XMII/CM typical path you get with MII project content).
User | Count |
---|---|
12 | |
7 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.