Skip to Content
author's profile photo Former Member
Former Member

Removing the POP up from smartform

Hi all,

I want to know is there any function module or something like that which will help me remove the pop up window before the print preview.

Is there anything in the function module 'SSF_FUNCTION_MODULE_NAME' which i can use to suppreess the pop up window.

Thanks in advance,

Regards,

Nikhil Moghe

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 11, 2007 at 07:15 AM

    just check the options of that FM ?

    noprintpreview = 'X'.

    Regards

    Peram

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 11, 2007 at 08:50 AM

    Try this.

    DATA : control TYPE ssfctrlop.

    DATA : output_options TYPE ssfcompop.

    output_options-tddest = 'QTG1'.

    control-no_dialog = 'X'.

    control-preview = 'X'.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 11, 2007 at 08:56 AM

    Hi,

    It 's not in the FM 'SSF_FUNCTION_MODULE_NAME' but in the FM of the smartform.

    you must pass a structure type ssfctrlop with the field no_dialog set to 'X'.

    check this :

    • Module name searching

    DATA: ssf_name TYPE tdsfname VALUE 'ZSMARTFORM_TEST',

    func_modname TYPE rs38l_fnam.

    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

    EXPORTING

    formname = ssf_name

    IMPORTING

    fm_name = func_modname

    EXCEPTIONS

    no_form = 1

    no_function_module = 2

    OTHERS = 3.

    • call smarform

    DATA: s_ctrl TYPE ssfctrlop.

    s_comp TYPE ssfcompop,

    s_ctrl-no_dialog = 'X'.

    CALL FUNCTION func_modname

    EXPORTING

    control_parameters = s_ctrl

    output_options = s_comp

    user_settings = ''

    TABLES

    EXCEPTIONS

    formatting_error = 1

    internal_error = 2

    send_error = 3

    user_canceled = 4.

    Regards,

    do reward if usefull

    bertrand

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.