Hi Eswar,
Check IAPI library under reference guide. System is able to generate PDF file for query output so it should have supported jar deployed in server. Please take help of basis consultant and request to locate the JAR file in server. If not able to locate then you need to deply the JAR file.
How to deploy jar:-
Please find few thread related to it:-
- Deploying Custom Jar Files : E-Sourcing
- Not able to create a java class included in custom jar from script
- How to overcome 64kb chars Script definition limitation in SAP Sourcing:- I have followed this thread and was able to deploy successfully with help of Basis team. Please consider one point, you need to use SDM for deployment.
Or onemore thing you can do is:-
Via Eclipse write a class and put your script logic to generate PDF in it. Compile and create jar file out of it. Then as per option 3rd menioned above deploy the jar file and then you can import cutom jar in toolbar script and call the method to generate the PDF file.
Cheers,
Deepak