Skip to Content
author's profile photo Former Member
Former Member

Re distribution list

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

Add comment
10|10000 characters needed characters exceeded

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 02, 2006 at 05:30 PM

    Hi Sun

    The email address is present in table ADR6.

    For this you will get an address number and person number

    Use the address number in USR21 to get the user.

    Award points if found useful.

    Regards

    Inder

    Add comment
    10|10000 characters needed characters exceeded

    • If you really need to get the email addresses under the distrubution list, then please use the following function module.

      
      report zrich_0001.
      
      
      
      data: idlient type table of sodlienti1 with header line.
      
      parameters: dli_name type soobjinfi1-obj_name.
      
      
      call function 'SO_DLI_READ_API1'
           exporting
                dli_name                   = dli_name
                shared_dli                 = 'X'
           tables
                dli_entries                = idlient
           exceptions
                dli_not_exist              = 1
                operation_no_authorization = 2
                parameter_error            = 3
                x_error                    = 4
                others                     = 5.
      
      
      loop at idlient.
        write:/ idlient-member_adr.
      endloop.
      
      

      Regards,

      Rich Heilman

  • Posted on Aug 02, 2006 at 05:22 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 02, 2006 at 05:28 PM

    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 comment
    10|10000 characters needed characters exceeded