I am trying to create a webdynpro application in which we are taking two values from user let say firstname and lastname and finally on click of submit button an action will be fired which will take the values and insert the same in an excel sheet stored in KM i.e. firstname should go inside firstname column and same should happen for lastname.
I am trying to work on the above requirement as suggested by one of the blog:
String dataString = new String(u2033contentu2033);
ByteArrayInputStream dataStream = new ByteArrayInputStream(dataString.getBytes());
IContent newContent = new Content(dataStream, u2033excelu2033, dataStream.available());
But here how will we put the value in the respective columns i.e. firstname should go inside firstname column in excel sheet.
Can someone guide me urgently.