Hi,
I had gone through the PDF (Creating a Web Dynpro Application Accessing ABAP Functions)
but in that it is given how to retrive data from database..but how to write code for saving the userentered records in the database