Mail distribution list as container element
Hi all
Could a mail distribution list be used as a container element? I cannot figure out how...
You shouldn't 'run out of points'. Have a look at the [Contributor Recognition Program FAQ|https://www.sdn.sap.com/irj/sdn/crphelp] under 'how do I award points' for an explanation of how it works.
Remember that points are not just a way of saying thanks, but also serve as an indication of which contributions were the most useful and which (if any) solved your problem.This helps people who may have the same problem in future and find your question.
It's also perfectly acceptable to change points if a better answer comes along - I have [done so myself|Where-used doesn't return all results for class interfaces;, but to avoid this I usually just assign them all when I close my question.
Cheers,
Mike
Similar Messages
-
Did apple solve the distribution list issue on lion
In Snow-Leo there was a very annoying problem on mail distribution-lists, if the people on the list had multiple email adresses.
More information here:
https://discussions.apple.com/thread/2398363?start=0&tstart=0
Does anybody know, whether this is solved with lion?
Regards
RobertOpen universal access in system preferences
click seeing
leave zoom off, but click options -
How to send mail to all the receipients in distribution list
Hi All,
As per my requirement I need to send error log in doc format.
I am using the help of following code suggested by someone in sdn.
Mehr Beispile unter BCS_EXAMPLE_* mit se38
Mehr Beispile unter BCS_TEST* mit se38
DATA: SEND_REQUEST TYPE REF TO CL_BCS.
DATA: SUBJECT TYPE SO_OBJ_DES.
DATA: ATT_TYPE TYPE SOODK-OBJTP.
DATA: IT_TEXT TYPE BCSY_TEXT.
DATA: WA_TEXT LIKE SOLI.
DATA: IT_BIN TYPE SOLIX_TAB.
DATA: WA_BIN TYPE SOLIX.
DATA: DOCUMENT TYPE REF TO CL_DOCUMENT_BCS.
DATA: SENDER TYPE REF TO CL_SAPUSER_BCS.
DATA: RECIPIENT TYPE REF TO IF_RECIPIENT_BCS.
DATA: BCS_EXCEPTION TYPE REF TO CX_BCS.
DATA: SENT_TO_ALL TYPE OS_BOOLEAN.
Bytes der Datei
DATA: IT_LENGHT TYPE SO_OBJ_LEN.
DATA: N10(10) TYPE N.
START-OF-SELECTION.
PERFORM MAIN.
PERFORM RSCONN01_EXECUTE.
END-OF-SELECTION.
FORM MAIN.
TRY.
Dokument erstellen (mit Anhang)
SEND_REQUEST = CL_BCS=>CREATE_PERSISTENT( ).
PERFORM HEAD_CONT.
PERFORM RAW_ATT.
Dokument (mit Anhang) setzen
CALL METHOD SEND_REQUEST->SET_DOCUMENT( DOCUMENT ).
Absender setzen
SENDER = CL_SAPUSER_BCS=>CREATE( SY-UNAME ).
CALL METHOD SEND_REQUEST->SET_SENDER
EXPORTING
I_SENDER = SENDER.
Empfänger setzen
RECIPIENT = CL_CAM_ADDRESS_BCS=>CREATE_INTERNET_ADDRESS(
'email@address' ).
CALL METHOD SEND_REQUEST->ADD_RECIPIENT
EXPORTING
I_RECIPIENT = RECIPIENT
I_EXPRESS = 'X'.
Dokument senden
CALL METHOD SEND_REQUEST->SEND(
EXPORTING
I_WITH_ERROR_SCREEN = 'X'
RECEIVING
RESULT = SENT_TO_ALL ).
COMMIT WORK.
Sende-Error abfangen
CATCH CX_BCS INTO BCS_EXCEPTION.
WRITE: 'Fehler aufgetreten.'(001).
WRITE: 'Fehlertyp:'(002), BCS_EXCEPTION->ERROR_TYPE.
EXIT.
ENDTRY.
ENDFORM. "main
FORM HEAD_CONT.
CLEAR: IT_TEXT[], WA_TEXT, SUBJECT.
ATT_TYPE = 'RAW'.
SUBJECT = 'Betreffzeile'.
WA_TEXT = 'First Line'. APPEND WA_TEXT TO IT_TEXT.
WA_TEXT = 'Second Line'. APPEND WA_TEXT TO IT_TEXT.
DESCRIBE TABLE IT_TEXT LINES N10.
N10 = ( N10 - 1 ) * 255 + STRLEN( WA_TEXT ).
IT_LENGHT = N10.
TRY.
DOCUMENT = CL_DOCUMENT_BCS=>CREATE_DOCUMENT(
I_TYPE = ATT_TYPE
I_TEXT = IT_TEXT
I_LENGTH = IT_LENGHT
I_SUBJECT = SUBJECT ).
Error abfangen
CATCH CX_BCS INTO BCS_EXCEPTION.
WRITE: 'Fehler aufgetreten.'(001).
WRITE: 'Fehlertyp:'(002), BCS_EXCEPTION->ERROR_TYPE.
EXIT.
ENDTRY.
ENDFORM. "HEAD_CONT
*& Form RAW_ATT
text
FORM RAW_ATT.
CLEAR: IT_TEXT[], WA_TEXT, SUBJECT.
ATT_TYPE = 'RAW'.
SUBJECT = 'Text Anhang'.
WA_TEXT = 'First Line in ATT'. APPEND WA_TEXT TO IT_TEXT.
WA_TEXT = 'Second Line in ATT'. APPEND WA_TEXT TO IT_TEXT.
Lenght of Att_Text
DESCRIBE TABLE IT_TEXT LINES N10.
N10 = ( N10 - 1 ) * 255 + STRLEN( WA_TEXT ).
IT_LENGHT = N10.
TRY.
CALL METHOD DOCUMENT->ADD_ATTACHMENT
EXPORTING
I_ATTACHMENT_TYPE = ATT_TYPE
I_ATT_CONTENT_TEXT = IT_TEXT
I_ATTACHMENT_SIZE = IT_LENGHT
I_ATTACHMENT_SUBJECT = SUBJECT.
Error abfangen
CATCH CX_BCS INTO BCS_EXCEPTION.
WRITE: 'Fehler aufgetreten.'(001).
WRITE: 'Fehlertyp:'(002), BCS_EXCEPTION->ERROR_TYPE.
EXIT.
ENDTRY.
ENDFORM. "ATT_RAW
But From this method I am not able to send the mail to the distribution list created.
Please suggest How this can be done.
I dont want to changHi Smriti,
You can make changes like shown below. The changes are shown in the code format for your easy reference. You can remove the code in bold. This will work.
Mehr Beispile unter BCS_EXAMPLE_* mit se38
Mehr Beispile unter BCS_TEST* mit se38
DATA: SEND_REQUEST TYPE REF TO CL_BCS.
DATA: SUBJECT TYPE SO_OBJ_DES.
DATA: ATT_TYPE TYPE SOODK-OBJTP.
DATA: IT_TEXT TYPE BCSY_TEXT.
DATA: WA_TEXT LIKE SOLI.
DATA: IT_BIN TYPE SOLIX_TAB.
DATA: WA_BIN TYPE SOLIX.
DATA: DOCUMENT TYPE REF TO CL_DOCUMENT_BCS.
DATA: SENDER TYPE REF TO CL_SAPUSER_BCS.
DATA: RECIPIENT TYPE REF TO IF_RECIPIENT_BCS.
DATA: BCS_EXCEPTION TYPE REF TO CX_BCS.
DATA: SENT_TO_ALL TYPE OS_BOOLEAN.
Bytes der Datei
DATA: IT_LENGHT TYPE SO_OBJ_LEN.
DATA: N10(10) TYPE N.
data: it_recipients type standard table of ad_smtpadr.
data: w_recipients type ad_smtpadr.
START-OF-SELECTION.
PERFORM MAIN.
PERFORM RSCONN01_EXECUTE.
END-OF-SELECTION.
FORM MAIN.
TRY.
Dokument erstellen (mit Anhang)
SEND_REQUEST = CL_BCS=>CREATE_PERSISTENT( ).
PERFORM HEAD_CONT.
PERFORM RAW_ATT.
Dokument (mit Anhang) setzen
CALL METHOD SEND_REQUEST->SET_DOCUMENT( DOCUMENT ).
Absender setzen
SENDER = CL_SAPUSER_BCS=>CREATE( SY-UNAME ).
CALL METHOD SEND_REQUEST->SET_SENDER
EXPORTING
I_SENDER = SENDER.
Empfänger setzen
LOOP AT it_recipients into w_recipients.
RECIPIENT = CL_CAM_ADDRESS_BCS=>CREATE_INTERNET_ADDRESS(w_recipients).
CALL METHOD SEND_REQUEST->ADD_RECIPIENT
EXPORTING
I_RECIPIENT = RECIPIENT
I_EXPRESS = 'X'.
ENDLOOP.
RECIPIENT = CL_CAM_ADDRESS_BCS=>CREATE_INTERNET_ADDRESS('email@address' ).
CALL METHOD SEND_REQUEST->ADD_RECIPIENT
EXPORTING
I_RECIPIENT = RECIPIENT
I_EXPRESS = 'X'.
Dokument senden
CALL METHOD SEND_REQUEST->SEND(
EXPORTING
I_WITH_ERROR_SCREEN = 'X'
RECEIVING
RESULT = SENT_TO_ALL ).
COMMIT WORK.
Sende-Error abfangen
CATCH CX_BCS INTO BCS_EXCEPTION.
WRITE: 'Fehler aufgetreten.'(001).
WRITE: 'Fehlertyp:'(002), BCS_EXCEPTION->ERROR_TYPE.
EXIT.
ENDTRY.
ENDFORM. "main
FORM HEAD_CONT.
CLEAR: IT_TEXT[], WA_TEXT, SUBJECT.
ATT_TYPE = 'RAW'.
SUBJECT = 'Betreffzeile'.
WA_TEXT = 'First Line'. APPEND WA_TEXT TO IT_TEXT.
WA_TEXT = 'Second Line'. APPEND WA_TEXT TO IT_TEXT.
DESCRIBE TABLE IT_TEXT LINES N10.
N10 = ( N10 - 1 ) * 255 + STRLEN( WA_TEXT ).
IT_LENGHT = N10.
TRY.
DOCUMENT = CL_DOCUMENT_BCS=>CREATE_DOCUMENT(
I_TYPE = ATT_TYPE
I_TEXT = IT_TEXT
I_LENGTH = IT_LENGHT
I_SUBJECT = SUBJECT ).
Error abfangen
CATCH CX_BCS INTO BCS_EXCEPTION.
WRITE: 'Fehler aufgetreten.'(001).
WRITE: 'Fehlertyp:'(002), BCS_EXCEPTION->ERROR_TYPE.
EXIT.
ENDTRY.
ENDFORM. "HEAD_CONT
*& Form RAW_ATT
text
FORM RAW_ATT.
CLEAR: IT_TEXT[], WA_TEXT, SUBJECT.
ATT_TYPE = 'RAW'.
SUBJECT = 'Text Anhang'.
WA_TEXT = 'First Line in ATT'. APPEND WA_TEXT TO IT_TEXT.
WA_TEXT = 'Second Line in ATT'. APPEND WA_TEXT TO IT_TEXT.
Lenght of Att_Text
DESCRIBE TABLE IT_TEXT LINES N10.
N10 = ( N10 - 1 ) * 255 + STRLEN( WA_TEXT ).
IT_LENGHT = N10.
TRY.
CALL METHOD DOCUMENT->ADD_ATTACHMENT
EXPORTING
I_ATTACHMENT_TYPE = ATT_TYPE
I_ATT_CONTENT_TEXT = IT_TEXT
I_ATTACHMENT_SIZE = IT_LENGHT
I_ATTACHMENT_SUBJECT = SUBJECT.
Error abfangen
CATCH CX_BCS INTO BCS_EXCEPTION.
WRITE: 'Fehler aufgetreten.'(001).
WRITE: 'Fehlertyp:'(002), BCS_EXCEPTION->ERROR_TYPE.
EXIT.
ENDTRY.
ENDFORM. "ATT_RAW
where the internal table "it_recipients" contains all the e-mail addresses. -
How to create distribution list in workflow? for sending mail or work-item
Hi,
How to create distribution list in workflow? for sending mail or work-item to multiple users.
Regards,
SurjithHi Surjith,
A.Working with Distribution Lists Creating a Distribution List.
1 Businees Workplace->shared folder - create new subfolder name = WF_distributor
2.Then click on the distribution list in Businees Workplace.
say create Name = WF_Vliste
folder Name = WF_distributor
3.distribution list content tab
Enter Recipient (SAP User ID)
B.Wrkflow Builder
Find out the dialig step in which u want to use distribution list
Use workflow Rule 30000012 (SWX_READ_DLI).
Maintain the binding from workflow container to rule container.
Just pass the name of the distribution list from WF to Rule container.
Regards
Sagar S -
Sending mail to distribution list
HI guys,
Please look at the coding below..
l_wa_recieve-receiver = '[email protected]'. " this is the distribution list id "with number of mail ids inside it
l_wa_recieve-rec_type = 'C'. "shared dis list
APPEND l_wa_recieve TO l_it_recieve.
CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
EXPORTING
document_data = "ERROR'
document_type = 'DLI'
put_in_outbox = c_x
commit_work = c_x
TABLES
object_content = l_it_content "this table contains the body of email
receivers = l_it_recieve " this is above
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
Can you just tell me whether it works fine.. And if it is correct how much time will it take to get email in my respective email address..
I have run this FM by just giving my mail id (not distribution list just giving doctype = 'RAW instead of DLI)
The FM ran sucessfully without any errors , But I didnot receive any mail in my mail Inbox..
Can you please help me how to sort it out getting mail in less time..
Points will be rewarded
regards,
nazeerHI prabhu,
there is no numbmer in the waitinh list but number 5 is in the error column in SCOT..
Can you please tell me what could be the reason..
regards,
nazeer -
Dynamic Mail Messenger - mail to distribution list
Hi Mentors,
The requirement is to generate an automatic mail when an employee updates his marital status or children status in IT0002.
The mail has to go to the master data administrator and one of the persons in the Accounts team to initiate insurance coverage.
M0001 is what will be used. The standard M0001 feature already has RECV1 (master data administrator) inculded. I need to add DISTR ( the distribution list containing the accounts personnel mail id).
How can I do this> Can you please guide ?
Thankshi VJ,
hope you are doing good.
Try using TCODE : SO04 -- > Distribution Lists --> Shared Distribution and then utilitze Attributes and Content tabs .
hope it helps you.
Regards
Rohit.S -
Multiple (mail) destinations for one report using distribution list
I would like to email a report to multiple destinations using a distribution list.
Environment:
Oracle reports: 10.1.2.3
OS: Windows 7
Database:Oracle 11g(11.2.0.2)
This is the content of the distribution file:
<destinations>
<foreach>
<mail id="a1" from="[email protected]" to="&<mail_to>" subject="Invoice">
<body srcType="text" format="ascii">Invoice attached
</body>
<attach srcType="report" name="invoice.pdf" format="pdf" instance="this">
<include src="report"/>
</attach>
</mail>
<mail id="a2" from="[email protected]" to="[email protected]" subject="Invoice sent to &<mail_to> ">
<body srcType="text" format="ascii">Attached invoice was sent to the customer
</body>
<attach srcType="report" name="invoice.pdf" format="pdf" instance="this">
<include src="report"/>
</attach>
</mail>
</foreach>
</destinations>
When I run this using the following URL:
http://testserver.our_servers.local:7778/reports/rwservlet?server=rep_dev&report=VKR0030.rdf&userid=myuser/test123@ORCL&distribute=yes&destination=VKR0030.xml&onfailure=rollback&onsuccess=commit
I get the following error: REP-34304: Distribution failed to complete, please review the distribution lists
When I remove one mail element, it works fine.
One mail tag with multiple email addresses in the "to" parameter isn't possible because I have to use 2 different mail templates(subject and body differ).
According to the documentation(https://docs.oracle.com/html/B14048_02/pbr_dist.htm#i1005830), it should be possible to use multiple mail elements.
Required/Optional
Optional. You can have as many mail elements as you require.
What am I doing wrong?Found the solution.
When putting each mail element in a foreach, it works. -
Email distribution list in mail adaptor
Hi,
I am using mail adaptor / mail map to send email notificaiton, it works fine for single email id or multiple but not working for email distribution list which starts with "#". Is there any configuration required?
Thanks,
MenagaHi Menaga,
Distrubutor mail id is like simillar to normal mail id, but internally it contains the number of mail ids.
Ask your network team to create the distributed mail id (in this mail id how many mail ids you want you can put that mail ids).
and configure that distributed mail id like you configure in the normal mail id.
Regards
Ramesh. -
Prior to upgrading to Yosemite, mail allowed you to select all from a contact group and paste the e-mail address of the group to an e-mail send field. This "distribution list" feature does not seem to work in this new system. Any suggestions?
You can see a detailed comparison between MobileMe and iCloud, plus general information and some links to Apple Help pages, here:
http://rfwilmut.net/icloud
Question 2 would be best asked as an individual question in the hope of attracting the attention of someone who is in the same situation and can give you a practical answer: question 3 would best be asked in the iPhone forum. -
Hi,
I have created many Calendars in my Sharepoint site like Meeting Calendar, Downtime Calendar etc. I will be creating some events in these calendars every week. My requirement is to collect all the events available in the calendar for that week
and send a weekly mail with all this events to the distribution list
Is this requirement can be done using the Sharepoint designer workflow or does it require any code related activities to accomplish this? If so can you please provide me the Steps by step process to complete this and can you also share
the code in case if you have it
Thanks in AdvanceHi,
Try with worklfow timer control and send mail to weekly.(Performance good)
http://infomoss.blogspot.in/search/label/Workflow2010
one more option try with Timerjob..(if no way use it)
http://infomoss.blogspot.in/2013/05/companymicrosoft-todo-update-copyright.html
http://infomoss.blogspot.in/2013/01/webclient-sharepoint-2010-read-image-uri.html
Thanks
Jaison A
http://infomoss.blogspot.in -
Send mail to distribution list using UTL_MAIL.SEND
Oracle 10.2.0.4.0
Does UTL_MAIL.SEND support sending mail to a distribution list?. The doc says, the recipient mail-id should be separated by a comma. The distribution list has mail-id separated by a comma. I executed a test case sending a mail to a distribution list, I did not receive any error or exception. I did not receive the test mail as well!!.
Has anyone used the UTL_MAIL.SEND to send mails to a distribution list?.
ThanksHas anyone used the UTL_MAIL.SEND to send mails to a distribution list?.Oracle RDBMS does not know or care is email address is single recipient or list.
It sends message to name provided.
It is up to MTA to deliver any message it gets.
Are you 100% certain that message got to MTA & was successfully processed by it? -
How to send mail as a distribution list
I have created a number of distribution lists under the groups tab just to the right of mailboxes in the recipients section of the exchange admin centre in microsoft exchange 2013.
i have set permission on these mailboxes for send as to be permitted but when trying to send mail from outlook 2013, outlook web app or from ios i am unable to get the distribution lists email address to appear in the from list.
could someone please explain how i can resolve this for each of these 3 platforms?Hi,
Great advice from Veerapandian.
Based on my knowledge, Distribution List is based on Outlook, Distribution Group is based on Exchange server. You can grand send as permission to DG.
Send as permission is a permission based on AD, please make sure the DG can be resolved from GAL.
Please run following command to whether set “Hide this group from address lists” attribution, if so please remove this setting.
Get-DistributionGroup | FL alias,*HiddenFromAddressListsEnabled*
More details about Configure Distribution Group Properties, please refer to:
http://technet.microsoft.com/en-us/library/bb124513(v=exchg.150).aspx
Best Regards,
Allen Wang -
How to send mail to distribution list and another table list
Hi
I am facing a problem. I need to send mail to the user who is creating the SO/PO and a distribution list.
Problem is only one thing can be used at the same time. ie either Distribution list or list from internal table.
How can we use both in 1 function module. Like it should call the internal table and then the distribution list for sending the mail .
Regards,
VarunHi,
Refer to following link,
http://www.sap-img.com/abap/make-e-mail-sender-of-po-the-po-creators-name.htm
http://www.sap-img.com/fu016.htm
Reward pts. if helpfull.
Regards,
Dhan -
How to send mail to distribution list ?
Hi Everybody,
Pls let me know how to send mail to distributed list???
Thanks & Regards,
raju<b></b>Hi ,
Use Function Module 'SO_NEW_DOCUMENT_SEND_API1'.
U need to pass Distribution list to Receiver and 'C' to receiver type refer the below code for clarification.
Determine the Distribution List.
gv_rec_list-receiver = gv_distribution.
gv_rec_list-rec_type = 'C'.
APPEND gv_rec_list.
Check if Distribution List is deleted.
SELECT SINGLE objnam
FROM soid
INTO lc_objnam
WHERE objnam = gv_rec_list AND
dlitp = lc_dli.
IF sy-subrc = 0.
CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
EXPORTING
document_data = gv_doc_data
document_type = 'RAW'
put_in_outbox = 'X'
TABLES
object_content = gv_obj_cont
receivers = gv_rec_list
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4.
CASE sy-subrc.
WHEN '1'.
message i001(as) with 'TOO MANY RECEIVERS'.
EXIT.
WHEN '2'.
message i001(as) with 'DOCUMENT NOT SENT'.
EXIT.
WHEN '3'.
message i001(as) with 'DOCUMENT TYPE DOES NOT EXIST'.
EXIT.
WHEN '4'.
message i001(as) with 'OPERATION NO AUTHORIZATION'.
EXIT.
ENDCASE.
Hope this might have helped you.
Thanks,
Prashanth -
How do I send e-mail to a distribution list using LabWindows/CVI?
I need to be able to send e-mail to a user-defined distribution list using LabWindows/CVI? Has anyone done this? Any ideas where I could look?
I commented on something similar to this awhile back. My issue was that I had the base version and didn't have the Internet classes. So this external app worked like a charm
It has a lot of command-line inputer options to use as well.
http://forums.ni.com/t5/LabWindows-CVI/Need-Help-for-Sending-Email-with-LabWindows-8-5-or-9/m-p/1095...
Maybe you are looking for
-
Hi everybody, I've windows/2000 pro installed on my m/c. The client version of it. I'm using this m/c to surf the net and do some MS Acesses development and VB development. Now, I'm trying to do something with Oracle 8i Lite. I've received oracle 8i
-
Unable to create a connection for Discussion Forums.
Hi, I have my WC_Spaces and WC_Colloboration Servers running actively. When I try to create a new connection by right-clicking Connections in Applications Resources and choose Discussion Forums and too I entered the URL and admin fields, I find its u
-
How to use XHeaderName1 in SOAP header
I have a scenario in which im passing the target URL of a webservice dynamically in my mapping udf. I have to pass the URL to the TServerLocation parameter in SOAP header. But the error i get is that the URL is too long for TServerLocation. So i have
-
How do I found out what generation is my iPod?
where can I found what version is my iPod?
-
Currency fields in Smartforms.
Hi All, This is the problem i encountered: 1) I create two internal tables of type EKKO and EKPO giving the names IH_EKKO and II_EKPO where EKKO and EKPO are the header and the item table for the purchase order respectively. 2) Then i use the FM SSF_