Email body text
Hello,
we need to add a mailbody text to a standard mail (e.g. sales order confirmation using program SAPMV45A).
The output type was defined using transaction NACE with application V1 and medium 5 (external sending).
Currently we have only the PDF attachment without any text.
The mail text using transaction V/30 cannot be used for external sending (-> OSS 191470).
Is it possible to fill the mailbody text (argument: contents_txt in SO_DUCUMENT_SEND_API1) with standard customizing?
Or is a modification necessary?
Thanks in advance for your help.
Marian.
Hello,
I am working in a 4.7 environment using standard output configuration using transaction NACE and I also could not get standard SAP to add email disclaimer text into the body of the email. Here is what I did:
1) In function module SO_OBJECT_SEND, I added an include statement (this IS a modification to SAP):
tm = cl_os_system=>get_transaction_manager( ).
if not tm is initial.
t = tm->get_current_transaction( ).
if not t is initial.
t->set_mode_update( oscon_dmode_direct ).
endif.
endif.
catch cx_os_error cx_os_system_error.
endtry.
INCLUDE ZZMVxxxxxx.
create send request
CALL FUNCTION 'SBCOMS_SEND_REQUEST_CREATE'
exporting
originator = originator
originator_type = originator_type
IMPORTING
SEND_REQUEST = send_request
TABLES
OBJCONT = objcont
OBJHEAD = objhead
OBJPARA = objpara
OBJPARB = objparb
2) In the INCLUDE, I added this code which retrieves standard text object and populates the table which becomes the email body:
DATA: ZZ_lines LIKE tline OCCURS 0 WITH HEADER LINE.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT*
ID = 'ST'
LANGUAGE = 'E'
NAME = 'Z_EMAIL_DISCLAIMER_GENERAL'
OBJECT = 'TEXT'
ARCHIVE_HANDLE = 0*
LOCAL_CAT = ' '*
IMPORTING*
HEADER =*
TABLES
LINES = ZZ_LINES
EXCEPTIONS*
ID = 1*
LANGUAGE = 2*
NAME = 3*
NOT_FOUND = 4*
OBJECT = 5*
REFERENCE_CHECK = 6*
WRONG_ACCESS_TO_ARCHIVE = 7*
OTHERS = 8*
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO*
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.*
ELSE.
LOOP AT ZZ_LINES.
MOVE ZZ_LINES-TDLINE TO NOTE_TEXT-LINE.
APPEND NOTE_TEXT.
ADD 1 TO SIZE-NOTE_TEXT.
ENDLOOP.
ENDIF.
3) Finally, I created the standard text object Z_EMAIL_DISCLAIMER_GENERAL and added the following text:
PLEASE DO NOT REPLY TO THIS EMAIL. IF YOU HAVE QUESTIONS, PLEASE
CONTACT YOUR <your company's name> REPRESENTATIVE.
This communication is intended for the use of the addressee only and may
contain information that is privileged or confidential. If you are not
the addressee, you are hereby notified that any dissemination,
distribution or use of this communication is prohibited. If you received
this communication in error, please destroy it, all copies and any
attachments and notify the sender as soon as possible. Any comments,
statements or opinions expressed in this communication do not
necessarily reflect those of <your company's name>, its subsidiaries and
affiliates.
Hope this helps.
Edited by: Bruce Risto on Jun 18, 2009 11:27 AM
Edited by: Bruce Risto on Jun 18, 2009 11:54 AM
Similar Messages
-
How do I add an email body text for remittance advices / payment advices?
Hello,
I am trying to send an email body text with the pdf remittance advice to my vendors.
Background:
We are running automatic payments to vendors via transaction F110. We have configured the pay run to produce remittance advices for vendor payments. Finally we activated the BTE 00002040, through transaction FIBF, to use a custom copy of the function module SAMPLE_PROCESS_00002040.
Our payment run sends emails with pdf-file attachments to our vendors correctly.
<b>The Issue:</b>
I can not find a way to add text to the body of the email with the attached remittance advice.
Has anyone advise on how to populate the email body with text?
Thank you and best regards
Karsten AroldHello Subhashree,
I have not implemented the functionality, but I found rerference to SAP Note 1033893 in another forum post.
Email text to Payment Advice in BTE2040
Allan -
Purchase Order External Send with email body text
hi guru,
i saw lot of threads but i didn't get coreect answer
i did below process
Goto NACE .
u2022 Select EF and click on OUTPUT TYPES.
u2022 Then select Output Type NEU and click on processing routines .
u2022 In that you have to add a new entry - medium 5 .
u2022 Then you need to assign a program, form routine and form.
u2022 You can use the standard program i.e. SAPFM06P, FORM routine is always ENTRY_NEU and standard MEDRUCK.
u2022 Then in PARTNER FUNCTION you need to add a new entry : medium - 5 and function - VN .
u2022 For subject of the mail goto Mail Title and Texts. In title give PO No. &EKKO-EBELN& .
u2022 Under General data -> Replacement of text symbols give programm as SAPMM06E and Form Routine as TEXT_SYMBOL_REPLACE .
u2022 Now the subject will be PO No. 1800004202.
u2022 You need to maintain your email id in tcode SU01 and also the vendor's email id.
u2022 Now while creating a new purchase order , change the medium to External Send .
u2022 Then goto Communication Method and select CS01 . ALSO make sure that the Cover Page Text has value PO No. &EKKO-EBELN& .
u2022 Goto tcode ME9F .
u2022 Execute.
u2022 Select the checkbox and click on Output Message.
u2022 You will get a message MAII 00000000000001 generated .
u2022 Use note no 191470
mail subject is going ,but mail text is not coming.
some people suggest this sap note
Note 786847 - E-mail purchase order w/ e-mail text and several attachments
i did not get this note.
give the solution for email body text ,i read some thread,it will solve through abap development .
please give solution
regards
vijayHi
1. GO to tcode SCOT.
2. Double click on SMTP
3. Click on the set button next to internet
4. In this screen for SAP Script/ Forms select TXT.
Regards
Girish
Edited by: Girish Bettaiah on Aug 8, 2011 3:11 PM -
Where to find email body text saved in SAP tenant system?
Hi
i wants to change email body text, in my tenant sap system we have one mail format like body as below:
Hi customer,
Thank you for your order.
Yours sincerely,
xyz
now i wants to add some extra text in the above body text. for now i am editing it for every order. i want it to setup once.
below step i am using:
https://my____.sapbydesign.com
first login to your tenant system and go to sales order workcenter-->select one sales order id-->view all(in the right most corner)-->now click on you can also button-->edit output settings.
one window will get open here i am editing the body text.Can anybody suggest me where i can find this saved email body text so that i can append some text in this.Hi Douglas,
Thanks for reply.
Your given link dosent opens "server not found" error. And Last time i had raised an incident to SAP and got the below reply(Some part of reply).
"Email body text field feature will be available in FP 1302 system the BO: /DOC/OM_DOCUMENT_OUT_REQ -> ROOT->ITEM->EMAIL_BODY_TEXT field is PSM write access is enabled."
"standard email
template can further be modified by making the field
“EMAIL_BODY_TEXT” PSM enabled.
The hierarchy is ROOT->ITEM->EMAIL_BODY_TEXT.
This feature can only be available in FP 1302 and above systems".
Can you help where and how i can use this. -
Sending PO (PDF attach.) via email: adding email body text
Hi,
I need to send Purchase Orders to Vendors as PDF attachments to emails; I have successfully configured all the necessary:
For Output Type NEU
1) Access to conditions (General Data) set to X
2) Dispatch time 3 Send with application own transaction
3) Transmission Medium 5 for External send
4) Processing routines 5 includes a customer Program and Form to make use of my SAPScript
I have set up a Communication Strategy (NET - Internet) and created a condition based on a specific document type.
Using ME9F I can select my PO and successfully output the message - I can view the request using SOST and an email with the PO attached as PDF is sent to the correct recipient (email address of Vendor).
I would like though to add some text to the body of the email, which is totally empty. Can anyone please advise on how to achieve this? In the Output Type config there is a section "Mail title and texts"... can anyone tell me whether this section can be used to add body text to the email and how? I have managed to customise the "Title/Subject" of the email and PO but cannot find a way to add some text in the email body.
Thank you very much for your help.
GabHi Danilo,
You need to do some configuration for this.
- Goto NACE .
- Select EF and click on OUTPUT TYPES.
- Then select Output Type NEU and click on processing routines .
- In that you have to add a new entry - medium 5 .
- Then you need to assign a program, form routine and form.
- You can use the standard program i.e. SAPFM06P, FORM routine is always ENTRY_NEU and standard MEDRUCK.
- Then in PARTNER FUNCTION you need to add a new entry : medium - 5 and function - VN .
- For subject of the mail goto Mail Title and Texts. In title give PO No. &EKKO-EBELN& .
- Under General data -> Replacement of text symbols give programm as SAPMM06E and Form Routine as
TEXT_SYMBOL_REPLACE .
- Now the subject will be PO No. 1800004202.
- You need to maintain your email id in tcode SU01 and also the vendor's email id.
- Now while creating a new purchase order , change the medium to External Send .
- Then goto Communication Method and select CS01 . ALSO make sure that the Cover Page Text has value PO No. &EKKO-EBELN& .
- Goto tcode ME9F .
- Execute.
- Select the checkbox and click on Output Message.
- You will get a message MAII 00000000000001 generated .
If the BASIS guys have made the necessary configuration for sending mail then the mail will go .
You can see the status in tcode SOST.
If you want to use a z-programm and z-form then you need add the functions used in standard programm SAPFM06P for generating mail in your z-programm.
Hope it helps,
Swapnil -
Hi ALL,
I need to display the following data in the email body with Material records and DIR records
Line 1 (Header Line):
"Material Master Records "
Line 2:
[ space ]
Line 3 (New Record):
Material Number Material Desc. MatGrp Basic Material UOM
Line 1 (Header Line):
"Document Info. Records "
Line 2:
[ space ]
Line 3 (New Record):
DocType Document Part Version Doc.Desc.
I am using the FM 'SO_NEW_DOCUMENT_ATT_SEND_API1' to send the mail and populating the contents_txt internal table with Material and DIR records using OFFSETS.
I am getting alignment problems and space is getting trucated between the fields.
Can somebody tell me how to do a proper formating to the email body
Thanks
BhaskerI hope every thing in the mail is in Charater format , every field and length .
the only thing for these sort of option is to have a fixed distance based on max and min length the text can occupy .
Line 1 (Header Line):
"Material Master Records "
Line 2:
[ space ]
Line 3 (New Record):
Material Number Material Desc. MatGrp Basic Material UOM
declare the text as
begin of itab occurs 0 ,
s1(200) type c,
endof itab
1. first text for the header .
itab-S1+10(100) = " Header text'.
append itab .
clear itab.
2.
append itab ====> fill force an empty line
3.
use concatenate f1X(Y ) f2X(Y ) itab-f3+X(Y ) into itab-s1 separated by space
append itab.
will keep the format in justified format .
similarly repeat the same for the second header .
regards,
vijay -
Sending Textmodule in email body text
Hallo,
can some body tell me how can I send a textmodule in email body with all of its fomats in a print program. I am successed to send email in print program. I read the text module in internal table but not able to import the formats of text module.
can somebody help me
regards
waseemAs a start, you can convert the ITF formatted text to HTML formatted text (using one of the available function modules) then send your e-mail body as type 'HTM'. Otherwise, start from scratch and generate the HTML content yourself using CSS.
-
Financial Reporting 9.1.3 - Modifying Email Body text of cmd line scheduled
I would like to add text to the body of the command line scheduled email that is sent out using Financial Reporting.
Ideally I would like to suppress the text that is automatically added to the body of the email by Financial Reporting as well.
I have modified the subject line by modifying the XML files.
I tried adding text to the body tag, but that does not seem to be working. (no matter what I put into the body tag it does not show up).
any ideas?Hi,
Have you configured the SMTP server settings in the various config files for the new version that you are using? Your log seems to suggest that it is still set to 'mail' which I think is the default.
I think the minimum you need to do is Essbase, Financial Reporting and Workspace, files as detailed below (paths may vary depending upon platform, windows & tomcat provided below even though it sounds like you've done this before).
Essbase: C:\Hyperion\AnalyticAdministrationServices\server\ OlapAdmin.properties
Financial Reporting: C:\Hyperion\BIPlus\lib\ fr_global.properties
Workspace: log in and select Navigate > Administer > Notifications
You may also need to restart the related services.
Hope this helps
Stuart Game
www.analitica.co.uk -
Email Body Text Alignment for external emails
Some of the users in my Exchange having problem with email alignment. Whenever they send email to outside the organization like yahoo, hotmail, gmail or any other external domain, the recipient receive the email with centered align even though they sent
the email with left align.
Is this a server issue or their outlook setting issue?
Please reply asap.Hi,
As per the information and details provided by you, I think this is a your Outlook setting issue: -
Please follow this step in your Outlook: -
First open
Microsoft Outlook.
Click on the
File tab.
Click on the
Options > Trust Center > Trust Center Settings.
Click on
Email Security.
Under
Read as Plain Text, select the Read all standard mail in plain text check box.
To include messages signed with a digital signature, select the
Read all digitally signed mail in plain text check box.
Note: - If you want to view a plain text messages in its original format, click the InfoBar, and choose either
Display as HTML or Display as Rich Text.
I hope this information will be helpful for you.
Thanks and regards
Shweta@G -
How is the e-mail body text determined when e-mail sent from PO in edit mod
We have an e-mail that is sent to the supplier when the buyer edits the po then goes to header-output - create and send immediately. We want to remove the SAP default Salutation
Best Regards,
Your Purchasing Company
The problem is we cannot find where this e-mail body is being created. Any ideas?
SandraHello,
The email body text that you get at SOST is from the cover form BBP_OUTPUT_COVER.
When you Order a PO, the following is the text is seen in SOST.
"&LV_TITLE&
Please find enclosed the purchase order &IV_PO_HEADER-OBJECT_ID& &IV_PO_
Kind regards,
Your purchasing company"
You can create your own cover form in order to substitute the standard BBP_OUTPUT_COVER.
Regards,
Ricardo -
Email body [Tags] that work ?
Is there a list of the metadata tags that work in email body text anywhere?
Which tags like [Title] etc will parse to the correct metadata when sending mail directly out?
Ta
JOnly sometimes the content of a field never becomes visible, even when you follow mattbodmans suggestion; see this thread:
http://discussions.apple.com/thread.jspa?threadID=2292088&tstart=0
I've been thinking: Is it important how devices are defined: 'Device is master' versus 'Final Cut Server is master'? Could this have effect on the content of the fields?
Or should there be some mapping?
Henk Rek -
With "Download Headers" option checked, opening plain text emails results in cropped body text
When I open raw plain text emails (i.e. not formatted as HTML) I only see the first
255 characters of the email body; all of the remainder is chopped off, and never appears no matter how many times I re-open the email.
I have narrowed this down to my somewhat unusual download preferences in Outlook. They are configured as follows:
Send/Receive -> Download Preferences -> Download Headers (checked).
I know the email text is there in full, because when I point my web browser at OWA, I can see the full body.
If at first I choose Mark to Download and then Process Marked Headers, I can then open the plain text email and see the body in full.
When I open HTML emails I have no problems, regardless of whether the email download was forced or not.
This issue existed on my old Office 2010 installation for XP too. It persists now I have upgraded to Office 2013 on Win 7.
This is not an acknowledged issue yet within the Outlook team (in fact, a possibly related issue was
reported by someone else 3 months ago but suggested to be a font corruption issue, which is incorrect).
It seems like Outlook just forgets to download the full text for plain text emails when opening them. It's repeatable every time, so it doesn't seem like a race condition. (To reproduce: set your Inbox download preferences as above, then send
yourself a plain text email, wait for the Inbox headers to finish refreshing and then open the new email).
We use a 3rd party provider (Cobweb) for our email service and I believe they are using Exchange 2013.
We use ESET Smart Security Suite and I have tried disabling the scanner for that but see no change in the outcome. I would appreciate if anyone without ESET could try to reproduce these steps for themselves and confirm.
Starting Outlook in Safe Mode does not solve it.
Note: I already asked this
question at the Office Community site and it was suggested I
post on the Exchange Server Outlook Clients forum. The feedback there suggested it to be client related, so now I've been directed to post here!
Thanks,
MarcelHi Melon, thanks for your response.
My plain text font is set up as the default, Automatic.
In any case, I can see the first 255 characters of the plain text body, so plain text font colour can be eliminated as a potential problem.
After the 255th character, the body text then stops. There are no "hidden characters". If I shrink the window height to accommodate just what I see, the vertical scrollbar does not appear. This confirms that there are no hidden lines of text
below.
The mail is simply not downloaded from the server correctly. If I drag the mail onto my desktop, then view that file in Programmer's Notepad, I can see that after the position representing the 255th character in the body of the email, there is garbage (control
characters).
If, instead, I first mark the email for downloaded and then click the "process marked headers", wait for it to download and then drag it onto my desktop, by contrast, the body contents look complete and this is reflected in the fact that I can
see the whole email when I open it in Outlook.
This problem has so far affected me on four different PC setups (1xWinXP, 3xWin7) and two versions of Outlook (2010 and 2013). However, Cobweb -- our cloud email provider -- did recently upgrade to Exchange 2013, so that might be an important factor.
I don't think I can remember seeing these plain text issues in the 10 years previous to that upgrade during which I've been using various flavours of Outlook.
I have supplied repro steps in the original report above. Could someone please try these? I have expanded them in full below for simplicity:
To reproduce:
1. Change your download preferences in Outlook. They are configured from the ribbon bar as follows (assuming you are using Outlook in Cached Exchange mode, connecting to Exchange 2013):
Send/Receive -> Download Preferences -> Download Headers (checked).
2. Send yourself a plain text email containing more than 300 characters of text.
3. Wait for the Inbox headers to finish refreshing.
4. Open the new email.
Result: The email body will be truncated at the 255th character.
Expected: The email body should show all the characters. -
BI Publisher 11g - not able to get TEXT output in the email body
I am trying to send TEXT report output generated by ETEXT templates in the email body by setting up the Bursting defintion in the Data Model using the following query. It is always sending it as an attachment though PARAMETER6 is set as false. Please advise on how to make it work?
It seems PARAMETER6 does not have any effect on how it works.
select
customer_id KEY,
'Etext_Template' TEMPLATE
'ETEXT' TEMPLATE_FORMAT,
'en-US' LOCALE,
'TEXT' OUTPUT_FORMAT,
'EMAIL' DEL_CHANNEL,
null TIMEZONE,
null CLAENDAR,
customer_name || '_status' OUTPUT_NAME,
'true' SAVE_OUTPUT,
'[email protected]' PARAMETER1,
null PARAMETER2,
'[email protected]' PARAMETER3,
'Status Report for ' || customer_name PARAMETER4,
null PARAMETER5,
'false' PARAMETER6,
null PARAMETER7,
null PARAMETER8
from dpmi_customers_v
The Oracle BI Publisher version is 11.1.1.5.0.
Thanks,
SujaControl click or Right Click on the attachment in the body of the email and select 'View as icon'.
There is a (paid for) mail plugin called Attachment Tamer which helps Mail do a much better of handling attachments - giving much more control over how they are viewed/arranged/received. It's available from http://lokiware.info/Attachment-Tamer
(Usual caveat, I've no connection with Lokiware, just happy with their product). -
Text message to email sent as attachment instead of in email body
I used to have this problem before with my iPhone 4, but it seemed to go away. Now, with the lates OS update it's back again. When I send a text message to my wife's Gmail it arrives as a text file attachment to the email instead of just normal text in the email body.
I use Verizon, and the source of the email is @vzwpix.com. I know that there is also @vtext.com, but in the past it hasn't mattered which one was used.
Any ideas?If you try reading other posts here about attachments and such you may get a hint. It sounds like all email programs would work fine if people just sent plain text. Problems arise when we use RTF (rich text format) and HTML. Possibly the original email you received had formatted text. My guess is that if you forced that text into plain text then it would be readable by all. This is the reason that only some people have trouble with the forwarded text. It depends on their email client or even on settings of that client.
Good luck. -
Email body appears in very small text on 6 Plus
New iPhone 6 Plus shows email body too small to read when opening an email. It's tiny. I know I can zoom with pinch out or double tap but this is no good for me. Reason for big phone is to see/read content easily and to be more productive (not less).
Has any one else seen this and is there a solution? Text size in settings does not affect email body and problem exists in zoomed or standard view and also landscape or portrait.
Any help appreciated.
Nick
PS can't attach screen shot to this Apple forum using my iPhone!!!! The chose file button doesn't work.Hi,
Could be a problem on the mail client side... Could you have a look to the Mail format and try with another one?
e.g. in Outlook: Tools->options->Mail Format
Kr,
m.
Edited by: Manu D'Haeyer on Oct 3, 2011 7:35 PM
Maybe you are looking for
-
I just burned several cds that I purchased new that, after importing, only show up in my iTunes in the Recently Added folder in Playlists. They do not, however, show up in Albums or Artists. As well, they do not sync to my iPod at all. Also, the p
-
BAM error - during start oracle BAM
Hi, I am getting the below mentioned error while starting Oracle BAM, i have installed BAM 10g release (10.3), there were no problems in installation. Any help will be highly appreciated. Rgds, Jay The service name is invalid. More help is available
-
Says my Wifi password incorrect all of a sudden
I've been using my ipad (newest version) for 6 months with no Problem- all of a wifi says password is incorrect..my network is recognized and every other wireless thing we have in the house works fine- I've tried rebooting router, resetting all thing
-
Setting Negative Forecast Values to Zero
In 7.0 we used a option - Setting Negative Forecast Values to Zero. But after upgrade to 7.3 this option is missing and I can find any information about this. Can we open the option in 7.3? Anatoly
-
updated MBP to 10.8.2, and ISO6 on iPad3, safari on both device started having problems behind proxy server. 1st, 10.8.2 desnot remember proxy user name and password anymore. every time i put in my username and password, it wil be gone(got erased its