CALL FUNCTION 'FM_NAME'
EXPORTING
/1BCDWB/DOCPARAMS = FP_DOCPARAMS
IMPORTING
/1BCDWB/FORMOUTPUT = fpformoutput
EXCEPTIONS
USAGE_ERROR = 1
SYSTEM_ERROR = 2
INTERNAL_ERROR = 3.
IF SY-SUBRC <> 0.
ENDIF.
I need tio store the value of fpformoutput-pdf in ztable on click of 'Print' button of dailog. I get the value while clicking 'Print Preview' but not on 'Print'.