Hi,
Thanks for the reply.
However i have a work around.
1.I created a single activity attendance course with all the sessions created. I took a backup of it.
2. I prepared the csv file for uploading all the attendance and gave single activity format and set single activity format default to attendance.
3. While uploading the csv i selected the backup file to restore from .
IT worked :D