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.