04-22-2005 10:59 AM
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
06-16-2005 3:36 PM
06-16-2005 3: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
06-17-2005 5:14 AM