Skip to Content
0
Apr 29, 2009 at 07:05 AM

SCRIPT to PDF

16 Views

HI Friends,

i am using the invoice print program. the following code generate the popup for print (spool number) and and the data goes to the printer.

now here i want PDF(not print) is there any option?

CALL FUNCTION 'CLOSE_FORM'

IMPORTING

RESULT = i_itcpp

EXCEPTIONS

OTHERS = 1.

IF sy-subrc NE 0.

retcode = sy-subrc.

PERFORM protocol_update.

ENDIF.