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

diff between so_obiect_send & SO_DOCUMENT_SEND_API1

Former Member
0 Likes
637

can any one explain the diff between these two fuction modules used for sending the mail from sap to external

mail

so_obiect_send & SO_DOCUMENT_SEND_API1

5 REPLIES 5
Read only

Former Member
0 Likes
583

Hi,

SO_DOCUMENT_SEND_API1 is used for

SAPoffice: Send new document with attachments using RFC

but so_object_send is used for

Send in SAPoffice and Externally(no attachments)

Regards

vijay

Read only

0 Likes
583

<IGNORE>

Read only

0 Likes
583

thanks vijay

but my reqirement is to send the layout to sap mail

seperately and the layout to external mail seperately

so what are the prarameters should i use

Read only

0 Likes
583

Hi,

read the follow . you have to specify ADR_TYPE parameter of RECEIVERS table parameter

<b>o ADR_TYPE

Type of RECEIVER entry.

The following values are permitted:

- 'B' : SAP user name

- ' ' : SAPoffice name

- 'C' : Shared distribution list

- 'F' : Fax number

- 'U' : Internet address

- 'R ' : Remote SAP name

- 'X' : X.400 address

</b>

itab-receiver = 'TESTUSE'.
itab-express = 'X'.
itab-copy = ''.
itab-rec_type = 'B'. "SAP USERNAME
APPEND itab.

itab-receiver = 'abc@yahoo.com'.
itab-express = 'X'.
itab-copy = 'X'.
itab-rec_type = 'U'. "Internet address
APPEND itab.

Regards

vijay

Read only

0 Likes
583

*-popualate email ids

IT_RECLIST-RECEIVER = 'USER@YAHOO.com'.

IT_RECLIST-REC_TYPE = 'U'. "INTERNET ID

*-append receiver table

APPEND IT_RECLIST.

CLEAR IT_RECLIST.

*-popualate email ids

IT_RECLIST-RECEIVER = sy-uname.

IT_RECLIST-REC_TYPE = 'B'. "sap office mails

IT_RECLIST-EXPRESS = 'X' . " user will get a popup when ever he receives a mail.

*-append receiver table

APPEND IT_RECLIST.

CLEAR IT_RECLIST.

and other stuff will be the same like mail body,subject etc..

if you want to keep them in BCC column,instead of TO field, that also you can do. check the options available in IT_RECLIST.

Regards

srikanth