on 11-24-2015 10:19 AM
Hello everybody,
does anybody know how to manipulate the titel of a SMARFORMS print. I want to make it dynamically to find single printed documents better in the SP01.
I already tried the output_options fields TDSUFFIX1, TDSUFFIX2, TDCOVTITLE and TDRECEIVER, but it didn't work.
ls_output_options-tdsuffix1 = 'SUF1'.
ls_output_options-tdsuffix2 = 'SUF2'.
ls_output_options-tdcovtitle = 'TDCOVTITLE'.
ls_output_options-tdreceiver = 'TDRECEIVER'.
CALL FUNCTION lv_fname
EXPORTING
control_parameters = ls_control_param
output_options = ls_output_options
i_charge = ls_charge
i_nachdruck = space
user_settings = space
h_schacht = 'TRY01'
i_ebeln = space
IMPORTING
job_output_info = ls_job_output_info
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Thanks for any suggestions!
Best regards,
Oskar
Hello everybody,
thanks for your responses, the problem was that I used the FUBA "SSFCOMP_OPEN" before. It uses also output options. So I had only to fill the TDCOVTITLE field there and everything worked fine.
Regards,
Oskar
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.
Did you actually fill :
Also in SP01/SP02 try to display both values
Regards,
Raymond
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
thanks for your replies. Unfortunataly TDTITLE as well as TDCOVTITLE didn't work. Can it be possible that this has something to do with smartforms? I also tried the FUBA GET_PRINT_PARAMETERS, but it didn't work neither (maybe I have used it wrong).
Yes, I'm sure that I check the correct spools 😉
Regars
Oskar
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.
Hi,
I think it's TDTITLE
regards
Fred
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
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.