Skip to Content
0
Former Member
Nov 24, 2009 at 12:46 PM

Spool Id - OTF end command // missing in OTF dat

201 Views

Hello all,

I searched a lot about this error in SDN But i could not get a clear solution...

I am having a SAP Script and i have generated the spool request through OPEN_FORM and CLOSE_FORM

Converted that to PDF using CONVERT_OTF_2_PDF...

But when i try to trigger a mail...

Throwing error "OTF end command // missing in OTF dat"....

Kindly, let me know how should i generate or get the spool id so as to pass this spool id to CONVERT_OTF_2_PDF

to avoid this error...

Is CONVERT_ABAPSPOOLJOB_2_PDF FM a must to use instaed of CONVERT_OTF_2_PDF...

If that is the case how can i capture the spool id to pass that in CONVERT_ABAPSPOOLJOB_2_PDF....

Waiting for your replies....