Opening email attachment send by Mail Drop
Hi,
I successfully send email with 500 MB attachment to 2 recipients. They successfully opened mail and downloaded file. But if I try to send it to my e-mail, I cant download via Mail app and via Safari too on my mac.
Try to download via Safari:
in Safari nothing happends on this page, and if I click to Try it again (zkuste to znovu), nothing happend at all.
Try to download via mail.app:
file is greyed up and if i click to download file, nothing happens.
Got last yosemite, everything updated. Tried another web clients too. Interesting is, than my friends with OS Window can download it with no problems.
Thanks for any help and sorry for my english.
Jan
Solved - problem was with my internet provider. Thanks.
Similar Messages
-
i can not open email attachment which is sent from a swann dvr using apple mail since i upgraded to Yosemite ,has anyone got a fix ? the file format is _mnt_tmp_
Oh no... NOT THE 99-PAGER!!! Anything but THAT!!!
-
I can't open the attachment to a mail. When I'm trying to open it in FileApp, I get the answer: "FileApp doesn't recognise
this file type.Would you like to try to open in.....
another App
as text file
cancel
When I open it it in another App I get the answer:"there are no application installed on your device that can open
this type of file.
When I open it as a text file, it's loading and loading.....forever?
What shall I do?
PS I'm 70 and not good at computersHello Mats in Sweden!
I'm from Austria, not so far away! The file that you've received seems to be a Windows Media File and you may need a special software for your iPad to be able to open it. I've found something HERE.
If you open this link on your iPad it should take you to the App Store, resp. open it. The price for this app is 1,59 €.
Greets from Vienna,
Bärbel -
Mail 8.0 deleted email content when using mail drop
Using Mail 8.0 on Yosemite 10.1 I just spent a very long time answering an email. I attached a PDF of 30 MB before sending and the window to say it would be sent via mail drop appeared. I clicked Yes.
Later I checked sent messages to see the email I wrote and make sure it all went through OK. However, in the email only a link to the mail dropped PDF was there, and all the text I wrote had disappeared.
Nothing in sent, or saved boxes. It's a Gmail account, so I checked sent messages from the web interface for Gmail and also there was just the link.
I did a test and sent another email with said attachement and some random text, and it came out ok, it even had a fancy download button rather than some super long link.
What is going on? can I get my email back? Please help!I've had - and am having -- all kinds of problems with Mail 8.0. Is there an update yet to fix the many, many ISSUES with 8.0?
I am ready to ditch the program unless fixes are forthcoming. -
Error while opening PDF attachment sent via mail
Hi,
I am attaching PDF file to PO in me22n and sending the same file as attachment in the mail to the vendor using class CL_BCS.
The mail is sent to the vendor successfully and they are able to successfully open the PDF attachment. But in some cases the mail is successfully received but while opening the attachment it is giving the error as file is corrupted.
Please help me to resolve this issue.
Thanks and regards,
JayashreeHi,
I would like to know what font type, you are using in the forms.
Ideally it should be HELVETICA .
If you are using any other font in your style/form,try changing it to HELVETICA & Test.
Also Check the OTF data at the call of gen. FM,before converting it to PDF.
Regds,
AS
Edited by: abheesawant on Oct 12, 2011 7:48 AM -
Cannot open PDF Attachment in e-mail??
i am able to convert Smartform into PDF and able to send email the attachment.
But when i try to open the attachment i get the error<b>" unable to open the file may be the file is Corrupted"</b>
your valuable inputs are needed.
thanks,
SubbaPlease check the following thread
https://forums.sdn.sap.com/click.jspa?searchID=209115&messageID=67220
https://forums.sdn.sap.com/click.jspa?searchID=209115&messageID=1663776
https://forums.sdn.sap.com/click.jspa?searchID=209115&messageID=240009 -
Opening email attachment in an iPad app
I am having trouble opening an email attachment in an iPad app. How can I get the app I want to use to come up in the list of apps available to be used.
IIRC, there is no way to manipulate which apps can be stored in the Open In window. Certainly, I might be wrong about that. The last app that you used in the Open In window should move to the top of the list the next time you use Open In.
You are swiping the Open In window to get to the next selection of apps available - correct? Another option is to open the PDF in any other PDF app that you have, and from there send it to Idea Flight with the open in option in the PDF app that you use. For instance - open the file in Adobe Reader and then send it to Idea Flight. -
ME29N Shortcut Attachment send to Mail with PO number
Hi Experts,
I am using FM 'SWN_CREATE_SHORTCUT' to send mail to PO approver with attachment, when the PO approver clicks the attachment in his mail it should open the transaction 'ME29N'.
It is working fine...ME29N Default screen is getting opened .But the requirement is .ME29N should get opened with a specific PO number as parameter.
please help me out in solving the issue.
I already tried this :
wa_shortcut_param-fieldname = 'MEPO_TOPLINE-EBELN'.
wa_shortcut_param-fieldvalue = '4500000341'. "Employee number
APPEND wa_shortcut_param to it_shortcut_param.
IF NOT it_shortcut_param[] IS INITIAL.
CLEAR it_tcodefields.
LOOP AT it_shortcut_param into wa_shortcut_param.
CONCATENATE it_tcodefields wa_shortcut_param-fieldname '='
wa_shortcut_param-fieldvalue ';' INTO it_tcodefields.
ENDLOOP.
ENDIF.
CALL FUNCTION 'SWN_CREATE_SHORTCUT'
EXPORTING
I_TRANSACTION = 'ME29N'
I_PARAMETER = it_tcodefields
I_USER = sy-uname
I_TITLE = 'Documents Approval'
I_WINDOWsize = 'Maximised'
*I_CUSTOM = w_parameter
IMPORTING
SHORTCUT_TABLE = t_soli_tab
*shortcut_string = t_soli_tab "content
EXCEPTIONS
INCONSISTENT_PARAMETERS = 1
OTHERS = 2
if u already Done this sending code will be more helpful...Hi Sathish,
I had tried this way, but encountered the above mentioned problem. So I had used another way to place a Business Object as attachment to the mail. I think this will solve your issue. Please check the following code:
DATA: docdata LIKE sodocchgi1,
objpack LIKE sopcklsti1 OCCURS 10 WITH HEADER LINE,
objhead LIKE solisti1 OCCURS 10 WITH HEADER LINE,
objtxt LIKE solisti1 OCCURS 10 WITH HEADER LINE,
objbin LIKE solisti1 OCCURS 10 WITH HEADER LINE,
objhex LIKE solix OCCURS 10 WITH HEADER LINE,
reclist LIKE somlreci1 OCCURS 1 WITH HEADER LINE.
DATA: tab_lines TYPE i,
doc_size TYPE i,
objdes(100).
* For the BOR attachment
CONSTANTS:
c_object_describe LIKE swotobjid-describe VALUE '*<OBJECT>*'.
DATA:
l_object TYPE swotobjid,
l_objheader LIKE soxobj.
PARAMETERS:
p_objtyp TYPE swo_objtyp OBLIGATORY,
p_objkey TYPE swo_typeid OBLIGATORY.
* Create Message Body
* Main Text
objtxt = 'Test Document.'.
APPEND objtxt.
objtxt = 'You will find a BOR object attachment in message.'.
APPEND objtxt.
objtxt = 'Have a nice day.'.
APPEND objtxt.
* Title and Description
DESCRIBE TABLE objtxt LINES tab_lines.
READ TABLE objtxt INDEX tab_lines.
docdata-doc_size = ( tab_lines - 1 ) * 255 + strlen( objtxt ).
docdata-obj_name = 'BOR Object'.
CONCATENATE p_objtyp '-' p_objkey INTO objdes.
CONCATENATE 'BOR Object' objdes 'as Attachment'
INTO docdata-obj_descr SEPARATED BY space.
CONDENSE docdata-obj_descr.
* Write Packing List (Main)
CLEAR objpack-transf_bin.
objpack-head_start = 0.
objpack-head_num = 0.
objpack-body_start = 1.
objpack-body_num = tab_lines.
objpack-doc_type = 'RAW'.
APPEND objpack.
* Create OBJ attachment
l_object-describe = c_object_describe.
l_object-objtype = p_objtyp.
l_object-objkey = p_objkey.
CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET'
IMPORTING
own_logical_system = l_object-logsys
EXCEPTIONS
own_logical_system_not_defined = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE e398(00) WITH 'No Log Sys Found'.
ENDIF.
MOVE-CORRESPONDING l_object TO l_objheader.
APPEND l_objheader TO objhead.
* Write Packing List (Attachment)
CLEAR objpack.
objpack-head_start = 1.
objpack-head_num = 1.
objpack-body_start = 0.
objpack-body_num = 0.
objpack-doc_type = 'OBJ'.
objpack-obj_name = p_objtyp.
objpack-obj_descr = objdes.
APPEND objpack.
* Create receiver list
reclist-receiver = sy-uname.
reclist-rec_type = 'B'.
APPEND reclist.
* Send Message
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = docdata
put_in_outbox = 'X'
commit_work = 'X'
TABLES
packing_list = objpack
object_header = objhead
contents_bin = objbin
contents_txt = objtxt
receivers = 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.
MESSAGE ID 'SO' TYPE 'S' NUMBER '023'
WITH docdata-obj_name.
ENDIF.
WRITE: / 'End of Program'.
Use this, you will achieve what you wants.
Regards,
Abijith -
Tiger 10.4.11-Can't open email attachment
Received an email attachment jpg (777 KB) which was clearly visible in the message window as well as when I opened the attachment itself -so no problem. However I needed to have some alterations made to this file (business card)
I duly received two consecutive attachments, which were the alterations to my business card (the 777 KB file.
These two files were now 1.3 MB and 1.4 MB in size, they appeared in the message window as large black images (nothing visible) which I was unable to open.
As I did not know the problem, suggested to the sender to perhaps reduce the file size, as I was able to open the original file. The sender re-sent the re-sized file now reduced to 744 KB, similar in size to the first one, again appears as a large black image.
Now we are at a stalemate, the sender says he has four computers and the images appear fine on all four, so is now suggesting the problem is with me or my computer. I have had no prior problems opening jpg files, so suggested he send me a pdf to enable me to check the alterations, I'm still waiting for that pdf!
Can someone please help! Is there something i can do? or is it up to the sender?Care to forward one to me to see what's up? If so, you're the only one that can see your eMail in your profile.
Or you can cantact me (PM or Email), by joining my site...
x704.net/bbs
Or an older version of GraphicConverter to open most any picture filet...
http://www.lemkesoft.com/ -
Cannot open email attachment​s
Just got a new Tour because the original one had trackball issues. I uploaded everything to my new tour and re-setup my email. Since then I have been unable to open email attachments. This is the error message I have been getting: More request cannot be completed. Service book information not found. I have also not been able to receive calendar requests. Please help
Solved!
Go to Solution.For both issues, resend your service books.
Do this:
On your BlackBerry device, go to:
1. Options > Advanced > Host Routing Table > Menu > Register.
2. Resend your service books from your carrier BIS site:
From your handheld device: http://www.blackberry.com/btsc/KB15402
Go to the Personal Email Set Up icon and log in. Then under Help!, select Service Books, then select Send service Books.
From your desktop PC: http://www.blackberry.com/btsc/KB02830
North American Carriers - scroll down to select your carrier
WorldWide Carriers - Find your carrier on the list
3. With the BlackBerry device powered ON, remove the battery a few seconds and then reinsert the battery to reboot. This reboot, even if you have already done this, is often needed to install the service books.
1. If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
Cannot open PDF attachment in webmail sent from Outlook, says I need to save first; how do I save the link?
Looks like another user asked similar question with over 600 views and no replies ... hmmm. When I click on the attachment, it says I must save it to my disk; with one button mouse just click once and save? I've tried dragging and saving the attachment to word doc but opened up with a page of garbled words/symbols,etc. Any ideas are welcome.
-
Issue while opening Excel attachment send through FM
Hi All,
I had program in which i am sending mail along with Excel attachment using FM SO_NEW_DOCUMENT_ATT_SEND_API1. Mail is going fine with data in Excel attachment. But when i try to open the Excel it gives an Info message saying that "<b>You are trying to open (attachment name),is in different format than specified file extension Verify that file is not corrupted and is from a trusted source before opening file. Do you want to open file now</b>". Then when i presses YES, Excel opens up with all data. I want to know how to avoid that info popup. Is there something has to be passed to FM or something has to be done to Excel like settings in EXCEL so that i can avoid that Info message coming.
Document type of attachment is gw_packing_list-doc_type = 'XLS'.
Thanks in advance,
ShyamHi Shyam,
Have you build your Excel Data table to get attachement in Mail? If no then please find the Eg. code for your reference to send Excel attachment..
* End of Selection Event : Displaying the selected data *
END-OF-SELECTION.
PERFORM EMAIL_EXCEL_ATTACHMENT.
******///form
FORM EMAIL_EXCEL_ATTACHMENT .
* Populate table with detaisl to be entered into .xls file
PERFORM BUILD_XLS_DATA_TABLE.
* 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 S_EMAIL
TEXT-042
C_XLS
'filename'
CHANGING GD_ERROR
GD_RECIEVER.
* Instructs mail send program for SAPCONNECT to send email(rsconn01)
PERFORM INITIATE_MAIL_EXECUTE_PROGRAM.
ENDFORM. " EMAIL_EXCEL_ATTACHMENT
********///form BUILD_XLS_DATA_TABLE
FORM BUILD_XLS_DATA_TABLE .
DATA : LV_NETWR(20) TYPE C,
LV_BOL_DATE(20) TYPE C,
LV_KAWRT(20) TYPE C,
LV_FKDAT(20) TYPE C,
LV_WAERK(20) TYPE C,
LV_KURRF(20) TYPE C,
LV_SHIPDATE(20) TYPE C,
LV_DEPTDATE(20) TYPE C.
CONSTANTS:
CON_TAB TYPE C VALUE CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB,
CON_CRET TYPE C VALUE CL_ABAP_CHAR_UTILITIES=>CR_LF. "#EC *
DATA STR TYPE STRING.
**********/ this parameter concatenate to get headers
CONCATENATE STR
'SLNO'
'OWNER'
'SERIAL NO'
'FROM'
'DESTINATION'
'INVOICE VALUE'
'DESCRIPTION'
'CUSTOMER NAME'
'BL NUMBER'
'BL DATE'
'VESSEL NAME/AIRLINE DETAILS'
'MODE OF TRANSIT'
'SHIPPING MARKS'
'DUTY SUM INSURED'
'FLAG'
'OPEN COVERNO'
'INVOICE DATE'
'INVOICE NO'
'LC WORDING'
'QUANTITY'
'PACKAGING DETAILS'
'BASIS OF VALUATION'
'EXCLUDE WAR SRCC'
'CURRENCY'
'EXCHANGE RATE'
'ADDRESS'
'VESSEL BUILT YEAR'
'VESSEL FLAG'
'VOYAGE NO'
'SHIPMENT DATE'
'DEPARTURE DATE'
'SURVEYOR COUNTRY'
'SURVEYOR CITY'
'SURVEYOR AGENT'
'SURVEYOR ADDRESS'
'EXPORT CONSIGNMENT'
'CONTAINER DETAILS'
CL_ABAP_CHAR_UTILITIES=>CR_LF INTO STR SEPARATED BY CON_TAB.
LOOP AT IT_FINAL.
*******/ this is to pass body / row data
WRITE : IT_FINAL-NETWR TO LV_NETWR, "#EC UOM_IN_MES
IT_FINAL-BOL_DATE TO LV_BOL_DATE,
IT_FINAL-KAWRT TO LV_KAWRT, "#EC UOM_IN_MES
IT_FINAL-FKDAT TO LV_FKDAT,
IT_FINAL-WAERK TO LV_WAERK,
IT_FINAL-KURRF TO LV_KURRF,
IT_FINAL-SHIPDATE TO LV_SHIPDATE,
IT_FINAL-DEPTDATE TO LV_DEPTDATE.
CONCATENATE
STR
IT_FINAL-SLNO
IT_FINAL-OWNER
IT_FINAL-SRNO
IT_FINAL-PORT_LOAD
IT_FINAL-PORT_DSCHR
LV_NETWR
IT_FINAL-DESCRIP
IT_FINAL-CUSTNAME
IT_FINAL-BOL_NUM
LV_BOL_DATE
IT_FINAL-VESSELNAME
IT_FINAL-SHP_TYPE
IT_FINAL-SHP_MARK
LV_KAWRT
IT_FINAL-FLAG
IT_FINAL-OPEN_CONO
LV_FKDAT
IT_FINAL-VBELN
IT_FINAL-LC_WORD
IT_FINAL-QUANT
IT_FINAL-PACKDETL
IT_FINAL-INCO1
IT_FINAL-EXCWSR
LV_WAERK
LV_KURRF
IT_FINAL-ADDPAY
IT_FINAL-VESSBYR
IT_FINAL-VESSFLG
IT_FINAL-VOY_FLY_NO
LV_SHIPDATE
LV_DEPTDATE
IT_FINAL-SURCOUNT
IT_FINAL-INCO2
IT_FINAL-EXPORT_CON
IT_FINAL-SURAGT
IT_FINAL-SURADD
IT_FINAL-CONTRNO
CL_ABAP_CHAR_UTILITIES=>CR_LF INTO STR SEPARATED BY CON_TAB.
ENDLOOP.
CALL FUNCTION 'SCMS_STRING_TO_FTEXT'
EXPORTING
TEXT = STR
TABLES
FTEXT_TAB = IT_ATTACH.
ENDFORM. " BUILD_XLS_DATA_TABLE
******// form POPULATE_EMAIL_MESSAGE_BODY
FORM POPULATE_EMAIL_MESSAGE_BODY .
REFRESH IT_MESSAGE.
IT_MESSAGE = TEXT-043. " Please find attached Insurance Certificate details
APPEND IT_MESSAGE.
ENDFORM. " POPULATE_EMAIL_MESSAGE_BODY
*******'/ form SEND_FILE_AS_EMAIL_ATTACHMENT
*& Form SEND_FILE_AS_EMAIL_ATTACHMENT
* text
* -->PIT_MESSAGE text
* -->PIT_ATTACH text
* -->P_EMAIL text
* -->P_MTITLE text
* -->P_FORMAT text
* -->P_FILENAME text
* -->P_ATTDESCRIPTION text
* -->P_SENDER_ADDRESS text
* -->P_SENDER_ADDRES_TYPE text
* -->P_ERROR text
* -->P_RECIEVER text
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. "#EC *
DATA: LD_ERROR TYPE SY-SUBRC, "#EC *
* 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. "#EC *
* 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.
DESCRIBE TABLE IT_ATTACH LINES W_CNT.
READ TABLE IT_ATTACH INDEX W_CNT.
W_DOC_DATA-DOC_SIZE =
W_CNT * 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.
LOOP AT S_EMAIL.
T_RECEIVERS-RECEIVER = S_EMAIL-LOW.
T_RECEIVERS-REC_TYPE = 'U'.
T_RECEIVERS-COM_TYPE = 'INT'.
T_RECEIVERS-NOTIF_DEL = 'X'.
T_RECEIVERS-NOTIF_NDEL = 'X'.
APPEND T_RECEIVERS.
ENDLOOP.
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. " SEND_FILE_AS_EMAIL_ATTACHMENT
*******/form
*& Form INITIATE_MAIL_EXECUTE_PROGRAM
* text
* --> p1 text
* <-- p2 text
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
*********end of code to trigger mail in excel format....
If any other help please let me know......
I am sure this example code will help you to resolve your problem...
please analyse above code for your requirement...
In my scenario the message you said is not displaying.....
<i>Reward Points</i>
Cheers,
Sagun Desai -
How to apply Password Protection On attachment send through mail from SAP
Hi All,
I want to apply Password Protection on file send as an attachment from SAP on Email.
I know how to send email from sap with attachment in it. A smartform is coverted to a attachment and send on email.
But how can i apply password protection on it.
Any type of file format will be fine. I just need to know how can i make that file as password protected.
Thanks in advance.
Sonal Jain.>
Sonal Jain wrote:
But how can i convert the PDF to folder and than how can i zip that folder with password protection.
Not folder but file (I do hope you understand the difference). Have you tried to search SDN at all? I don't have much time, but before replying initially I did just a quick search and it brought several posts mentioning the archiving functionality. And I'm sure 'Smartform to PDF' will bring up gozillion posts. Also I find the Google search with addition 'site:sap.com' to be quite helpful.
However, I would still recommend to review the requirements. Why exactly do you need this password protection? If there is a fear that someone other than a recipient might get access to the email account then there is really a bigger security issue in the organization and it should be resolved by some other means. As I have mentioned, password does not really add much protection.
Out of curiosity I briefly looked at the IRM description on the Microsoft's web site and it doesn't seem to be very helpful. First of all, it's the MS software and has to be installed on the user's PC and configured (how do we know the emai recipients are even on Windows?). Also it does say "Prevent an unauthorized recipient from accessing e-mail content", but I didn't quite get how exactly. Is there a retinal scan that comes with it? And the list of things it does not do gives you the whole another perspective on the email security. -
Hi All,
I'm using ECC 6.0 version, I'm trying to attach a pdf file to a mail using the function module SO_NEW_DOCUMENT_ATT_SEND_API1. But gtting error as "wasn't decoded correctly", but the same coding is working fine in 4.6 version. What changes i should do while using this function module in ECC 6.0 to get it corrected.
Thanks & Regards,
Sabu.Hi ,
I tried with SBWP, I'm able to see the pdf file attached while sending from SBWP.
Please see the below coding
FORM make_the_message *
FORM make_the_message.
Create Message Body
Title and Description
CLEAR : docdata,
objtxt[],
objpack[],
objbin[].
docdata-obj_name = sy-repid.
docdata-obj_descr = p_subj.
Main Text
LOOP AT gt_text INTO objtxt.
APPEND objtxt.
ENDLOOP.
Write Packing List (Main)
DESCRIBE TABLE objtxt LINES tab_lines.
READ TABLE objtxt INDEX tab_lines.
docdata-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objtxt ).
CLEAR objpack-transf_bin.
objpack-head_start = 1.
objpack-head_num = 0.
objpack-body_start = 1.
objpack-body_num = tab_lines.
Sabu
objpack-doc_type = 'RAW'.
objpack-doc_type = 'PDF'.
End Sabu
APPEND objpack.
*Start of Upgrade ECC 6.0
Data: l_mi_bytecount TYPE i.
*End of Upgrade ECC 6.0
Create Message Attachment (As read earlier from frontend)
Write Packing List (Attachment)
Handle the attached file.
objbin[] = gt_pdffile[].
att_type = 'PDF'.
DESCRIBE TABLE objbin LINES tab_lines.
READ TABLE objbin INDEX tab_lines.
objpack-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objbin ).
objpack-transf_bin = 'X'.
objpack-head_start = 1.
*****Sabu 8496
objpack-head_num = 0.
objpack-head_num = 1.
End Sabu
objpack-body_start = 1.
objpack-body_num = tab_lines.
*Start of Upgrade ECC 6.0
objpack-doc_type = att_type.
objpack-obj_name = 'ATTACHMENT.pdf'.
objpack-obj_descr = 'Attached Document'.
*End of Upgrade ECC 6.0
APPEND objpack.
Create receiver list
Generate ALV list for either Customers/Vendors/Contact persons etc.
ENDFORM. "make_the_message
FORM fill_the_distribution_list *
FORM fill_the_distribution_list USING i_test
i_fax
i_faxcntry
i_email.
Just as a test...
CLEAR: reclist, reclist[].
IF i_test EQ 'X'.
CASE 'X'.
WHEN p_sndfax.
By Fax
rec_fax-rec_fax = i_fax.
rec_fax-rec_state = i_faxcntry.
Start of Changes 07/09/2008
reclist-receiver = rec_fax.
ASSIGN reclist-receiver TO <fs_reclist> CASTING.
<fs_reclist> = rec_fax.
rec_fax = <fs_reclist>.
End of Changes 07/09/2008
reclist-rec_type = 'F'.
APPEND reclist.
WHEN p_sndint.
By Email
reclist-receiver = i_email.
reclist-rec_type = 'U'.
reclist-BLIND_COPY = 'X'.
APPEND reclist.
ENDCASE.
ELSE.
This is not a test....
LOOP AT gt_detail INTO gs_detail.
CHECK gs_detail-flag EQ icon_green_light.
CASE 'X'.
WHEN p_sndfax.
By Fax
rec_fax-rec_fax = gs_detail-faxnr.
rec_fax-rec_state = gs_detail-land1.
Start of Changes 07/09/2008
ASSIGN reclist-receiver TO <fs_reclist> CASTING.
<fs_reclist> = rec_fax.
rec_fax = <fs_reclist>.
reclist-receiver = rec_fax
End of Changes 07/09/2008
reclist-rec_type = 'F'.
APPEND reclist.
WHEN p_sndint.
By Email
reclist-receiver = gs_detail-email.
reclist-rec_type = 'U'.
reclist-BLIND_COPY = 'X'.
APPEND reclist.
ENDCASE.
ENDLOOP.
ENDIF.
ENDFORM. "fill_the_distribution_list
FORM send_the_messages *
FORM send_the_messages.
Send Message
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = docdata
put_in_outbox = 'X'
commit_work = 'X'
IMPORTING
SENT_TO_ALL =
NEW_OBJECT_ID =
TABLES
packing_list = objpack
object_header = objhead
contents_bin = objbin
contents_txt = objtxt
OBJECT_PARA =
OBJECT_PARB =
receivers = 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.
MESSAGE ID 'SO'
TYPE 'S'
NUMBER '023'
WITH docdata-obj_name.
ELSE.
PERFORM popup.
ENDIF.
ENDFORM. "send_the_messages
Thanks & Regards,
Sabu -
Cannot open email attachment in SRM
Dear Gurus,
I am using FM 'SO_NEW_DOCUMENT_ATT_SEND_API1' to send an email with attachment to SRM. Email and attachment can be opened successfully in the backend gui. However, in the browser the email can be opened but not the attachment (attachment appears as a paperclip).
To exclude the FM as the cause, I manually created the email from within the Business workplace but with exactly the same result. Is there a config setting which must be set before you can open attachment in the browser.
Many Thanks
PaulWhat type of attachment it is?
Start Firefox in Safe Mode to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
<b> To Enable SafeMode </b>
*You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
* Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
*''Once you get the pop-up, just select "'Start in Safe Mode"''
If it works in Safe Mode and in normal mode with all extensions (Tools > Add-ons > Extensions) disabled then try to find which extension is causing it by enabling one extension at a time until the problem reappears.
Close and restart Firefox after each change via "Firefox > Exit" (Windows: Firefox/File > Exit; Mac: "Firefox > Quit Firefox"; Linux: "Firefox/File > Quit")
* https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
Maybe you are looking for
-
Hi, everyone I have installed ODS 10g and I have done few config to base file to direct oracle application server to use jre instead of jinit and I installed both jre version 7 and jinit 1.3.1.30(these are installed in C:\ where as my DB and ODS is
-
I have a some issues: 1. My HP Office Jet Pro L7555 scans but will not save to a flash drive. (I get error messaqges when I try to download it to my computer) What is the fix for that? 2. Sometimes when I turn it on it will indicate that one of the i
-
[SOLVED] X fails after pacman -Syu
After a year or so without upgrading (not recommended) I did a pacman -Syu; it took like ages 'cause I was on kernel 2.26, and now my arch is a complete mess: user modules don't load at boot, dhcpcd is not working so I don't have internet access and
-
Exception table getting dropped
Hi, when i dropped a table from the source, the exception table at the target also getting dropped and a table created at the source will also create/override exception table with the new table's structure. So i am wonding if anyone has any idea or h
-
Hi, Do you think it's possible to get a power cord/wall adapter in Europe for a Macbook that I bought in the U.S or will it mess up the computer? Should I just get a power transformer/converter instead? Mariel