cancel
Showing results for 
Search instead for 
Did you mean: 

Create a .csv file in KM using KM API

Former Member
0 Kudos

Does anyone have a good code example of how to create a ".csv " in KM using KM API? Any response would be greatly appreciated.

Regards,

Omar

Accepted Solutions (0)

Answers (1)

Answers (1)

SandipAgarwalla
Active Contributor
0 Kudos

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

Sandip