Smartform Output To PDF
Smartform Output To PDF
So, to convert our smartform output into PDF format, we will follow the below steps.
Step 2 :- Call the F4_FILENAME function module to select the file in which you want to
download the PDF.
Step 3 :- Call the function module of the smartform in Start-Of-Selection and get the OTF
data of the smartform.
START-OF-SELECTION.
Step 5 :- We can use the GUI_DOWNLOAD function module to download the PDF.
Code
PARAMETERS : P_FILE TYPE LOCALFILE.
PARAMETERS : P_EMP_ID TYPE ZAR_EMP_ID.
START-OF-SELECTION.
Output