on 07-28-2008 10:15 AM
I want to display smartform in PDF format . How i can convert OTF and then to PDF.
Pl help.
sanjukta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Call the function module of the smartform and pass the final internal table (output table) into the form interface, also exporting the control parameters output options and user settings importing the structure job_output_info and transfer the contents of STRUC_JOB_OUTPUT_INFO-OTFDATA[] into an internal table I_OTFDATA[] which contains the records in OTF format.
Sample Code
CALL FUNCTION v_function_module
EXPORTING
CONTROL_PARAMETERS = STRUC_SSFCTRLOP
OUTPUT_OPTIONS = STRUC_OUTPUT_OPTIONS
USER_SETTINGS = C_NO
IMPORTING
JOB_OUTPUT_INFO = STRUC_JOB_OUTPUT_INFO
TABLES
p_write_file = i_write_file
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5 .
Transferring the data into an internal table
I_OTFDATA[] = STRUC_JOB_OUTPUT_INFO-OTFDATA[].
Regards.
Eshwar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sanjukta,
Plz refer to the link below:
http://it.toolbox.com/wiki/index.php/SAP_Smart_Forms#SmartForms_Output_to_PDF
With luck,
Pritam.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
[http://help.sap.com/saphelp_nw04/helpdata/en/27/67443cc0063415e10000000a11405a/content.htm]
Regards,
Sravanthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.