cancel
Showing results for 
Search instead for 
Did you mean: 

Printing pdf data for smartform

Former Member
0 Kudos

Hi,

I tried to convert an Smartform output data using program 'RSTXPDF4'.

When I go to sp01 I see a new spool number being created saying 'xxxxxxx' converted to pdf data.

Can someone tell me how do I print this spool number ?

Also can someone tell me what exactly is the use of SP01 ?

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

suresh_datti
Active Contributor
0 Kudos

Hi Tushar,

You don't need to use 'RSTXPDF4'. In your program use 'SSF_FUNCTION_MODULE_NAME' to get the function module generated by the smartform. Then you call the generated function importing job_output_info. This will be in otf format. Pass the OTF table to another function ie

call function 'HR_IT_DISPLAY_WITH_PDF'

tables

otf_table = t_otf_table.

This will let you display the output in PDF right in the same R/3 session. The User can then decide whether to print or save it to a location.

Regards,

Suresh Datti

Former Member
0 Kudos

Please also review this