关闭

Sending Emails and SAP Mail

339人阅读 评论(0) 收藏 举报

The ABAP code to send a sap mail is built around the FM SO_OBJECT_SEND which has the following pattern.

call function 'SO_OBJECT_SEND'

exporting

* EXTERN_ADDRESS = ' '

* FOLDER_ID = ' '

* FORWARDER = ' '

* OBJECT_FL_CHANGE = ' '

* OBJECT_HD_CHANGE = ' '

* OBJECT_ID = ' '

* OBJECT_TYPE = ' '

* OUTBOX_FLAG = ' '

* OWNER = ' '

* STORE_FLAG = ' '

* DELETE_FLAG = ' '

* SENDER = ' '

* CHECK_ALREADY_SENT = ' '

importing

object_id_new =

sent_to_all =

tables

* OBJCONT =

* OBJHEAD =

* OBJPARA =

* OBJPARB =

receivers =

* PACKING_LIST =

* ATT_CONT =

* ATT_HEAD =

* NOTE_TEXT =

exceptions

active_user_not_exist = 1

communication_failure = 2

component_not_available = 3

folder_not_exist = 4

folder_no_authorization = 5

forwarder_not_exist = 6

note_not_exist = 7

object_not_exist = 8

object_not_sent = 9

object_no_authorization = 10

object_type_not_exist = 11

operation_no_authorization = 12

owner_not_exist = 13

parameter_error = 14

substitute_not_active = 15

substitute_not_defined = 16

system_failure = 17

too_much_receivers = 18

user_not_exist = 19

x_error = 20

others = 21.

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:7800次
    • 积分:122
    • 等级:
    • 排名:千里之外
    • 原创:6篇
    • 转载:2篇
    • 译文:0篇
    • 评论:0条
    文章分类
    文章存档