‎2024 Jul 18 4:26 PM
Hi Friends,
Please find the image below. How can I suppress the popup in SmartForm.
‎2024 Jul 19 5:56 AM - edited ‎2024 Jul 19 5:57 AM
Hi Madheswaran,
Please pass no_dialog = abap_true or 'X' so popup will not come for smartforms.
DATA(gs_control) = VALUE ssfctrlop( no_dialog = 'X' preview = 'X' ).
CALL FUNCTION gv_fm_name
EXPORTING
control_parameters = gs_control
output_options = gs_options
user_settings = space
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 and Regards,
Gaurav Phadnis
‎2024 Jul 19 8:49 AM
Asked and answered tens of times https://www.google.com/search?q=suppress+the+popup+in+SmartForm%20site:sap.com