on 06-29-2018 11:13 AM
Hello,
I've print a billing document via a SMARTFORMS, and i wanna to archive the PDF into the Attachement list, i had used the structure toa_dara and arc_params from the INCLUDE rvadtabl but they come empty with no value, So the archiving is not done !
How can i get this values ?
Used Code :
NCLUDE rvadtabl.
...
...
lst_loutput_options-tdimmed = gc_x.
lst_loutput_options-tddest = nast-ldest.
lst_loutput_options-tdnewid = gc_x.
lst_loutput_options-tdarmod = nast-tdarmod.
CALL FUNCTION lv_fname
EXPORTING
control_parameters = lst_control
output_options = lst_loutput_options
user_settings = gc_x
archive_parameters = arc_params
archive_index = toa_dara
IMPORTING
job_output_info = lst_info
job_output_options = lst_output.
Dear Hamza,
Smartform is using FM CONVERT_OTF_AND_ARCHIVE to perform the archiving. Please set a break point into this function.
If it isn't stopped please check the input parameters just before the call of the function module of the Smartforms.
You must set e.g. the TDARMOD field of the Output Options to '2' ( Archive Only) or '3' ( Print and Archive).
If it is stopped, please check the function ARCHIV_CREATE_OUTGOINGDOCUMENT and his parameters (l_pdf_xstring, ...)
Best regards,
Hedvig
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
9 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.