Setting DSN name, userID and password for JDBC connection!!
I have used JRC in my java program to export a report to pdf.
In that i didn't set any DSN name. Now i need to give that,userID and passwords too.
I am not able to use the DSN name. How to do it.
Thanks in advance.
Merry Ware replied
You will need to set the server name either in the report itself or at runtime through the SDK.
For your userid and password, if you are exporting directly without viewing, you will need to set them through the SDK; if you are viewing first and then exporting, as long as you don't have saved data in your report you will be prompted by the viewer first for your user name and password, after which you can export the report.
If you need further information, you can find sample applications in the Business Objects portal on SDN, or developer documentation on http://boc.sdn.sap.com