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

Receiving Email Read Acknowledgment

eyal_alsheikh
Active Participant
0 Likes
1,035

Hi,

I am using FM: SO_NEW_DOCUMENT_ATT_SEND_API1 to send email outside from SAP, to external internet address.

Is there a way to set the FM or the user SAPoffice profile such that when the external receiver reads the mail the sender will get a feedback email to its Inbox that acknowledge that.

I tried to set flags in the FM receiver table:

notif_read = 'X'

notif_ndel = 'X'

notif_del = 'X'

but it was ineffectually.

Thanks for your help,

Eyal.

1 ACCEPTED SOLUTION
Read only

athavanraja
Active Contributor
0 Likes
736

may be you want to check this weblog by Thomas Jung

<a href="/people/thomas.jung3/blog/2004/09/09/receiving-e-mail-and-processing-it-with-abap--version-610-and-higher E-Mail and processing it with ABAP - Version 610 and Higher</a>

Regards

Raja

4 REPLIES 4
Read only

athavanraja
Active Contributor
0 Likes
737

may be you want to check this weblog by Thomas Jung

<a href="/people/thomas.jung3/blog/2004/09/09/receiving-e-mail-and-processing-it-with-abap--version-610-and-higher E-Mail and processing it with ABAP - Version 610 and Higher</a>

Regards

Raja

Read only

0 Likes
736

Hi Raja,

That's a nice link yaar.

Regards,

Raja Sekhar.

Read only

0 Likes
736

Hi,

In SCOT transaction,

Check

Settings->Confiramtion of receipt->Choose the radio button [ SAP expects receive confirmations for Internet mail].

In your program,set the fields you mentioned as 'X'.

Hope this helps.

Read only

0 Likes
736

Hello All. I've tried this, checking the setting in the SCOT, and the mentioned fields as 'X'.

I've saw the SO_NEW_DOCUMENT_ATT_SEND_API1 documentation also, an should work, but it doesn't.

What could be wrong?

And have another problem, trying to send a mail trhugh SApscript, usign OPEN_FORM funtiong.

I'passing following parameters:

  • Create Recipient

swc_create_object lo_recipient 'RECIPIENT' space.

swc_set_element lt_container 'AddressString' lv_addrsmtp.

swc_set_element lt_container 'TypeID' 'U'.

swc_set_element lt_container 'Deliver' 'X'.

swc_set_element lt_container 'Read' 'X'.

swc_call_method lo_recipient 'CreateAddress' lt_container.

swc_object_to_persistent lo_recipient ls_persistent_recipient.

  • Create Sender

swc_create_object lo_sender 'RECIPIENT' space.

swc_set_element lt_container 'AddressString' l_nombre.

swc_set_element lt_container 'TypeID' 'U'.

swc_set_element lt_container 'Deliver' 'X'.

swc_set_element lt_container 'Read' 'X'.

swc_call_method lo_sender 'CreateAddress' lt_container.

swc_object_to_persistent lo_sender ls_persistent_sender.

MOVE-CORRESPONDING ls_persistent_sender TO v_sender.

MOVE-CORRESPONDING ls_persistent_recipient TO v_recipient.

THEN, calling the Open form function:

CALL FUNCTION 'OPEN_FORM'

EXPORTING

archive_index = h_archive_index

archive_params = h_archive_params

device = htddevice

dialog = hdialog

form = ' '

language = save_langu

options = itcpo

mail_sender = v_sender

mail_recipient = v_recipient

IMPORTING

result = itcpp

EXCEPTIONS

canceled = 1

device = 2

form = 3

options = 4

unclosed = 5

mail_options = 6

archive_error = 7

OTHERS = 8.

And the mail doesn't ask for a read receipt.

any suggestions?

Thanks