07-07-2020 10:32 PM
hello i am sap abap noob 🙂
i made some function.. this function related sending emails..
i want to send my email in automatic
this is my code
---------------------------------------------------------------------------------------
call function 'SO_DYNP_OBJECT_SEND'
exporting
object_hd_change = GS_header
object_fl_change = fl_dat "sh0811994.6C
object_type = 'RAW' "raw
raw_editor = 'X' "on
owner = GV_SUBSTITUENT "YL090895
ip_enable_sec_flags = 'X' "TR hgbsec
outbox_flag = 'X'
* importing
* ok_code = ''
* return_code = '0'
tables
objcont = LT_title_in_CONTENT
* objects = objects
* objhead = objhead
* objpara = objpara
* objparb = objparb
rec_tab = LT_RECEIVER_CONTENT
* return_on_fcode = return_on_fcode
exceptions
object_not_sent = 15
owner_not_exist = 22
parameter_error = 23.
---------------------------------------------------------------------------------------
currently when i execute my code.. using f8 keyword.. pop up like this upper screen..
but i want to send in automatic my email..i mean .. i want to show even if i push button in red box ( this key's toggle is shift+f8 )so what can i do for this??actually i searched email stutus in soos table.. and some sending-option..but i can't resolve this problem...
my english is very poor..
sorry
anyone help thank you
07-08-2020 4:23 AM
SO_DYNP_OBJECT_SEND is not released by SAP, don't use it.
An officially supported way is to create your own dialog and use CL_BCS to send the email (and it's easy to choose to send with option "immediately").
PS: note that emails not sent immediately can be sent manually via SOST, or it can be done by calling the report RSCONN01.
07-09-2020 4:10 AM