Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Function Module

Former Member
0 Likes
419

Hi experts,

I am using a function module in my function module which returns pdf size and no of pdf lines as output.

Using that output how we can show the pdf output in a new screen-1000.

Any function module which converts the smartform into pdf other than convert_otf and convert_otf_2_pdf.

Thanks,

Sakthi

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
365

Hi Sakthi,

Check these

CONVERT_OTF Convert OTF format to various formats (TLINE table) ASCII or PDF

CONVERT_OTF_2_PDF Convert OTF to PDF (TLINE table). OTF can be filled used archivelink. Calls CONVERT_OTF.

CONVERT_OTF_2_PDF_ARCHIVELINK -=--Convert OTF to PDF (TLINE table). Calls CONVERT_OTF. Looks like the function names for these two functions are mixed up 

CONVERT_OTFSPOOLJOB_2_PDF put: spool # (SAPscript: tsp01-rqdoctype='OTF'); Output: PDF as internal table (TLINE) Example

CONVERT_ABAPSPOOLJOB_2_PDF ---Input: spool # (ABAP listing: tsp01-rqdoctype='LIST'); Output: PDF as internal table (TLINE) Example

Cheers

Mohinder Singh Chauhan

2 REPLIES 2
Read only

Former Member
0 Likes
366

Hi Sakthi,

Check these

CONVERT_OTF Convert OTF format to various formats (TLINE table) ASCII or PDF

CONVERT_OTF_2_PDF Convert OTF to PDF (TLINE table). OTF can be filled used archivelink. Calls CONVERT_OTF.

CONVERT_OTF_2_PDF_ARCHIVELINK -=--Convert OTF to PDF (TLINE table). Calls CONVERT_OTF. Looks like the function names for these two functions are mixed up 

CONVERT_OTFSPOOLJOB_2_PDF put: spool # (SAPscript: tsp01-rqdoctype='OTF'); Output: PDF as internal table (TLINE) Example

CONVERT_ABAPSPOOLJOB_2_PDF ---Input: spool # (ABAP listing: tsp01-rqdoctype='LIST'); Output: PDF as internal table (TLINE) Example

Cheers

Mohinder Singh Chauhan

Read only

Former Member
0 Likes
365

Hi,

use class CL_GUI_PDFVIEWER or method EXECUTE in class CL_GUI_FRONTEND_SERVICES.