Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Open_form Function Module MAIL_OPTIONS Exception Issue

Former Member
0 Likes
1,936

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

3 REPLIES 3
Read only

vimalv
Active Participant
0 Likes
1,032

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

Read only

Former Member
0 Likes
1,032

Error(s) in structure lvs_itcpo? Note you have options = lvs_itcpo.

Read only

Former Member
0 Likes
1,032

Answered