‎2011 Jan 24 1:52 PM
Hi All,
The Function Module Open_Form is throughing MAIL_OPTIONS exception. the below is the code.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
APPLICATION = 'TX'
archive_index = toa_dara
archive_params = arc_params
device = lvf_device
dialog = ' '
form = tnapr-fonam
language = nast-spras
options = lvs_itcpo
mail_sender = lvs_sender
mail_recipient = lvs_recipient
MAIL_APPL_OBJECT = ' '
RAW_DATA_INTERFACE = '*'
IMPORTING
LANGUAGE =
NEW_ARCHIVE_PARAMS =
RESULT =
EXCEPTIONS
canceled = 1
device = 2
form = 3
options = 4
unclosed = 5
mail_options = 6
archive_error = 7
OTHERS = 8.
it is returning Sy-subrc = 6.
any Idea.
Regards,
Yadav
‎2011 Jan 24 2:06 PM
Hi Yadav,
if you are not using mail options,
comment out
mail_sender = lvs_sender
mail_recipient = lvs_recipient
I think that is the problem.
Thanks,
Vimal
‎2011 Jan 24 6:23 PM
Error(s) in structure lvs_itcpo? Note you have options = lvs_itcpo.
‎2011 Jan 25 11:22 AM