SD-Invoice as e-mail-attachement with e-mail-text
The invoice (Smartform) is always send without the text in the e-mail witch is includet into the transaction NACE. Could you give me an advice for a solution of this problem?
In nace transaction select your application say V3 for billing ,click
on output types ,select your output type,click on mail title and texts and
give the text you required.
Similar Messages
-
Mail attachment with UDF in SAP PI 7.1
Hello,
I need to reproduce this solution in PI 7.1
/people/samuel.chandrasekaran2/blog/2008/10/06/xi-mail-adapter-dynamically-building-attachment-and-message-body-content-using-a-simple-udf
It is about adding lines of a message as an attachment to a mail.
The UDF works for all elements except the lines for the attachment itself.
In order to build the content of the attachment (for this particular requirement) they are using a global variable declared and initialized in the global sections.
But the button for the Java Section to use an imported archive is no longer available in PI.....
So how to solve that issue?
I tried to use a graphical variable instead of a global variable but I have no idea how to add the n lines
from the source message as one import object into the UDF via that graphical variable.
Your ideas are very appreciated!
Best Regards
DirkHi,
yes, it is a little bit different. This is the issue.....
But I am not sure if your links will help:
1) /people/william.li/blog/2008/02/13/sap-pi-71-mapping-enhancements-series-using-graphical-variable
is about a different solution. I do not need to count the number of lines of the source message.
And the second variable is about concat line by line from unbound node to unbound node.
My issue is:
Souce:
Message line (0...unbound) ! ! ! ! ! ! ! !
. ResultLine (1..1)
Mapping:
=> ResultLine1
ResultLine2
ResultLine........ => into UDF to an element (1..1) in one mapping operation.
So that all "ResultLine"s are included.
The result is explained in the given link for Mail attachment with UDF.
So I am not sure how to use this thread for my issue.
In the comments of that blog Christoph Gerber writes that the new variable feature can only handle single values.
So it is not suitable for my purposes as I have a list of values here that needs to be moved into the target message field.
2) http://wiki.sdn.sap.com/wiki/display/Java/UsingEditJavaSectioninMessageMapping
shows where to find the button "Java section" which is not available here in 7.1
3) /people/sap.user72/blog/2005/10/01/xi-new-features-in-sp14
too is about the nice little button for Java Section that is no longer existing on PI 7.1 screen for mappings.
So my issue is: How to replace the Java section function with global variables in PI 7.1?
Best regards
Dirk -
Sending XI-Content as Mail Attachement with specific Filename
Hi,
I want to send the Message-Content as a mail attachment with a specific Filename (e.g. 2005-08-31.csv). The content is a CSV File, not a XML
In the scenario an IDOC is sent to the XI mapped in a CSV-File (via Java-Mapping) and should be send as a Mail Attachment.
Is this possible and how?
Thank you for your help
ThomasHi Thomas,
You can influence the filename with the ModuleTransformBean. You need at least SP9 for this feature.
In the Mail Receiver Channel got to tab "Module"
As first module (before the mail module) enter:
localejbs/AF_Modules/MessageTransformBean as Local Enterprise Bean with any key
For this module key you can use in the module configuration following entries:
Transform.ContentDisposition inline|attachment;filename=<filename>
Transform.ContentDescription <Filename>
Transform.ContentType <MimeType>/<SubType>;name="<filename>"
If you want to send an attachment, use:
Transform.ContentDisposition attachment;filename="MyFile.csv"
Transform.ContentDescription MyFile
Transform.ContentType text/plain;name="MyFile.csv"
If you use the Mail Package, you can set the file name that way:
<ns:Mail xmlns:ns="http://sap.com/xi/XI/Mail/30">
<Subject>Hello</Subject>
<From>[email protected]</From>
<To>[email protected]</To>
<Content_Type>text/plain;name="MyFile.csv"</Content_Type>
<Content>Here comes the CSV Data</Content>
</ns:Mail>
Hope that helps,
Stefan -
Sending a document as an mail attachment with approve and reject button
Hi all,
i have an infopath form where a user fills the form and on submit the form is saving as an document in the document library,
now my question is, how can i get this document as an mail attachment with approve and reject option.Hello,
You need to hide them on form load for user. Add one more hidden control in form and keep control value blank initially. Now add rule on button submit to set the control value to some other so you can hide/show the button.
Now add rule on approve and reject buttons that, if field1 is blank then hide this control.
http://office.microsoft.com/en-in/infopath-help/add-formatting-rules-HA101783371.aspx
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
Mail freezes when I want to add an attachment with my mail.
Since I installed OS 10.9 mail freezes when I want to add an attachment with my mail. How can this be resolved?
My iMac is from mid 2007 with 4 GB internal memory and 1 TB of diskspace of which 45% is used.Go to Settings>Store, tap the ID shown, sign out, sign back in with the ID you want to use.
-
Dynamic file name as mail attachment in receiver Mail Adapter?
Hi,
Can any one tell the possibility of attaching file as a mail attachment without using mail Package with dynamic filename.
Business requirement is to send error response as mail attachment with dynamic name.
Ex: Error_Response_20110802_13.24 where 20110802 is Date and next part represents time stamp.
File attachment name should change dynamically in Mail receiver Adapter. Thanks
Regards,
Sreeramulu Konjeti.there is no standard way.
you will have to write a module to get this in place.
other ways are;
XI Mail Adapter: An approach for sending emails with attachment with help of Java mapping - /people/stefan.grube/blog/2007/04/17/xi-mail-adapter-an-approach-for-sending-emails-with-attachment-with-help-of-java-mapping
Dynamic name in the mail attachment - pseudo "variable substitution" :
/people/michal.krawczyk2/blog/2006/02/23/xi-dynamic-name-in-the-mail-attachment--pseudo-variable-substitution -
HT1277 How do I sync Google Apps mail account with Apple Mail 5.2?
How do I sync Google Apps mail account with Apple Mail 5.2?
To add your Google Apps mail account:
1. Select Mail-->Preferences
2. Select the Accounts icon and click the + button in the lower left corner.
3. An Add Account screen should appear
ADD ACCOUNT
4. Add your
Full Name
Email Address, and
Google Apps password
in the appropriate boxes.
5. Click the Continue button and the Incoming Mail Server screen should appear.
INCOMING MAIL SERVER
6. From the Account Type pull down menu, select Exchange IMAP.
7. Fill in the text boxes as follows:
Description: what ever makes sense to you
Incoming Mail Server: imap.gmail.com
Username: [email protected]
Password: Google Apps password
Outlook Web Access Server: www.gmail.com
8. Click the continue button and the Outgoing Mail Server screen should appear.
OUTGOING MAIL SERVER
9. Fill in the text boxes as follows and make sure Use only this server and Use Authentication is checked:
Description: what ever makes sense to you
Outgoing Mail Server: smtp.gmail.com
8. Click the Continue button and the Account Summary screen should appear.
ACCOUNT SUMMARY
9. Click the Create button
10. You're done! -
Mail Attachment with attachment name = mail subject name
Hi,
I am using the mail adapter and today I am using hard codes attachment names using the MessageTransformBean. I have read the blog /people/michal.krawczyk2/blog/2006/02/23/xi-dynamic-name-in-the-mail-attachment--pseudo-variable-substitution about dynamic filenames but how do I get the eMail subject as a viriable to create the attachment?
Thanks
JuergenJuergen my weblog was the simplest suggestion to your issue - you can put the mail subject anywhere in
message get it (and remove) in the adapter module
you can also try to get the
Adapter-Specific Message Attributes from the adapter module
http://help.sap.com/saphelp_nw04/helpdata/en/43/09b16006526e72e10000000a422035/content.htm
but I'm not sure it the second solution works with adapter modules - but you can do an easy check
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a> -
Mail attachment with time stamp
Hi
My scenario is Proxy to Mail.
On receiver side I am getting the data as an attachment but i want that attachment with time stamp.
How to add time stamp to the attachment in reciever mail adapter.
Regards
Sowmya
Edited by: Sowmya on Aug 28, 2008 12:24 PMhi sowmya,
The bellow link for MessageTransformBean..
[http://help.sap.com/saphelp_nw70/helpdata/EN/57/0b2c4142aef623e10000000a155106/content.htm]
In that ContentDisposition is used to fill the value for Attachment file name..
Its allows the value accordingly "RFC1806" Note..
RFC1806 allows accordingly RFC822 ..
Check RFC822 ..
5. DATE AND TIME SPECIFICATION
Regards,
Prakasu -
Can you create a pdf e-mail attachment with working hyperlinks?
I'm trying to figure out how to generate an e-mail with working hyperlinks where the recipient doesn't have to open the pdf for the links to work...in other words, when they open the e-mail and view the pdf as it is displayed, the links are visible and the viewer can click on them and go to a URL. I see this all the time, and can't figure out how to do it with a pdf (I've added the links with the link took in pdf and they display within the application window, but disappear when the file is an e-mail attachment) or with html. I've attached the pdf that I'm trying to make interactive within an e-mail message. Any help that can be provided is much appreciated!
Michael your answer is colored by the fact you use an ASCII (Text only) News Reader.
The answer is more along these lines:
PDF's can be created with working hyperlinks.
They can be automatically be brought over from programs such as MS Word, Open Office, and such provided your on a PC Platform
they can actually be viewed and clickable from Acrobat or Reader PC Versions, if created from a PC Version.
they are not viewable or clickable if created from Mac version of Office.
They are viewable and clickable from a PC if created from Mac version of Office (Word/Excel)
The Mac can can not do so automatically you must do them Manually with in Acrobat.
in Past it has been a Pain to do so though may be different in version 9
If you use a browser Plugin such as Schubert's PDF Browser Plugin that works on Safari, fireFox, Camino, SeaMonkey Opera, OmniPage, iCab. Links you create in Mac version of Acrobat are viewable and clickable.
Finally MS and Adobe have been having this on going problem since the day's PDF's first hit the market. (Version 1.) and MS decided to support them. The hooks are there for both PC and Mac versions of Word. and either are capable of being created and acted upon on whether created by the Mac version of Office, or the PC version of Office, but only on a windows PC. Its clearly a problem of Acrobat/Reader on the Mac. Its either a problem Adobe won't own up to, or they can't solve or, this is one item they can't be bothered with to put in the Mac Versions.
Some of this information is based on my participation in the msnews. nntp newsgroups for Office Mac. The experts there for the most part (MVP's) use both Mac and PC's and have investogated the problem themselves and been give information from the MacBU (Mac Business Unit) at MicroSoft. The basic internal code of Office 2003/2004 is the same. The UI is different and key cobinations are different. And same for 2007/2008 except office 2008 don't support VBA and Macros, and neither 2004 nor 2008 have MasterPages, And thankfully according the the MVP's Thankfully the Robbonis not supported on 2008. -
Sending SmartForm as E-mail attachment, with email subject and content
Hi,
I'm, e-mailing a SmartForm using the SmartForm parameters (MAIL_RECIPIENT, MAIL_SENDER and MAIL_APPL_OBJ) using control device 'MAIL'.
Create MAIL_RECEPIENT (swotobjid): CREATE_RECIPIENT_OBJ_PPF
Create MAIL_SENDER (swotobjid): CREATE_SENDER_OBJECT_PPF
Create MAIL_APPL_OBJ: This works a little different. The sender needs to have an SAP Office Inbox (SO_USER_AUTOMATIC_INSERT) where a folder is to be created using the marco's swc_create_object and swc_object_to_persistent (INCLUDE <cntn01>).
Everything works fine.
The mail is being send and the SmartForm can be accessed as attachment, the E-Mail subject (as the name of the attachment) is taken from the title of the SmartForm (output_options-tdtitle).
QUESTION *
No they want to change the E-mail subject en change the content(body) of the mail.
Is this possible within the options of the MAIL_APPL_OBJ.
Or do have to rebuild the SmartForm program, get the SmartForm as OTF, rebuild as PDF en mail the PDF to the recepient using the SO_NEW_DOCUMENT_ATT_SEND_API1.
I was thinking of creating a container and set the elements of that container (swc_set_table ?) but I don't no in the end if this woll work.Refer the following Blog-
http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417300)ID0426134050DB01517382336190791762End?blog=/pub/wlg/1798
generate filename as yesterday's yyyymmdd format, and it must send file with same name with yyyymmdd
You need to use the following UDF to generate yesterday's date-
Imports: java.text.;java.util.;
public String yesterday(Container container)
long oneDay = (long) 1000.0 * 60 * 60 * 24;
DateFormat dateFormat = new SimpleDateFormat("yyyyMMdd");
java.util.Date today = new java.util.Date(System.currentTimeMillis());
java.util.Date yesterday = new java.util.Date(System.currentTimeMillis()-oneDay);
String b = dateFormat.format(yesterday);
return b;
Map this with Content_Disposition as mentioned in wiki.
XI 3.0 message must be executed one a day automatically (for example at 9.00 Am).
Use 'Availability Time planning' for CC as mentioned above.
http://help.sap.com/saphelp_nw70/helpdata/EN/45/06bd029da31122e10000000a11466f/content.htm -
Sapscript via mail: attachment with body
Hi all
I need your opinion in order to solve the problem in object
I've an old bill message to be sent via mail, so I've set the customizing by NACE and now it works fine
The problme is the sapscript is attached to e-mail as pdf but any text is inserted to body mail:
any text can't be inserted: I saw the note 753622 (Sending of body text and PDF attachment with medium 5), it speaks clearly, it's not possible to add a text.
So the only solutions seem to be:
- to try to change the form function in order to add a text as note [like here|Setting Mail Subject and Body;
- Send the mail by your self (getting OTF data)
How have you solve it?
Thanks
MaxHi Max,
If I need any sort of email body for an output-based email, I always implement a custom processing routine with mode '5' or mode '8' and leverage existing data retrieval calls where possible. As you've seen, SAP's output processing options are very limited and clumsy for email processing. A more professional HTML email body is the way to go - your best option is to handle it yourself.
Brad -
Mail Sending- with Unicode enabled text in the attachment
hi,
i have a specific requirement for JAPAN country. its as follows:
i am retrieving delivery details into my program & i need to send them as in a mail attachment(as CSV file) to particular mail id.
for sending mail, i am using the function module "SO_NEW_DOCUMENT_ATT_SEND_API1".
here is my problem :
as this program will be used by JAPAN people, some of the delivery details are stored in Japanese (text like Customer name,street address etc..)
.so when i am trying to send it as attachment these japanese text is not appearing correctly in the mail attachment. its appearing as Junk characters.
i observed here the problem is may be because these Texts are not sending with UNICODE format. may be the default format is ASCII, which can not
interpret Japanese text properly.
so pl let me know is there any new function module where we can mention the Encoding format like UNICODE ?? or can i use the
same above mentioned function module with providing this UNICODE value somewhere....
regards
srikanth,Intelligroup.
Message was edited by: Srikanth KidambiHi,
Check the answer from xiaoming cai in this thread:
Send mails with attachment to external email id
Eddy -
Need Java Coding to sent File in a Mail Attachment with MIME Type with SMTP
Hi Experts,
I need java code to sent a file in an email attachment with MIME type.
Please provide me.
TYhanks
BhaskarHi Stefan,
Thanks for your Blog.
The same java mapping is been used in my current system, but the legacy system cannot read
some emails as they are asking us to send the email in MIME format.
Already i am sending in MIME format itself.
They can read some Emails and they cannot ream some Emails.
I think the problem could be their exchange server.
Can you please suggest on this.
Regards,
Bhaskar -
Email attachment filenames appear as "mail attachment".doc or "mail attachment."pdf
Hi,
I have Mac OS 10.7.5, I've synchronised my hotmail/outlook address to Mail application.
I have no issues with sending or receiving emails with attachments.
The problem I'm having is that the filename of all attachments appear as "mail attachment.doc" for Word files or as "mail.attachment.pdf" for PDF files.
1) If I log on to my hotmail account through the browser the attachments appear with the correct file name.
2) The attachment file names happen to also appear correctly on my iPhone.
3) I have other mailboxes set up in Mail application and attachment file names appear correct.
It seems to be an issue with Mail application and the hotmail/outlook account.
I would appreciate if anyone can give me some feedback on this issue.
Kind regards,
Doble KoronaPeter
Some things to try - after each step, see if it works...
Ensure that you have the latest version of the OS and Quicktime and iPhoto.
1. Repair Permissions using Disk Utility
2. Delete the com.apple.iPhoto.plist file from the home / library / preferences folder. You'll need to reset your User options afterwards.
3. Download BatchMod from
http://macchampion.com/arbysoft/
And apply it to the iPhoto Library Folder using the settings found here:
http://homepage.mac.com/toad.hall/.Pictures/Forum/BatChmod.png
(Credit to Old Toad for this one).
4. Create a new account (systempreferences -> accounts) and see if the problem is repeated there. If it is, then a re-install of the app might be indicated. If it's not, then it's likely the app is okay and the problem is something in the main account.
Regards
TD
Maybe you are looking for
-
How do you edit sound in multicam (cs5)
Hi all, I always see people raving about multi cam editing for wedding speeches but on the 10 or so occasions Ive given it a try I just give up instantly due to the fact that I feel so limited in what I can do with the audio. I would use it for weddi
-
Unable to send or recieve images via drag and drop?
I am unable to send or recieve jpg and gif images by dragging and dropping from finder. How do I fix this?
-
User Error Needs Help Correcting - Repeatable Tag on Custom Section Attribute
OK, I have v.6111. Today I am manually putting the supplier_eq_create tag on all the the existing attributes in our custom sections so suppliers can add them when we send eQs. Unfortuately, I accidently clicked on the Repeatable tag instead of Suppl
-
Is a license required for Oracle 11g installed on private developer box?
Hello, I wish to install Oracle 11g on my personal computer to test some software that hits a database. Will I be able to install/run 11g on my machine for this use, or will it (eventually) prompt me for a license key? If I need a license, is there a
-
How to get back to Selection Screen from Drill Down Screen in ALV
Hi All How can I come back directly to the Selection Screen from the drill down screen of an ALV Report i.e. in an Interactive ALV Report when sy-lsind > 1. Thanks Kulpreet