Add and send to group in mail
I want to send an email to a group in my address book so how do I add the group to the email and send it?
Hi Victoria,
You can't do this easily on the device, without an app to help you.
There are quite a number of group email apps available on the App Store. Most will only let you send email from inside their own app, but MailShot Pro creates special contacts that you can use from the Mail app and tens of thousands of compatible apps, building group email right into those apps.
MailShot can import entire groups from your address book with a few clicks, and turn them into a special contact.
You can find MailShot Pro at https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?ls=1&m t=8. A free app is also available, which can only create a few smaller groups, but can be upgraded.
Peter
Soluble Apps
Disclosure: I am the developer of MailShot Pro and may benefit from its sale.
Similar Messages
-
I just downloaded Maverick last week, and ALL of my contact groups have duplicated. When I use one to send a group e-mail, everything is doubled in the address bar. Any suggestions? Very frustrating.
Hello Joannah,
Thank you for details of the issue you are experiencing with duplicates in Contacts after upgrading to OS X Mavericks. I would be frustrated by this too.
If you have enabled iCloud Contacts, I recommend following the steps in the article below:
iCloud: Resolving duplicate Contacts after setting up iCloud Contacts
http://support.apple.com/kb/TS4147
If you’re not using iCloud, I recommend this article instead:
Contacts (Mavericks): Combine duplicate contacts
http://support.apple.com/kb/PH15079
Thank you for using Apple Support Communities.
Best,
Sheila M. -
Im tying to unlock an Iphone 4.
the celular company make it by its system, and send me an E mail with the instructions to finsh the process by myself, throug itunes.
I did every step, and at the end appers a message telling that my Iphone is unlocked.
but it does not work with other celular company sim card.
It only works with the original sim Card company.
In the Iphone appears a message teeling that has no service with another company's sim CArd.
I don't know what to do.
I've been doing this, with different Sim cards.
sometimes appears a message informing that the SIM card is locked with a PIN. That i must instal the last itunes version and connect it again.
but every Sim card I have are with PIN.
If you can help me I;ll be very glad.
Thank you very Much.
nicanorfrommonChrisj4203, thank you for your kind answer.
I have done a lot of restores to the Iphone, and resets also.
I;ve done holding both buttons as you sugested, but there is no signal appearing.
I am in Uruguay, South America and the original company is Movistar ( Telefonica) and the new sim card is from ANTEL ( the officail and biggest company in my country).
I don;t knoe what todo.
I have been trying for more than one mont.
I have gone several times to both companies. Aldo two times to Apple uruguay, and nobody can help me. -
I would like to purchase an i-book as a gift, can I buy and send to her e-mail to download ?
It doesn't appear you can gift a book. Your best option would be gift an iTunes gift card, which they could redeem for the book.
-
Add and subtract summary group totals
Looking for a way to add and subtract summary group totals in a report.
I have my data grouped by account type then summarized. Example
have my data grouped by account type then summarized. Example
acct. type amount
51 $100
51 50
Summary $150
61 $100
61 100
Summary $200
70 $50
70 50
Summary $100
Formula I want to make this formula 51+61-70 = GP
I am trying to understand how to put the acct. type(51,61) in the formula and insert in the report.
Thanks for the help.
Raald232 -
When I try and send a link from mail it says I must re-install my OS in my 2012 Mac Air
when I try and send a link from mail it says I must re-install my OS in my 2012 Mac Air
Typing in additional text seems to get the job done. This seems to be a feature of the latest IOS update, I have never had the problem before the last update.
I use the box with the arrow just to the left of the URL block at the top of the page to send myself links to pages of interest. Adding the extra text seems like a pointless step, but it does work.
Thanks. -
How do I create, and send a group email on my iPhone?
How do I create, and send a group email from my iPhone 4?
How to send group email without additional APP
Just spent an hour on ichat. Long and short....can't send group email. The group name appears in the TO: line, but if you click on the group name, only the first email address is blue..the rest are black and will not get the email. We tired using the CC and BC lines...same result.
However here is one solution:
I sent one email with each of the group (we are only 9 ) in the TO: line. I included my primary email. When it came to the iphone, i moved it to one of the subfolders. (Each account you may have has a list of the inbox at the top and Account at the bottom. ... that is where you can access the subfolder)
I moved the email with all names to that subfolder. I can then, open it ...do a relpy to all and just change the message and subject line. It is cumbersome, but it does work. I really think Apple, a company committed to ease of use, needs to review this flaw. I suspect it may be a bandwidth economy .... and i feel the pain of the providers...but you did create the beast. -
Read spool data and send it through e-mail as .txt or .xls attachment
Hi All,
I have to read the spool data and send it via e-mail as .txt or .xls attachment. I have used FMs LIST_TO_ASCI, RSPO_RETURN_SPOOLJOB and SO_SOLITAB_TO_SOLIXTAB. I am using FM SO_DOCUMENT_SEND_API1 to send e-mail.
My problem is, the text file being sent is not showing entire data. It's getting truncated after 255 characters. Is this a standard? If yes, then is there any work around for it?
Alternatively, I can send the file as excel attachment. How can this be done?
Thanks,
AshwiniYou will have to convert string to Xstring and then to binary to acheive this.
Check this wiki to send a mail attachment with more than 255 characters.
[https://wiki.sdn.sap.com/wiki/display/Snippets/Tosendamailattachmentwithmorethan255charactersinaline]
Vikranth -
Since downloading OS10.91 Maverick I can no longer send group e-mail messages without others in the group reading each others e-mail addresses. This is dispite the fact that I have ensured that the relevant box under PREFERENCES is not ticked.
Can anyone advise please
Many thanks
LeslieThis is a bug that many have posted about. The only workaround at this point is to add your group to the Bcc field, where individual names and addresses will not appear to recipients.
-
Converting alv list to excel and send to sapoffice or mail in batch mode
Hi every one.
I have the alv list and then I can send to sapoffice or mail in batch mode.
If I open the list in Sapoffice I can save the list in XLS format or if I open the list by mail, I can select all the content (because is a html file), select the copy option and then open EXCEL and paste the content.
Can I use an option to convert the alv list to an excel format and then send to mail or sapconnect in batch mode?if your requirement is to send a Excel sheet by Email then use this sample program.
*& Report ZEMAIL_ATTACH *
*& Example of sending external email via SAPCONNECT *
REPORT ZEMAIL_ATTACH .
TABLES: ekko.
PARAMETERS: p_email TYPE somlreci1-receiver
DEFAULT '[email protected]'.
TYPES: BEGIN OF t_ekpo,
ebeln TYPE ekpo-ebeln,
ebelp TYPE ekpo-ebelp,
aedat TYPE ekpo-aedat,
matnr TYPE ekpo-matnr,
END OF t_ekpo.
DATA: it_ekpo TYPE STANDARD TABLE OF t_ekpo INITIAL SIZE 0,
wa_ekpo TYPE t_ekpo.
TYPES: BEGIN OF t_charekpo,
ebeln(10) TYPE c,
ebelp(5) TYPE c,
aedat(8) TYPE c,
matnr(18) TYPE c,
END OF t_charekpo.
DATA: wa_charekpo TYPE t_charekpo.
DATA: it_message TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
WITH HEADER LINE.
DATA: it_attach TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
WITH HEADER LINE.
DATA: t_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
t_contents LIKE solisti1 OCCURS 0 WITH HEADER LINE,
t_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
t_attachment LIKE solisti1 OCCURS 0 WITH HEADER LINE,
t_object_header LIKE solisti1 OCCURS 0 WITH HEADER LINE,
w_cnt TYPE i,
w_sent_all(1) TYPE c,
w_doc_data LIKE sodocchgi1,
gd_error TYPE sy-subrc,
gd_reciever TYPE sy-subrc.
*START_OF_SELECTION
START-OF-SELECTION.
Retrieve sample data from table ekpo
PERFORM data_retrieval.
Populate table with detaisl to be entered into .xls file
PERFORM build_xls_data_table.
*END-OF-SELECTION
END-OF-SELECTION.
Populate message body text
perform populate_email_message_body.
Send file by email as .xls speadsheet
PERFORM send_file_as_email_attachment
tables it_message
it_attach
using p_email
'Example .xls documnet attachment'
'XLS'
'filename'
changing gd_error
gd_reciever.
Instructs mail send program for SAPCONNECT to send email(rsconn01)
PERFORM initiate_mail_execute_program.
*& Form DATA_RETRIEVAL
Retrieve data form EKPO table and populate itab it_ekko
FORM data_retrieval.
SELECT ebeln ebelp aedat matnr
UP TO 10 ROWS
FROM ekpo
INTO TABLE it_ekpo.
ENDFORM. " DATA_RETRIEVAL
*& Form BUILD_XLS_DATA_TABLE
Build data table for .xls document
FORM build_xls_data_table.
CONSTANTS: con_cret TYPE x VALUE '0D', "OK for non Unicode
con_tab TYPE x VALUE '09'. "OK for non Unicode
*If you have Unicode check active in program attributes thnen you will
*need to declare constants as follows
*class cl_abap_char_utilities definition load.
*constants:
con_tab type c value cl_abap_char_utilities=>HORIZONTAL_TAB,
con_cret type c value cl_abap_char_utilities=>CR_LF.
CONCATENATE 'EBELN' 'EBELP' 'AEDAT' 'MATNR'
INTO it_attach SEPARATED BY con_tab.
CONCATENATE con_cret it_attach INTO it_attach.
APPEND it_attach.
LOOP AT it_ekpo INTO wa_charekpo.
CONCATENATE wa_charekpo-ebeln wa_charekpo-ebelp
wa_charekpo-aedat wa_charekpo-matnr
INTO it_attach SEPARATED BY con_tab.
CONCATENATE con_cret it_attach INTO it_attach.
APPEND it_attach.
ENDLOOP.
ENDFORM. " BUILD_XLS_DATA_TABLE
*& Form SEND_FILE_AS_EMAIL_ATTACHMENT
Send email
FORM send_file_as_email_attachment tables pit_message
pit_attach
using p_email
p_mtitle
p_format
p_filename
p_attdescription
p_sender_address
p_sender_addres_type
changing p_error
p_reciever.
DATA: ld_error TYPE sy-subrc,
ld_reciever TYPE sy-subrc,
ld_mtitle LIKE sodocchgi1-obj_descr,
ld_email LIKE somlreci1-receiver,
ld_format TYPE so_obj_tp ,
ld_attdescription TYPE so_obj_nam ,
ld_attfilename TYPE so_obj_des ,
ld_sender_address LIKE soextreci1-receiver,
ld_sender_address_type LIKE soextreci1-adr_typ,
ld_receiver LIKE sy-subrc.
ld_email = p_email.
ld_mtitle = p_mtitle.
ld_format = p_format.
ld_attdescription = p_attdescription.
ld_attfilename = p_filename.
ld_sender_address = p_sender_address.
ld_sender_address_type = p_sender_addres_type.
Fill the document data.
w_doc_data-doc_size = 1.
Populate the subject/generic message attributes
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle .
w_doc_data-sensitivty = 'F'.
Fill the document data and get size of attachment
CLEAR w_doc_data.
READ TABLE it_attach INDEX w_cnt.
w_doc_data-doc_size =
( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle.
w_doc_data-sensitivty = 'F'.
CLEAR t_attachment.
REFRESH t_attachment.
t_attachment[] = pit_attach[].
Describe the body of the message
CLEAR t_packing_list.
REFRESH t_packing_list.
t_packing_list-transf_bin = space.
t_packing_list-head_start = 1.
t_packing_list-head_num = 0.
t_packing_list-body_start = 1.
DESCRIBE TABLE it_message LINES t_packing_list-body_num.
t_packing_list-doc_type = 'RAW'.
APPEND t_packing_list.
Create attachment notification
t_packing_list-transf_bin = 'X'.
t_packing_list-head_start = 1.
t_packing_list-head_num = 1.
t_packing_list-body_start = 1.
DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
t_packing_list-doc_type = ld_format.
t_packing_list-obj_descr = ld_attdescription.
t_packing_list-obj_name = ld_attfilename.
t_packing_list-doc_size = t_packing_list-body_num * 255.
APPEND t_packing_list.
Add the recipients email address
CLEAR t_receivers.
REFRESH t_receivers.
t_receivers-receiver = ld_email.
t_receivers-rec_type = 'U'.
t_receivers-com_type = 'INT'.
t_receivers-notif_del = 'X'.
t_receivers-notif_ndel = 'X'.
APPEND t_receivers.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = w_doc_data
put_in_outbox = 'X'
sender_address = ld_sender_address
sender_address_type = ld_sender_address_type
commit_work = 'X'
IMPORTING
sent_to_all = w_sent_all
TABLES
packing_list = t_packing_list
contents_bin = t_attachment
contents_txt = it_message
receivers = t_receivers
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.
Populate zerror return code
ld_error = sy-subrc.
Populate zreceiver return code
LOOP AT t_receivers.
ld_receiver = t_receivers-retrn_code.
ENDLOOP.
ENDFORM.
*& Form INITIATE_MAIL_EXECUTE_PROGRAM
Instructs mail send program for SAPCONNECT to send email.
FORM initiate_mail_execute_program.
WAIT UP TO 2 SECONDS.
SUBMIT rsconn01 WITH mode = 'INT'
WITH output = 'X'
AND RETURN.
ENDFORM. " INITIATE_MAIL_EXECUTE_PROGRAM
*& Form POPULATE_EMAIL_MESSAGE_BODY
Populate message body text
form populate_email_message_body.
REFRESH it_message.
it_message = 'Please find attached a list test ekpo records'.
APPEND it_message.
endform. " POPULATE_EMAIL_MESSAGE_BODY
- Guru -
I would like to purchase an i-book as a gift, can I purchase and send to a different e-mail for her to download?
It doesn't appear you can gift a book. Your best option would be gift an iTunes gift card, which they could redeem for the book.
-
How do I only show one adressee when sending a group e-mail?
I use ACT database on a PC and would like to buy a Mac but I have one problem. When I send an e-mail to a group, in the "To:" it shows only one person, not the entire group. I work with the media so each editor or reporter thinks I am sending an e-mail only to them which is the protocol in my business. Can I do that on the Mac?
(In other words, I am sending out a news release to 50 editors. I don't want each editor to see that I am sending it out to 49 other editors. I want it to say TO: that particular editor, From: me)
GatewayCan I do that on the Mac?
Yes by placing all contacts in the Bcc: (Blind Carbon Copy) field which can be added to the Mail.app message header by default in addition to the To: and Cc: fields. -
Generating a random password and sending a userid through mail to the user
HI,
I have a field named UserID in the process form,this user id can only be accessed by the GIA PROVISIONING ANALYST for updation of the userid to provision the resource to some related id of the user .I want to send this user ID from the process form in a mail to the target user,moreover i also want to include a password field nd also send a random password to the user.In short i want to obtain the values of user id and password send it in a email to the target userThis is the body of my email template:
Request number: <Request Information.Request ID>
The following access has been granted:
Name: <Request Information.List of user targets being requested for>
ID: <User Profile Information.User Login>
Resource: <Object Information.Object Name>
Updated UserID:<Process Data Information.RSS User Name>
In this case the "Updated UserID " is to be obtained from the Process Form and has to be sent in the mail.
"RSS User Name" is the field label in the process form.when this email is sent iam not able to retrieve the values .The same statement ie."Updated UserID:<Process Data Information.RSS User Name>" is displayed in the email .
I have even tried giving <Process Information.RSS User Name> and <Process Data Information.Process Name.RSS User Name> still the value is not obtained.Plz guide me through this. -
Smartform Output To PDF And Send It As External Mail
Dear All,
I am sending the Smartform Output as an attachment by converting it into PDF. But when I am recieve this attachment I am unable to open the PDF file,it is giving error that FILE IS DAMAGED
So please suggest a solution.
Regards,
BhaveshREPORT ZTEST_PDF_MAIL.
Internal Table declarations
PARAMETERS : p_ebeln TYPE ekko-ebeln DEFAULT '4500000003'.
DATA: I_OTF TYPE ITCOO OCCURS 0 WITH HEADER LINE,
I_TLINE TYPE TABLE OF TLINE WITH HEADER LINE,
I_RECEIVERS TYPE TABLE OF SOMLRECI1 WITH HEADER LINE,
I_RECORD LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
Objects to send mail.
I_OBJPACK LIKE SOPCKLSTI1 OCCURS 0 WITH HEADER LINE,
I_OBJTXT LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
I_OBJBIN LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
I_RECLIST LIKE SOMLRECI1 OCCURS 0 WITH HEADER LINE,
Work Area declarations
WA_OBJHEAD TYPE SOLI_TAB,
W_CTRLOP TYPE SSFCTRLOP,
W_COMPOP TYPE SSFCOMPOP,
W_RETURN TYPE SSFCRESCL,
WA_DOC_CHNG TYPE SODOCCHGI1,
W_DATA TYPE SODOCCHGI1,
WA_BUFFER TYPE STRING, "To convert from 132 to 255
Variables declarations
V_FORM_NAME TYPE RS38L_FNAM,
V_LEN_IN LIKE SOOD-OBJLEN,
V_LEN_OUT LIKE SOOD-OBJLEN,
V_LEN_OUTN TYPE I,
V_LINES_TXT TYPE I,
V_LINES_BIN TYPE I.
DATA:it_pdfdata TYPE TABLE OF tline.
DATA:it_pdf TYPE TABLE OF solisti1.
BREAK-POINT .
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'ZCSF_MM_PO_ORIGINAL'
IMPORTING
FM_NAME = V_FORM_NAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
W_CTRLOP-GETOTF = 'X'.
W_CTRLOP-NO_DIALOG = 'X'.
W_COMPOP-TDNOPREV = 'X'.
CALL FUNCTION V_FORM_NAME
EXPORTING
CONTROL_PARAMETERS = W_CTRLOP
OUTPUT_OPTIONS = W_COMPOP
USER_SETTINGS = 'X'
P_EBELN = P_EBELN
IMPORTING
JOB_OUTPUT_INFO = W_RETURN
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
I_OTF[] = W_RETURN-OTFDATA[].
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
FORMAT = 'PDF'
MAX_LINEWIDTH = 132
IMPORTING
BIN_FILESIZE = V_LEN_IN
TABLES
OTF = I_OTF
LINES = I_TLINE
EXCEPTIONS
ERR_MAX_LINEWIDTH = 1
ERR_FORMAT = 2
ERR_CONV_NOT_POSSIBLE = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
ENDIF.
LOOP AT I_TLINE.
TRANSLATE I_TLINE USING '~'.
CONCATENATE WA_BUFFER I_TLINE INTO WA_BUFFER.
ENDLOOP.
TRANSLATE WA_BUFFER USING '~'.
DO.
I_RECORD = WA_BUFFER.
APPEND I_RECORD.
SHIFT WA_BUFFER LEFT BY 255 PLACES.
IF WA_BUFFER IS INITIAL.
EXIT.
ENDIF.
ENDDO.
Attachment
REFRESH: I_RECLIST,
I_OBJTXT,
I_OBJBIN,
I_OBJPACK.
CLEAR WA_OBJHEAD.
I_OBJBIN[] = I_RECORD[].
Create Message Body Title and Description
I_OBJTXT = 'test with pdf-Attachment!'.
APPEND I_OBJTXT.
DESCRIBE TABLE I_OBJTXT LINES V_LINES_TXT.
READ TABLE I_OBJTXT INDEX V_LINES_TXT.
WA_DOC_CHNG-OBJ_NAME = 'smartform'.
WA_DOC_CHNG-EXPIRY_DAT = SY-DATUM + 10.
WA_DOC_CHNG-OBJ_DESCR = 'smartform'.
WA_DOC_CHNG-SENSITIVTY = 'F'.
WA_DOC_CHNG-DOC_SIZE = V_LINES_TXT * 255.
Main Text
CLEAR I_OBJPACK-TRANSF_BIN.
I_OBJPACK-HEAD_START = 1.
I_OBJPACK-HEAD_NUM = 0.
I_OBJPACK-BODY_START = 1.
I_OBJPACK-BODY_NUM = V_LINES_TXT.
I_OBJPACK-DOC_TYPE = 'RAW'.
APPEND I_OBJPACK.
Attachment (pdf-Attachment)
I_OBJPACK-TRANSF_BIN = 'X'.
I_OBJPACK-HEAD_START = 1.
I_OBJPACK-HEAD_NUM = 0.
I_OBJPACK-BODY_START = 1.
DESCRIBE TABLE I_OBJBIN LINES V_LINES_BIN.
READ TABLE I_OBJBIN INDEX V_LINES_BIN.
I_OBJPACK-DOC_SIZE = V_LINES_BIN * 255 .
I_OBJPACK-BODY_NUM = V_LINES_BIN.
I_OBJPACK-DOC_TYPE = 'PDF'.
I_OBJPACK-OBJ_NAME = 'smart'.
I_OBJPACK-OBJ_DESCR = 'test'.
APPEND I_OBJPACK.
CLEAR I_RECLIST.
I_RECLIST-RECEIVER = 'XYZ'.
I_RECLIST-REC_TYPE = 'U'.
APPEND I_RECLIST.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
DOCUMENT_DATA = WA_DOC_CHNG
PUT_IN_OUTBOX = 'X'
COMMIT_WORK = 'X'
TABLES
PACKING_LIST = I_OBJPACK
OBJECT_HEADER = WA_OBJHEAD
CONTENTS_BIN = I_OBJBIN
CONTENTS_TXT = I_OBJTXT
RECEIVERS = I_RECLIST
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.
IF SY-SUBRC <> 0.
WRITE:/ 'Error When Sending the File', SY-SUBRC.
ELSE.
WRITE:/ 'Mail sent'.
ENDIF. -
Is it possible to generate a PDF and send it as a mail attachment ?
Hello All,
While there are many contributions and suggestions on how to send a pdf form via email, I will like to find out if its possible to send a pdf as part of an email attachment WITHOUT even viewing it first ? Below is a brief descrption of what I'll like to do :
1) A user logs into his inbox and checks if there are any requests for his approval. In the event that he finds one, he may either select the row item in the table to display the requests details prior to approving or clicks on approve immediately.
2) This approval action should send an email to an appointed external supplier with the request details as a pdf attachment.
All this should be done without the need to generate a interactive form. Is this possible ?
Thank you very much.
from
Kwok WeiHi Hubert,
I am tryign the same logic as ur to send PDF as an attachement but while opening its giving me file cannot be opened.
My code goes like this
CALL FUNCTION 'FP_JOB_CLOSE'
IMPORTING
E_RESULT = RESULT
EXCEPTIONS
USAGE_ERROR = 1
SYSTEM_ERROR = 2
INTERNAL_ERROR = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = FORM_OUT-PDF "PDF file from function module
TABLES
binary_tab = lv_output.
DATA: GD_DOC_DATA TYPE SODOCCHGI1,
lt_mailpack TYPE STANDARD TABLE OF SOPCKLSTI1 ,
la_mailpack type SOPCKLSTI1 .
data:lf_lines type i.
describe table lv_output lines lf_lines.
clear la_mailpack.
la_mailpack-transf_bin = 'X'.
la_mailpack-head_start = 1.
la_mailpack-head_num = 1.
la_mailpack-body_start = 1.
la_mailpack-doc_type = 'PDF'.
la_mailpack-body_num = lf_lines.
la_mailpack-doc_size = lf_lines * 255.
la_mailpack-obj_descr = 'object'.
la_mailpack-obj_name = 'MAIL'.
append la_mailpack to lt_mailpack.
data: IT_RECEIVERS type STANDARD TABLE OF SOMLRECI1 WITH HEADER LINE.
*DATA: GD_DOC_DATA TYPE SODOCCHGI1.
BREAK FTABAP.
GD_DOC_DATA-OBJ_DESCR = 'PDF'.
IT_RECEIVERS-RECEIVER = 'email address'.
IT_RECEIVERS-REC_TYPE = 'U'.
APPEND IT_RECEIVERS.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
DOCUMENT_DATA = GD_DOC_DATA
* PUT_IN_OUTBOX = ' '
COMMIT_WORK = 'X'
* IMPORTING
* SENT_TO_ALL =
* NEW_OBJECT_ID =
TABLES
PACKING_LIST = lt_mailpack
*OBJECT_HEADER = lt_mailhead
* CONTENTS_BIN =
*CONTENTS_TXT = lt_mailtxt
CONTENTS_HEX = lv_output
* OBJECT_PARA =
* OBJECT_PARB =
RECEIVERS = IT_RECEIVERS.
Kindly please help me in solving this issue.
Maybe you are looking for
-
OMF won't export out of final cut pro.
Exporting a 93min 1920x1080 HD timeline to OMF 5 second handles tried 2 second handles as well. OMF won't export out of final cut pro. Get error message there is a 2 gb limit. Final cut 6.0.6 Have deadline. Didn't see it on any forum. Help!! Thanks!!
-
HTML Client: How to get the content/value of a custom control?
I made two Custom Controls named, "CustomControl_1" and "CustomControl_2". In the render function of "CustomControl_1", how to access the value of "CustomControl_2"? For example, myapp.BrowseOrders.CustomControl_2_render = function (element, content
-
Selection of Values in Free charcteristics
Hello, Can some one please help me with the below: Our users are asking if they can pass fixed values in to filters with in the free chracteristics of a web report. For example, the user runs a report and he has to select 70 Materials from
-
How to display Query Description in the Query
I have a text variable which gets the % of the days Elapsed appended to the text of the query. When I execute the query I am not seeing the text in the output of the query. Can some one say how to display text of the query in the output so that I can
-
Soap Adapter Channel not found
I'm having problems geting the Sender SOAP adapter to work. I'm using to test it http://<XXXXXXXX>:50000/XISOAPAdapter/HelperServlet?action=FindChannel&channel=:SunriseSoftwareSostenuto:TimeSentSoap where <XXXXXXXX> is our domain but this returns ch