on 05-17-2010 2:22 PM
Hi experts,
Is it possible to disable the print button in the smartforms preview? The print & archive button has to stay active, so the OUTPUT_OPTIONS-TDNOPRINT flag doesn't help here.
Thanks in advance.
Regards,
Tobi
You can disable the print option in the print preview as follows:
populater the ssfcompop with X as shown below
ssfcompop-tdnoprint = 'X'.
ssfcompop-tdnoarch = 'X'.
Pass this component in the output options of the smartform as eg!!!
CALL FUNCTION p_w_fmnam(After gettting the form name)
EXPORTING
output_options = ssfcompop
p_kunnr = p_kunnr
TABLES
it_main = it_data
it_maincr = it_datacr
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE 'I' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.