Dear Experts,
I am facing a problem while printing SAP SCRIPT.The Spool Request Number is not getting Created. i have coded as given below.Except that ITCPP-TDSPOOLID filed all other fields are filled.Why its not creating the spoolID.If it is created the only i have to call the other report to convert this into PDF by giving this Spool ID. If anybody knows pls. help on this.
data : begin of zz_itcpp.
include structure itcpp.
data : end of zz_itcpp.
"CALL FUNCTION 'CLOSE_FORM'
Importing
Result = zz_itcpp
EXCEPTIONS
UNOPENED = 1
BAD_PAGEFORMAT_FOR_PRINT = 2
SEND_ERROR = 3
SPOOL_ERROR = 4
CODEPAGE = 5
OTHERS = 6
zz_spool_no = zz_itcpp-TDSPOOLID.
submit Zpr_MAILtoPDF .
Thanks in advance..