hi to all,
In transaction-SO23 i created distribution list. in recipient column i entered the E-Mail address, i selected the Recipient Type via internet.The name of distribution list is saved in table SOOD.
I want to know in which table the E-mail address stored. This requirement is for,if the user gives the Distribution name in the selection screen then program has to send E-Mails to the listed addresses in the distribution list.
Thanx
Yon don't need to know every single mail in distribution list. In table receivers of function module SO_NEW_DOCUMENT_SEND_API1, you have column REC_TYPE wich allows values:
P Private distribution list
C Shared distribution list
O SAPoffice user
B SAP user
U Internet address
X X.400 address
R SAP user in another SAP System
A External address
F Fax number
D X.500 Address
L Telex number
H Organizational unit/position
J SAP object
G Organization object/ID
Use 'C'.
Regards.
Hi,
No need to find the E-mail ID in the distribution list , if you pass receiver, rec_type parameters to the structure somlreci1 in FM : SO_NEW_DOCUMENT_ATT_SEND_API1 , it automatically send mails to all E-mails under distribution list.
Ex:
somlreci1-receiver = 'ZSHDIS'.<---- name of the shared distribution list.
somlreci1-rec_type = 'C'.
Regards
Appana
Add a comment