on 10-09-2009 11:46 AM
Hi Gurus
I want to convert smartform to PDF, but in my smartform there is no importing parameter as 'job_output_info'.
How to go about?
And also when converted to PDF, how it will be displayed?
Regrards
Manu
Hi Manu,
After calling the Smartform FM, Use the FM CONVERT_OTF_2_PDF & pass the importing parameters use_otf_mc_cmd as 'X" & tables parametersn like otf, doctab_archive, lines .
Your smartform will be displayed in the PDF format.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
See this link
http://www.sap-basis-abap.com/smartforms/convert-the-smart-form-into-pdf-and-send.htm
Regards,
Jagadeesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
We have to export certain parameters to the generated function module.
They are
a) Control_Parameters: To access the OTF table, we have to pass
u201CGetotfu201D =u2019Xu2019.
b) Output_options: To print settings. For this we have to pass tddest = 'LP01u2019.
We have to import following parameters:
They are
a) JOB_Ouput_Info: To import the table in the OTF format.
You can create a variable of type ssfcrescl and you can pass it to job_output_info. as shown below.
t_otf_form_fm1 type ssfcrescl,
CALL FUNCTION L_FNAME1
EXPORTING
CONTROL_PARAMETERS = W_CPARAM
OUTPUT_OPTIONS = W_OUTOPTIONS
T001 = T001
IMPORTING
JOB_OUTPUT_INFO = T_OTF_FORM_FM1
TABLES
IT_MARA = IT_MARA
IT_MBEW = IT_MBEW
IT_MAKT = IT_MAKT
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
job_output_info must be there.
can u show ur smartform call?
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 |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.