Does anyone have a good code example of how to create a ".csv " in KM using KM API? Any response would be greatly appreciated.
Create the CSV file using Apache POI APIs, then upload the file to KM using KM APIs.
Use HSSFWorkbook and HSSFSheet APIs to create the CSV file..there are tons of materials available on internet on how to use Apache APIs.
Once the CSV file is created, use KM APIs to upload the file..See the link for Sample code for KM APIs - http://scn.sap.com/thread/564552
Also - http://wiki.sdn.sap.com/wiki/display/KMC/Resource+and+Collection+Versioning+Using+KM+APIs