Problem in converting into PDF
I need to convert data in PDF format but i am facing problem in it.
i have used 2 methods,
1. i used job_open,job_submit,job_close,BP_JOB_READ to submit job and CONVERT_ABAPSPOOLJOB_2_PDF to convert into pdf format. it is working fine in this case.
2. But when i use SUBMIT program with USING SELECTION-SCREEN 'xxxx' WITH selcrit2 IN 'xxxx'.. and then spool which created i used in FM CONVERT_ABAPSPOOLJOB_2_PDF , it is not converting even though same exporting and importing parameters are passed in this as in above.