Change email subject
Dear Expert,
May I know how can I change the subject of the email sent from alert management?
It now shows "SAP Business One mail message, the subject is in the message body.".
Thanks.
Best Regards,
Sandra
I found the following in an old SAP Note:
Is there a way to remove the SAP Generation Message from emails that are sent from SAP?
The email signature can be changed using the following steps:
Open SAP Business One Service Manager.
Choose the 'SBO Mailer' Service.
Click on the 'Settings' Icon.
Click on the 'Change Email Signature' button.
Choose 'Use user defined signature' check box.
Add signature.
Save the new settings.
Hope this might help?
Similar Messages
-
Change Email subject line for PDF output through smartforms
Dear all,
Currently i am working in Client ECC6.and we are useing The Smartform for Sending PDF document to the Customer.
Since recently email was setup so these invoices can be mailed directly to the customers, but we face the problem that when invoices are sent via email, the subject is like this.
From: Ramesh Babu mailto:ramesh_babu@abc
Sent: Wednesday, August 27, 2008 10:40 AM
To: Babu, Ramesh
Subject: New Invoice (mail/prnt).
Now the customer Requirement is that ,they dont want to disclose the Email address of the sender.
so they want to change the Form line and one hard codeed line always send to the customer like Ex below.
From: "Help Me Please'' .
This will aplicable for all sender ,if he send it by foreground or background as well.
so could you please sugest me how can i do that coding,or is there a user-exit to overrule the Standard SAP behaviour.
My Print program name: ZLB_BIL_INVOICE .
Regards,
MoniHi,
refer this,
you can change the subject line.
FORM docu_send_email USING pv_otfdata TYPE tsfotf
pv_emailid TYPE any
pv_formname TYPE any.
DATA: lv_filesize TYPE i,
lv_buffer TYPE string,
lv_attachment TYPE i,
lv_testo TYPE i.
DATA: li_pdfdata TYPE STANDARD TABLE OF tline,
li_mess_att TYPE STANDARD TABLE OF solisti1,
li_mtab_pdf TYPE STANDARD TABLE OF tline,
li_objpack TYPE STANDARD TABLE OF sopcklsti1,
li_objtxt TYPE STANDARD TABLE OF solisti1,
li_objbin TYPE STANDARD TABLE OF solisti1,
li_reclist TYPE STANDARD TABLE OF somlreci1,
li_objhead TYPE soli_tab.
DATA: lwa_pdfdata TYPE tline,
lwa_objpack TYPE sopcklsti1,
lwa_mess_att TYPE solisti1,
lwa_objtxt TYPE solisti1,
lwa_objbin TYPE solisti1,
lwa_reclist TYPE somlreci1,
lwa_doc_chng TYPE sodocchgi1.
CONSTANTS: lc_u TYPE char1 VALUE 'U',
lc_0 TYPE char1 VALUE '0',
lc_1 TYPE char1 VALUE '1',
lc_pdf TYPE char3 VALUE 'PDF',
lc_raw TYPE char3 VALUE 'RAW',
lc_ordform TYPE char15 VALUE 'ZORDCONFIRM_01',
lc_attachment TYPE char10 VALUE 'ATTACHMENT'.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = lc_pdf
max_linewidth = 132
IMPORTING
bin_filesize = lv_filesize
TABLES
otf = pv_otfdata
lines = li_pdfdata
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
err_bad_otf = 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.
LOOP AT li_pdfdata INTO lwa_pdfdata.
TRANSLATE lwa_pdfdata USING ' ~'.
CONCATENATE lv_buffer lwa_pdfdata INTO lv_buffer.
CLEAR lwa_pdfdata.
ENDLOOP.
TRANSLATE lv_buffer USING '~ '.
DO.
lwa_mess_att = lv_buffer.
APPEND lwa_mess_att TO li_mess_att.
CLEAR lwa_mess_att.
SHIFT lv_buffer LEFT BY 255 PLACES.
IF lv_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
Object with PDF.
REFRESH li_objbin.
li_objbin[] = li_mess_att[].
DESCRIBE TABLE li_objbin LINES lv_attachment.
Object with main text of the mail.
lwa_objtxt = space.
APPEND lwa_objtxt TO li_objtxt.
CLEAR lwa_objtxt.
DESCRIBE TABLE li_objtxt LINES lv_testo.
Create the document which is to be sent
lwa_doc_chng-obj_name = text-008.
lwa_doc_chng-obj_descr = text-008.
lwa_doc_chng-sensitivty = lc_0.
lwa_doc_chng-obj_prio = lc_1.
lwa_doc_chng-doc_size = lv_testo * 225.
Pack to main body.
CLEAR lwa_objpack-transf_bin.
header
lwa_objpack-head_start = 1.
The document needs no header (head_num = 0)
lwa_objpack-head_num = 0.
body
lwa_objpack-body_start = 1.
lwa_objpack-body_num = lv_testo.
lwa_objpack-doc_type = lc_raw.
APPEND lwa_objpack TO li_objpack.
CLEAR lwa_objpack.
Create the attachment.
Fill the fields of the packing_list for the attachment:
lwa_objpack-transf_bin = gc_x .
header
lwa_objpack-head_start = 1.
lwa_objpack-head_num = 1.
body
lwa_objpack-body_start = 1.
lwa_objpack-body_num = lv_attachment.
lwa_objpack-doc_type = lc_pdf.
lwa_objpack-obj_name = lc_attachment.
lwa_objpack-obj_descr = text-008.
lwa_objpack-doc_size = lv_attachment * 255.
APPEND lwa_objpack TO li_objpack.
CLEAR lwa_objpack.
lwa_reclist-receiver = pv_emailid.
lwa_reclist-rec_type = lc_u.
lwa_reclist-notif_del = gc_x.
lwa_reclist-notif_ndel = gc_x.
APPEND lwa_reclist TO li_reclist.
IF li_reclist IS NOT INITIAL.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = lwa_doc_chng
put_in_outbox = gc_x
TABLES
packing_list = li_objpack
object_header = li_objhead
contents_bin = li_objbin
contents_txt = li_objtxt
receivers = li_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 sy-msgid TYPE 'I' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDIF.
ENDFORM. " DOCU_SEND_EMAIL -
Change Email Subject of Outgoing mails
Hello Folks,
I have a requirement wherein I need to add a text "[Test Mail]" in the email subject of all outgoing mails from our dev/test systems. This is to ensure that the end users who are the receipients are able to distinguish the emails sent out by the test system from the emails sent out by the actual production system.
Do let me know if anyone out here has developed something similar or can provide some advice/help into this matter.
Thanks in advance,
AbhishekHi Brad,
We are mainly using CL_BCS as well as FM SO_NEW_DOCUMENT_ATT_SEND_API1 in the system. The problem here is that there is no one fixed/common approach being followed. So I need to understand if there is a way by which I can access all the outgoing mails from the system and change the subject.
One option that I thought was to find out some enhancements or BADIs within CL_BCS and FM SO_NEW_DOCUMENT_ATT_SEND_API1 to manipulate the subject line before the mail is sent out. This would cover most of the cases where mails are sent out from the system, but I am not sure if the mails can be sent out by any other means as well.
abhishek -
Hi ,
For one of my requirement, the email subject and body has to be changed. For order confirmation and quotation, the standard behaviour of having the smartform name as the subject name should be changed and ther ehas to be a dynamic subject name. Similarly the email content should also be changed. Is this possible? Can anyone suggest me the steps?
Thanks.Hi,
Could you please tell what method are you using to create emails?
If it is using workflows then you can change the subject and mail body dynamically using parameters and expressions.
If you are sending mail using an FM call, then also you can create dynamic subject and mail body.
Please provide the details so that an appropriate solution could be provided.
Regards,
Saumya -
PDF forms - Change email subject to field content
Hi,
I created a fillable form with a sumbition via email button. When submitting, I need to replace the default email subject "Form Returned: fileName" with the content of a particular field.
I have no idea where to start. Can you help? THanks, Jpwow! that was quick!I'll give it a try, thank you!
-
How to change email subject in smartform?
Dear experts!
I have an action wich triggers smartform and sends it via email.
In smartform (transaction smartforms) I can input some text in field "Description" and this text will be shown as e-mail subject. Also i can use ampersand (&) in this field to input the number of transaction from wich the action was launched.
But I need to add to the e-mail subject the number of preceeding document, I can get it in the Initialization tab of Global definitions.
How can I add this number (number of preceeding document) to the e-mail subject?
Regards,
VladimirHi,
In your print program when you are calling the FM generated by smartform you need to pass some parameters. In that there is one parameter OUTPUT_OPTIONS. In that we have a field called TDTITLE. This field is nothing but your Mail subject. So you can change this parameter in your print program for the mail subject.
Hope this heps you.
Regards,
Lakshmi.Y -
Hi all,
I configured a 'printer' in SPAD that is used to send email with pdf attachments with the smartforms / sapscritps that I developed.
Is there a way to change email subject and body instead of standard text "The Mail Attachment Contains the Print File Created by User" bla bla bla?
This is critical to me.
Thanks in advance!
Regards,
AndréIf you are already able to send the pdf attachment through mail using Function Modles 'CONVERT_OTF_2_PDF' &
SO_NEW_DOCUMENT_ATT_SEND_API1 and the problem is with subject and Attachment name only then
in the SO_NEW_DOCUMENT_ATT_SEND_API1 function Module
For Subject
EXPORTING
document_data = docdata
For Attachment Name
TABLES
packing_list = objpack
Declarations for the above two are
DATA:
objpack LIKE sopcklsti1 OCCURS 1 WITH HEADER LINE,
docdata LIKE sodocchgi1.
and the values you need to pass are
objpack-obj_descr = 'Invoice'. "Attachment name
docdata-obj_descr = 'Mexico Direct Invoice'. "Subject of the mail
Thanks,
Phani. -
How do I change the subject line on incoming email
On my old PC I could easily start typing in the subject line of a received email. This would allow me to search for a name later on when looking for an invoice. I dont know how to change the subject line of an incoming email to my imac?
This site tells you how to edit the subject of a message. I just tested using OS X 10.8.5 and it worked, without altering the time & date stamp, or the original sender info.
http://email.about.com/od/macosxmailtips/qt/et_edit_receive.htm
Steps copied below:
Drag and drop the desired message out of Mac OS X Mail onto the Desktop.
Ctrl-click on the message copy on the Desktop.
Select Open With | TextEdit from the menu.
Make the desired changes to the message source.To change a message's subject, look for "Subject:" at the beginning of a line starting from the top. (hint, you can use 'Command-F' to bring up a search window to help you find the "Subject").
Close TextEdit saving the document.
Ctrl-click on the message on the Desktop again.
Select Open With | Mail from the menu this time.
Now select Message | Copy To followed by the message's original folder from the menu in Mac OS X Mail.
Close the message window.
Delete the message copy from your Desktop.
Optionally, delete the original message in Mac OS X Mail. (when I tested this, the original message was no longer there. Not sure what happened to it, but the changes worked without editing the time, date, or original sender information.) -
Customizing PO approval workflow POAPPRV for email subject/body changes
Hi,
The requirement is to modify the email subject/body of the emails sent to the suppliers once PO is approved.
They would also like to remove the
'From/To/Sent/Id' which is displayed as first section in body currently.
I am new to workflow, so could you please guide me in achieving this?
Is workflow customization only option?
Do we have any other way in which the requirement can be accomplished?
Thanks!>
I would like to know how FYI gets appended before.
in the body before the actual text, From/To/Sent/Id are all displayed. I would like to know where they are fetched from.
I can understand it uses some template for email, but am unable to locate it.
>
The FYI is appended based on the type of notification. Since this message does not require any action from user, Oracle adds FYI.
See http://apps2fusion.com/apps/workflows/327-workflow-notification-template to understand the template.
>
Also can you point me to good references for workflow customization.
>
You can look at
Customizing seeded workflow steps
http://www.workflowfaq.com/
Anil Passi has good tutorials for this http://oracle.anilpassi.com/oracle-workflow-training-lesson-1-2.html
See white paper at http://www.vivekasolutions.com/user_docs/WFCustomizationWP.pdf
>
Because this is the only change that am expected to do in this critical PO workflow. I dont want something else to be affected because of this.
>
As long as you stick to PO approval workflow, you won't affect other areas. If you modify the template (provided you find it), you may affect other areas.
Sandeep Gandhi -
EMail Subject Change while creating PO's
Hi ,
We have done configuration in NACE for simple mail to be sent when a PO is created .
I want to change the subject of Email for PO Creation...based on following condition.
if purchaing group = MP* then put tracking number in subject line of email message else PO number .
Please help me in this regards
Useful answers will be rewarded
Regards
Sri..Hi Vikram,
The best and cleanest way I believe to do this is to create/edit the output control requirement (transaction OMFT) for the condition type (output type) in question.
The only configuration change needed w/b in case you create a new requirement since this one must be added to the PO schema.
Kind regards,
Robert -
Change of subject stated in email received and saved to folders
Is there a way to change the subject line of email received? I save a lot of emails and when I put them into folders, sometimes the subject listed is not descriptive of the actual content that I am saving. I would like to change the subjet at that time to something more meaningfull to me.
The only way I know to do that in Mail is by resending the message to yourself — use Redirect instead of Forward to better preserve the integrity of the original message.
-
BADI to change the email subject
Hi all,
Which BADI can be used to change the subject of the email when a SC is created??
I tried using the BADI "BBP_OFFLINE_APP_BADI" and the implementation "MAIL_DATA_GET" but it is not getting reflected in the mail..
Am I using the right BADI or is there someother BADI that may be helpful??
Please help..Hi Mary,
I have a similar issue where in i need to change the subject of the outgoing mail with the refernce / or some id in crm cic.
can u please guide me the way to move forward with the issue.
i would be really helpful.
Thanks,
Regards,
akshay ruia. -
Alerts from BPM Email Subject and From address should be changed.
Hi All,
I'm raising an alert from BPM by using Container operation and Control steps.
The below details are appearing in the Email. Is there any way to change these standard steps... ?
From: WF-BATCH at K.local
To: SAPSupport at k.com
Subject: Process 000000021589
Alert ID: ##00010##
I want to change the
- Subject name with my own subject line.
- From address should be changed to it.helpdesk at k.com instead of WF-BATCH at k.com
- I checked in some of the threads, looks like there is limitation in terms of characters in the Email body(127 characters)? Is there anything I can do to extend the email body?
Kindly suggest me.
Thanks
DeepthiHi Baskar,
// You can pretty much change the subject title and recipient information easily. Click on fixed recipients to modify mail address.
Recipients list is fine. I can change. How about the Sender Email address?
Ex: WF-BATCH.. Since the errors are generated from BPM, the sender userid will be always WF-BATCH.
I want to change this user id into my custom user id.. is it possible?
2. Also I enabled Dynamic Text in alert category which is used to get the dynamic text from mapping.. Hence i cannot use Short and Long texts tab in Alert Category to generate the subject line.
Hence Subject line is coming with process ID, looks like I cannot change?
Thanks -
CS-MARS. Change default email subject "System Scheduler"
Hi,
We have a CS-MARS 100 with the last 4.2.1 and I've configured several reports to be sending by email. I'd like to change the default subject that it's shown as "System Scheduler (scheduler)" in the email client (Outlook, p.e.) and if it's possible the account used for sending that mails: [email protected]
We can change the domain name but not the account name or email subject.
Does anybody know how to do that?
Thanks a lot.This URL has some useful information on CSMARS:
http://www.cisco.com/en/US/products/ps6241/prod_release_note09186a00804fc676.html -
Change "SAPScript" email subject/body for External Send(5) for output type?
Hello,
I'm emailing a SAPscript form (converted to PDF) generated via Transmission Medium 5 (External send) for output type (EK00) and need to change email's subject and body of email created by SAP code. Any suggestions on how to change email's subject and body?
Thanks,
BillyAlso if u want to add a body to the mail. See the below form (sub routine) which needs to be mentioned in NACE. Either u can keep this routine in the driver program or u can put in separate report program. All thing u need to is see the below code and mention the name of the program and form name in nace. Double click on output type in nace. u will find a tab stripped screen in right. In the screen u can see the first tab as 'General data' and at the bottom a block with title 'Replacement of text symbols' can be seen. There u need to pass this program name and form name.
Execute ur program and test the result.
FORM text_symbol_replace TABLES pt_lines STRUCTURE tline
USING ps_thead STRUCTURE thead
ps_nast STRUCTURE nast.
DATA:
lv_kunnr LIKE vbak-kunnr, " AN0465 Add AKKUMA1 02/19/07
lv_new_cursor_column LIKE sy-tabix," Cursor column
lv_new_cursor_line LIKE sy-tabix," Cursor row
lv_changed, " Indicator
lv_matnr LIKE vbap-matnr,
lv_vkorg LIKE vbak-vkorg,
lv_vtweg LIKE vbak-vtweg,
lv_desc(20),
lv_name TYPE thead-tdname, " Name
lt_lines LIKE tline OCCURS 0 WITH HEADER LINE,
lv_currentprogram LIKE sy-repid. " Program Name
DATA :
ps_lines LIKE tline. " Structure
CONSTANTS:
lc_int TYPE nast-nacha VALUE '5', " External Send
lc_comma TYPE c VALUE ','. " Comma Separater
DATA: BEGIN OF ls_fname,
dsnam TYPE nast-dsnam, " Spool Name
dsuf1 TYPE nast-dsuf1, " Spool Suffix1
dsuf2 TYPE nast-dsuf2, " Spool Suffix 2
END OF ls_fname.
FIELD-SYMBOLS: <lfs_nast> TYPE vnast.
IF ps_nast-kschl EQ gc_zj17.
Fetching vbak-kunnr.
SELECT SINGLE kunnr " Customer
vkorg
vtweg
INTO (lv_kunnr,lv_vkorg,
lv_vtweg)
FROM vbak
WHERE vbeln EQ ps_nast-objky.
IF sy-subrc EQ 0.
SELECT SINGLE matnr INTO lv_matnr
FROM vbap
WHERE vbeln EQ ps_nast-objky.
ELSE.
IMPORT xvbak-kunnr TO lv_kunnr FROM MEMORY ID 'YSOLDTO'.
IMPORT xvbak-vkorg TO lv_vkorg FROM MEMORY ID 'YSALESORG'.
IMPORT xvbak-vtweg TO lv_vtweg FROM MEMORY ID 'YDISTCH'.
IMPORT xvbap-matnr TO lv_matnr FROM MEMORY ID 'YMATERIAL'.
ENDIF.
IF sy-subrc EQ 0.
CONCATENATE lv_matnr lv_vkorg lv_vtweg
INTO lv_name.
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = '0001'
language = ps_nast-spras
name = lv_name
object = 'MVKE'
TABLES
lines = lt_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.
CLEAR lv_desc.
LOOP AT lt_lines.
CONCATENATE lv_desc lt_lines-tdline
INTO lv_desc
SEPARATED BY space.
ENDLOOP. " LOOP AT lt_desc
CONDENSE lv_desc.
ENDIF.
ENDIF. " AN0465 Add AKKUMA1 02/26/07
Fetch Region.
SELECT SINGLE name1 ort01 " City
INTO (gv_name1, gv_ort01)
FROM kna1
WHERE kunnr EQ lv_kunnr.
IF sy-subrc EQ 0.
CONDENSE gv_ort01.
CONCATENATE ':OC:'
gv_name1
gv_ort01
lv_desc
INTO ps_lines-tdline SEPARATED BY space.
LOOP AT pt_lines.
pt_lines-tdline = ps_lines-tdline.
MODIFY pt_lines.
CLEAR pt_lines.
ENDLOOP.
ENDIF. " IF ps_nast-kschl EQ gc_z..
ENDIF. " AN0465 Add AKKUMA1 02/19/07
IF NO TEXT IS PROVIDED READ TEXT USING HEADER INFO
IF pt_lines[] IS INITIAL AND NOT ps_thead IS INITIAL.
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = ps_thead-tdid
language = ps_thead-tdspras
name = ps_thead-tdname
object = ps_thead-tdobject
TABLES
lines = pt_lines
EXCEPTIONS
OTHERS = 1.
IF sy-subrc NE 0.
ENDIF. " IF sy-subrc NE 0.
ENDIF. " IF pt_lines[] IS INITIAL
REPLACE VARIABLES USING DATA FROM PROGRAM YVADOR01
IF NOT pt_lines[] IS INITIAL.
lv_currentprogram = 'SAPMV45A'.
CALL FUNCTION 'TEXT_SYMBOL_REPLACE'
EXPORTING
endline = sy-tabix
header = ps_thead
program = lv_currentprogram
IMPORTING
changed = lv_changed
TABLES
lines = pt_lines.
Subrc Check not required.
CALL FUNCTION 'FORMAT_TEXTLINES'
IMPORTING
new_cursor_column = lv_new_cursor_column
new_cursor_line = lv_new_cursor_line
TABLES
lines = pt_lines
EXCEPTIONS
OTHERS = 2.
IF sy-subrc NE 0.
EXIT.
ENDIF. " IF sy-subrc NE 0.
ENDIF. " IF NOT pt_lines[] IS INITIAL
SPLIT ORDER NUMBER AND PUT THEM INTO SPOOL REQUEST NAME & SUFFIX FIELD
SAP USES THESE FIELDS TO CONSTRUCT FILENAME
FOR THE PDF ATTACHMENT IN EMAIL
IF ps_nast-nacha EQ lc_int OR ps_nast-nacha = '2'.
IF ps_nast-dsnam IS INITIAL AND ps_nast-dsuf1 IS INITIAL.
ls_fname = ps_lines-tdline.
ps_nast-dsnam = ls_fname-dsnam.
ps_nast-dsuf1 = ls_fname-dsuf1.
ps_nast-dsuf2 = ls_fname-dsuf2.
ENDIF. " IF ps_nast-dsnam IS INITIAL...
ENDIF. " IF ps_nast-nacha EQ lc_int
ENDFORM. " TEXT_SYMBOL_REPLACE
Venkat.
Maybe you are looking for
-
A few of us tried for 45 minutes to connect a BMP to a Panasonic PT-F200NT projector. Please help. Display options didn't work. Computer search on the projector remote didn't work. The button to automatically find connected devices didn't work. Chang
-
Oracle 9i lite connection with a Java Client
Hi, I would like to connect a Java Client developed using PersonalJava edition for PDA with an Oracle 9i lite version which is also on PDA. I would like to know is it possible to connect such a client (Java) using some JDBC drivers on PDA. if yes ple
-
Why did add a new tab button stop working ? it doesn't work any more
Firefox was normal until the add new tab button stopped working I tried to find out why that happened but I couldn't I tried fixing it , uninstalling it then installing it and other things but nothing seems to work '''please I need help'''
-
Decision on Master Data ?
Hi everybody, I have a doubt that when we are implementing BW ( for example Sales and Distribution module in the R/3) For transaction data we will be using Lo cockpit right, But when it comes to Master data how we will take decision that what to be l
-
Dear everybody, After only 2.5 years, my 2.200€ MBP crashed and I had to pay 500€ more for a new logic board. The laptop was in perfect conditions and nobody in the Apple Store could give a reason why that happened. I would like to write a claim to A