‎2008 Jan 31 12:24 PM
Hi,
IS there any program in SAP through which we can update the email id into table SOID.
regards,
kb
‎2008 Jan 31 12:26 PM
‎2008 Jan 31 12:28 PM
Please refer below sample code for ur reference.
List of Receivers (Shared Distribution List)
select objnam from soid into table tbl_dlist
where objnam in s_objnam and
where objnam = c_objnam and
dlitp = 'DLI'.
if sy-subrc eq 0.
loop at tbl_dlist.
reclist-receiver = tbl_dlist-objnam.
reclist-rec_type = 'C'.
append reclist.
endloop.
ELSE.
WRITE:/ 'No Valid Distribution List Found'.
endif.
‎2008 Jan 31 12:32 PM
‎2009 Jan 14 10:11 PM