on 07-02-2007 7:19 AM
Hi Experts,
Is the FM CONVERT_OTF_2_PDF obsolete in ECC 6? as it is returning subrc 1 (exception: err_conv_not_possible).
Also please suggest the best way to convert smartforms into PDF in ecc 6.
Helpful answers will be fully rewarded
Regards,
K
Hi
Take the Spool ID of the Smartform and use the fun module
<b>CONVERT_ABAPSPOOLJOB_2_PDF</b>
for converting the smartform to PDF output
Reward points for useful Answers
Regards
Anji
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
You will get this from the fun module of the samrtform
see the sample code
DATA: ls_job_info TYPE ssfcrescl.
call smartform invoice
CALL FUNCTION lf_fm_name
EXPORTING
archive_index = toa_dara
archive_parameters = arc_params
control_parameters = ls_control_param
mail_appl_obj =
mail_recipient = ls_recipient
mail_sender = ls_sender
output_options = ls_composer_param
user_settings = space
is_bil_invoice = ls_bil_invoice
is_nast = nast
is_repeat = repeat
importing job_output_info = <b>ls_job_info</b>
TABLES
GS_WIRING = GS_ITAB3
document_output_info =
job_output_options =
EXCEPTIONS formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
the Internal table ls_job_info consists of the Spool ID for the samrtform generated.
<b>Reward points for useful Answers</b>
Regards
Anji
User | Count |
---|---|
84 | |
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.