Hello Kiran,
Yes it worked.
@Sravani: You can try with the Kiran's comments. Based on your requirement you can either place a file in presentation server or application server.
If you want to send the pdf file created to the mail id refer to the demo program BCS_EXAMPLE_7 where it is explained for XLS document and you can refer it and do it for PDF attachment.
Regards,
TP