Skip to Content
avatar image
Former Member

seeing the preview through reports

Hi All,

I want to dipslay the output through print preview.

i am using reports in which i have a radiobutton for print preview, when i click on this and execute i should get the print preview of smartforms.

how do i achieve this?

please help.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Mar 10, 2009 at 10:47 AM

    Hi Poonam,

    create the radiobutton as below in ur selection screen:

    parameters: r1 as radiobutton group rb1 user command ucom.

    start-of-selection.

    if r1 eq 'X'.

    call function 'ssf_function_module_name'.

    ......

    ......

    endfunction.

    from the above function module, will get function module name (generated by smartform).

    store that name in one variable say var_fm_name.

    call function var_fm_name.

    .....

    .....

    endfunction.

    endif.

    So whenever that radiobutton is checked , you will get smartform preview.

    Hope it helps!!!

    Add comment
    10|10000 characters needed characters exceeded