Skip to Content
avatar image
Former Member

Open / close smartforms spool

Hi,

Could you advise me using FM SSF_OPEN / SSF_CLOSE instead of NO_OPEN/NO_CLOSE parameters of structure SSFCTRLOP. I would like to see it as an example.

I have some difficulties using FMs SSF_OPEN/SSF_CLOSE . How are they connected to the FM, calling the smartform. Is there any interface between the 3 FMs.

Thanks,

Svetlin

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Jun 16, 2005 at 02:36 PM

    Hello,

    Please refer the following site.

    print-control-in-smart-forms

    Regards,

    Elvis

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 16, 2005 at 02:59 PM

    Hi Svetlin,

    I'm sorry but I've no solution with your FM, but a tip with NO_OPEN/NO_CLOSE parameters of structure SSFCTRLOP.

    Take a look at the following piece of code, it works fine in all cases :

    
    describe table t_list_all lines w_lines.
    
      loop at t_list_all.
    
        st_ssfctrlop-no_open  = 'X'.
        st_ssfctrlop-no_close = 'X'.
    
        at first.
          st_ssfctrlop-no_open  = ' '. '' overwrite values
          st_ssfctrlop-no_close = 'X'.
        endat.
    
        at last.
          st_ssfctrlop-no_open  = 'X'. '' overwrite values
          st_ssfctrlop-no_close = ' '.
        endat.
    
        if w_lines eq 1.
          st_ssfctrlop-no_open  = ' '. '' overwrite values
          st_ssfctrlop-no_close = ' '.
        endif.
    
    
        call function nom_fonction
            exporting
    *     ARCHIVE_INDEX              =
    *     ARCHIVE_INDEX_TAB          =
    *     ARCHIVE_PARAMETERS         =
          control_parameters         = st_ssfctrlop
    *     MAIL_APPL_OBJ              =
    *     MAIL_RECIPIENT             =
    *     MAIL_SENDER                =
          output_options             = st_ssfcompop
          user_settings              = ' '
    ...
    
    

    Hope it helps,

    Regards,

    Erwan.

    Message was edited by: Erwan LE BRUN

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 17, 2005 at 04:14 AM
    Add comment
    10|10000 characters needed characters exceeded