SRM PO form: Customize Email
Our client is on SAP SRM 4.0 version and we are on Extended Classic scenario in SRM 4.0.
We want to customize the email content of the mail that goes to the supplier along with the PO Pdf copy.
We are using a ZSmartForm for the PO Pdf copy that is being sent and this is already customized as per various Company Code/site roll-out needs.
As of now the mail content that goes to the supplier is something like as attached.
Purchase Order No.:3000003798
where 3000003798 represents a PO number.
The mail body of the email as of now is
Purchase Order No.:<PO number>
We want to customize this mail body content to client specific needs.
I got to gather information on how to do this in SRM 7.0 using BADI - BBP_OUTPUT_CHANGE_SF but this BADI does not exist in SRM 4.0
Any pointers to the same on how to do this in SRM 4.0 is highly appreciated.
Hi,
Try to use BBP_CHANGE_SF_BID BADI.
Regards,
Marcin
Similar Messages
-
How can recipients submit a distributed form via email to any email address they want?
First, a little background to describe our situation:
I have a standard Acrobat form here that I need about 20 of my salespeople to use to send to their new prospective customers, have the customers fill it out, and return the completed form to their respective salesperson.
I don't want to allow my salespeople or their customers to be able to save local copies of the form because it will include personal information about the customer. If customers were to save their completed forms and email them to our salespeople, I worry that the salespeople will accidentally send out one of those completed forms to a new customer thinking that it is a clean/unfilled version of the form (and not realizing that it includes sensitive information about another customer!)
Thus, I need a way for our customers to fill and return the forms without being able to save them locally as their own versions and then sending those new versions to our salespeople.
I believe that means that I should use the "distributed forms" method and ask the customers to "submit" the forms directly rather than save/email them on their own.
I'd like to have a single form up on our website, and our salespeople will just send out the link to that form so that customers can fill out their data and submit it. If our salespeople get into the habit of just sending out the link, and they get an email with the completed form after a customer completes it, then they'll never email around actual PDF copies of the form, so they'll avoid the risk of accidentally sending out a customer's completed form that has all their personal info on it.
Here's the problem though:
Using the "distributed form" method, whenever a form is submitted by a prospective customer, it seems that it can only be submitted/sent to the email address on the Adobe account that originally created the form (which is me), but I need the completed form to be sent directly to the salesperson who covers that customer (not me).
So, is there some way to get around this issue?
Can I create a form field that allows the customer to type in the salesperson's email address so that the completed PDF of the form is sent to that salesperson when they submit it (rather than all of them being sent to me)?This would be ideal because it would still be a distributed form that allows people to submit their forms directly to their salespersons without having to save local versions of the form w/ all their personal info and then emailing to the salesperson.
If this can't work, is there some way to make sure that when a customer fills out a form that they are required to save it as a new version under a new file name (like "NormalFileName_CustomerLastName")?If the file name is always different than the original, clean copy of the form, then it would make it less likely that my salespeople would send out the wrong version.
I know this issue must come up with people all the time! Any help would be greatly appreciated!You would have to first change the email address that Acrobat uses (Edit > Preferences > Identity > Email Address) and then redistribute the form in Acrobat and send it to your users.
-
How to customize email notifications in COREid
Hi
Customer trying to customize email notifications in workflow COREid.
Documentation is not very clear on how to do this.
Any help is appreciated
TolyHi ,
To customize the e-mail subject:
Step 1 Select Admin > Network > Notification and Action Settings > Fault - Email subject customization.
The available and selected lists of the subject attributes for e-mail are displayed.
To customize the e-mail subject, you can add and remove subjects from the current e-mail subjects list. By default, following list of e-mail subject attributes are displayed in the Selected Subjects for E-Mail box.
•Event ID
•Device Name
•Time
•Severity
•Event Name
•Status
To add a subject:
a. Select the subject attribute from Available Subjects for E-Mail.
b. Click Add.
The selected subject attribute is added to the Selected Subjects for E-Mail list.
You can add a subject attribute only from the Available Subjects list to the Selected Subjects list. You cannot add a subject attribute from the Selected subject list to the Available Subject list.
To remove a subject attribute:
a. Select the subject attribute from Selected Subjects for E-Mail.
b. Click Remove.
The selected subject attribute is removed from the Selected list and added to the Available subjects for E-Mail list.
You can remove a subject attribute only from the Selected Subjects list and not from the Available Subjects list.
Step 2 Click Up or Down to rearrange the order of the selected e-mail subject attributes.
Step 3 Click Apply to save the customized e-mail subject attributes.
Note: Other than this you will not be able to customize any thing, User-defined fied option will not work.
I hope this will help
Thanks
Afroz -
Change filename prompted when submit form by email
My form has a submit by email button for users to submit the filled form through email(attached as pdf). Upon clicking the submit button, I want the pdf attachment to be in a customized filename (eg:YYYYMMDD_form1_txtfield1.pdf), or the least if user choose to submit using external webmail and prompted to first save the file, the filename(on the Save As dialog) will automatically be set to the customized filename.
Is this possible? or Is there any other alternatives? I had went through a number of forums/articles on this but I did not find the solution.
Thanks loads.The send pdf in an email will save the fiel as is in a temp folder with the name of the PDF that already exists. If you want to change that name you will have to do a file save operation. For security reasons you cannot automate the file save without the user's knowledge (they have to click OK). I do not know of a way to seed the SaveAs dialog with the filename that you want.
Paul -
Hi - I created a form in Adobe Livecycle and have a button on it to send the form via email. It worked, but only for those with PC. However, I could not get it to work with Apple loaded with Yosemite even with reader installed . Is there a way i can make it work for apple / Mac? It worked fine on a mac using Mountain Lion and reader
ThanksLiveCycle = XFA forms.
afaik - These cannot be used in Apple OSs.
Be well... -
Hi - I created a form in Adobe Livecycle and have a button on it to send the form via email. the button did not work and i looked online and saw where you could change it to a regular button and enter the email for it to go. it worked, but only for those with adobe pro. i could not get it to work with reader. is there a way i can make it work for reader?
Noted.
The LiveCycle user to user forum is across town at:
Adobe LiveCycle
Be well... -
Offline Interactive PDF Forms Using EMail with WebDynpro for ABAP
These is a tutorial on implementing Offline Interactive PDF Forms using Email to both send out and receive the form back using WebDynpro for Java.
Is it possible to implement the same using WebDynpro for ABAP, specifically receiving the forms via email server.
Regards,
MarkHi Mark,
Check this out :
https://www.sdn.sap.com/irj/sdn/interactiveforms-elearning
Go to section :
Send, Receive, and Process Interactive Forms via Email in SAP NetWeaver Application Server ABAP (RIG session 4A)
and for the ABAP WebDynpro :
SAP Interactive Forms by Adobe in Web Dynpro for ABAP (Session 3A) .
I managed to make it work in my internal sytem.
Goodluck.
Cheers,
Danny -
Hello Gurus,
My requirement is to send the Adobe form via Email as attachment.
Am using FM "FP_JOB_OPEN", Generated Adobe Form FM and FP_JOB_CLOSE.
Here, am getting PDF format in "FPFORMOUTPUT-PDF".
As "FPFORMOUTPUT-PDF" is in format of xstring, We need to convert it to Binary and for this am using FM "SCMS_XSTRING_TO_BINARY".
Code:
data: li_att_content_hex type standard table of x.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
BUFFER = FPFORMOUTPUT-pdf
TABLES
BINARY_TAB = li_att_content_hex.
Later, am using the FM "SO_NEW_DOCUMENT_ATT_SEND_API1" to send a mail.
As a result am getting the mail with attachment as PDF but when I try to open the attachment it gives me an error as "It wasn't correctly decoded".
Please, Let me know about this issue.
Thanks in advance.
Regards,
Ushahi,
Refer to this link..
Re: Attachment in ADOBE form -
Send PDF form to email address user enters in textfield on form.
I would like to be able to allow the person using the form to choose what email address the PDF form is emailed to. I read this post which sounds like what I want but I keep getting a Submit Cancelled error. The email does get generated and the form is attached as a PDF so that part works okay.
http://forums.adobe.com/message/4167414#4167414
This is the code I am using as I only need the To: address populated.
form1.Page1.Button1::preSubmit:form - (JavaScript, client)
var strToAddress
//Capture the values from the form fields.
strToAddress = txtToAddress.rawValue;
event.target.submitForm({cURL:"mailto:"+ strToAddress,cSubmitAs:"PDF",cCharset:"utf-8"});Hi,
There is an example here: http://assure.ly/eUR4wJ.
// Declare the variable
var vEmail;
// Check that the email field is not null
if (txtToAddress.rawValue !== null) {
vEmail = txtToAddress.rawValue;
// Send email
event.target.submitForm({cURL:"mailto: " + vEmail + "?subject=&body=",cSubmitAs:"PDF",cCharset:"utf-8"});
Niall -
Acrobat Pro 7.0 form creation, email responses are blank
I created a fill in form for email submission in Adobe Designer 7.0. Some of the responses are coming back blank and some are coming back with the data. What is the difference and how can I quickly correct this?
Wendy SheasleyYou should really ask in the Designer forum since that is the product you used to create the form (even if you did not realize it). In that sense I agree with Michael. However, just have the folks send back the form data, not the entire form. This saves a lot on the size of the e-mail and also means you have no limits since it does not have to be saved in the PDF. The data can then be imported into the FORM.
It is typical for folks to start by trying to submit by e-mail. That is dangerous since it depends on the client machine over which you typically have no control. If possible, it is always best to try to submit to a web script. -
Submit a form through email multiple times
I have a form, where a number of people can digitally sign the form and email it to the next person. Designed in LiveCycle and reader extended.
On the first sign and email, everything works great. However when the next person gets the form signs it and tries to email it, the body and subject is replaced by:
The attached file contains data that was entered into a form. It is not the form itself.
The recipient of this data file should save it locally with a unique name. Adobe Acrobat Professional 7 or later can process this data by importing it back into the blank form or creating a spreadsheet from several data files. See Help in Adobe Acrobat Professional 7 or later for more details.
Whats all the hocus pocus?Yes, in javascript. Specifically: (Sorry I couldnt find any code tags)
var requestType = ' ';
var rush = ' ';
var bodyBuild = "Requestor Information\n" +
"\nRequestor: " + form1.Table1.Row1.nameTable.Row2.requestorName.rawValue + "\nDate Submitted: " + form1.Table1.Row1.DateSubmittedTable.Row2.DateSubmitted.rawValue +
"\nDate Needed: " + form1.Table1.Row1.DateNeededTable.Row2.DateNeeded.rawValue +
"\nDivision: " + form1.Table1.Row2.DivisionTable.Row2.Division.rawValue +
"\nPhone: " + form1.Table1.Row2.PhoneNumberTable.Row2.PhoneNum.rawValue +
"\nSupervisor: " + form1.Table1.Row2.SupervisorNameTable.Row2.S1SupName.rawValue;
if(form1.CheckBoxO1.rawValue == 1){
requestType = "New Employee";
if(form1.CheckBoxO2.rawValue == 1){
requestType += ",Relocation";
if(form1.CheckBoxO3.rawValue == 1){
requestType += ",Departure";
if(form1.CheckBoxO4.rawValue == 1){
requestType += ",Telework";
if(form1.CheckBoxO5.rawValue == 1){
requestType += ",Software Access";
if(form1.CheckBoxO6.rawValue == 1){
requestType += ",Telecommunication";
// Set Rush if Date Needed is less then 5 days
var DateNeeded = form1.Table1.Row1.DateNeededTable.Row2.DateNeeded.rawValue;
var d = new Date();
var CurrentDate = new Date();
d.setFullYear(DateNeeded.substring(0,4), DateNeeded.substring(5,7), DateNeeded.substring(8));
d.setMonth(d.getMonth() - 1); // Javascript months go from 0 - 11
d.setDate(d.getDate() - 3);
if(d < CurrentDate){
rush = "RUSH ";
emailSubmit.event__click.submit.target = "mailto:[email protected]?subject=" + rush + "Service Request[" + requestType +
"] From: " + form1.Table1.Row1.nameTable.Row2.requestorName.rawValue + "&body=" + bodyBuild;
emailSubmit.execEvent("click"); -
Submit a form through email with multiple signatures
I have a form, where a number of people can digitally sign the form and email it to the next person. Designed in LiveCycle, with javascript and reader extended.
On the first sign and email, everything works great. However when the next person gets the form signs it and tries to email it, the body and subject is replaced by:
The attached file contains data that was entered into a form. It is not the form itself.
The recipient of this data file should save it locally with a unique name. Adobe Acrobat Professional 7 or later can process this data by importing it back into the blank form or creating a spreadsheet from several data files. See Help in Adobe Acrobat Professional 7 or later for more details.
Whats all the hocus pocus?
edit: Something I noticed is that, with some digital signatures, I disable a good majority of the form to read only "lock fields", then when I email I get the above text replaced in the body of the email.I have a form, where a number of people can digitally sign the form and email it to the next person. Designed in LiveCycle, with javascript and reader extended.
On the first sign and email, everything works great. However when the next person gets the form signs it and tries to email it, the body and subject is replaced by:
The attached file contains data that was entered into a form. It is not the form itself.
The recipient of this data file should save it locally with a unique name. Adobe Acrobat Professional 7 or later can process this data by importing it back into the blank form or creating a spreadsheet from several data files. See Help in Adobe Acrobat Professional 7 or later for more details.
Whats all the hocus pocus?
edit: Something I noticed is that, with some digital signatures, I disable a good majority of the form to read only "lock fields", then when I email I get the above text replaced in the body of the email. -
Need to send Smart form via email through Driver program
Hi All,
We need to send smart form via email through a new driver program (z program). Can you please guide me on this.
I have used the following code to achieve this. We are getting message saying 'Mail request has created' when executed, but the mail is not sent.
lvs_comm_type = 'INT'.
lvs_comm_values-adsmtp-SMTP_ADDR = e_mail.
lvs_comm_values-adsmtp-R3_USER = 'X'.
lvs_comm_values-adsmtp-ENCODE = '0'.
call function 'CONVERT_COMM_TYPE_DATA'
exporting
pi_comm_type = lvs_comm_type
pi_comm_values = lvs_comm_values
pi_screen = ' '
pi_newid = 'X'
importing
pe_itcpo = lvs_itcpo
pe_device = lvf_device
pe_mail_recipient = p_mail_recipient
pe_mail_sender = p_mail_sender
exceptions
comm_type_not_supported = 1
recipient_creation_failed = 2
sender_creation_failed = 3
others = 4.
if sy-subrc ne 0.
raise COMMUNICATION_ERROR.
endif.
control_parameters-device = 'MAIL'.
output_options-TDIMMED = 'X'.
output_options-TDDELETE = 'X'.
CALL FUNCTION fm_name
exporting
CONTROL_PARAMETERS = control_parameters
MAIL_RECIPIENT = mail_recipient
MAIL_SENDER = mail_sender
OUTPUT_OPTIONS = output_options
USER_SETTINGS = space
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
Thank youHi,
For sending smartform output into mail you first have to generate spool request and convert it into PDF and then
only it can be sended into mail, please find the sample code in the mail below:
http://wiki.sdn.sap.com/wiki/display/sandbox/ConversionofSpoolRequestDataintoPDFandExcelFormatandSenditintoMail
Mansi
Edited by: Matt on Jan 29, 2010 8:25 AM - removed code, instead point to wiki that Mansi authored. -
Can this be done? Emailing a completed form without emailing.
When using a standard html form, a user can fill in the required fields, press post, and abracadabra, the results of the form are emailed to the specified account and the user is redirected to a page that says your form has been submitted.
Can this be done using a .pdf? The email button is simply retarded. Why do users have to go through the hassle of having their email client opened just to submit the form they just completed? There probably isn't any other way, but would be nice if there was.
Is it possible to create a submit button that will automatically email the completed .pdf form to a pre-specified email address and then redirect the user to a "thank you" page? I don't want to annoy my customers by forcing them to email me the form. I just want it sent when they click "submit."
Is this even possible? If so, is it relatively easy?
Any help is greatly appreciated!>Can this be done using a .pdf?
Sure. The principle is exactly the same: you submit data to a script
which runs on a web server. You are limited only by what the
programmer has made the script do. Don't be under any impression that
it is "magic": if you have a web form which submits and then you get
an e-mail it's because there is a script on a web server that a web
programmer wrote to make it happen.
> The email button is simply retarded.
I prefer to think of it as a handy tool for testing, but nothing
anyone would use for the real solution.
>Why do users have to go through the hassle of having their email client ...
They don't. Did you know that you can "submit" an HTML form to e-mail?
But nobody does, because it just isn't a good way of working. Everyone
expects an HTML form to submit to a web script, but for some reason
hopes they can use direct e-mail of PDF forms.
Aandi Inston -
Read PDF form from email attachment
Hope someone is able to help on this one...
We are using a pdf form at work to gather some feedback and the user will be submitting the form via email...
Using outlook 2003 I had a crack at writing a vba module to read the pdf form from the email attachment to update into an excel spreadsheet
Is it possible to read pdf forms from the email attachment with outlook vba? Or does the attachment need to be saved to a directory first?
I have in the past done a vba module to save the pdf form attachments to a directory and then using acrobat and it's in-built form data collection tool and exported as a csv, but this feedback form will be an ongoing thing that will be updated daily - and to minimise handling would like to run the outllook macro that reads straight from the email attachment instead of doing another 3 or so steps...
Below is the snippet I am using - it's a mashup of different code I've found on the net
Sub Feedback()
On Error GoTo Feedback_err
'Dim ns As NameSpace
Dim objNS As NameSpace
'Dim Inbox As MAPIFolder
Dim objFolder As Outlook.MAPIFolder
'Dim SubFolder As MAPIFolder
Dim objExcel
Dim oBook
Dim oSheet
Dim gApp As Acrobat.CAcroApp ' In Tools > References > Checked all Acrobat Libraries in VBA > Tools > References
Dim pdDoc As Acrobat.CAcroPDDoc
Dim jso As Object
Dim Item As Object
Dim Atmt As Attachment
Dim filename As String
'Dim i As Integer
Dim myOrt As String ' Added 13/1/2010
Set objApp = CreateObject("Outlook.Application")
Set objNS = objApp.GetNamespace("MAPI")
Set objFolder = objNS.PickFolder
' Check subfolder for messages and exit of none found
If objFolder.Items.Count = 0 Then
'If SubFolder.Items.Count = 0 Then
MsgBox "There is no Feedback emails in this folder.", vbInformation, _
"Nothing Found"
Exit Sub
End If
' Check each message for attachments
Set objExcel = CreateObject("Excel.Application")
Set oBook = objExcel.Workbooks.Open("G:\Path\Filename.xls")
Set oSheet = objExcel.Worksheets(1)
oSheet.Range("A2").Select
Set gApp = CreateObject("AcroExch.App") ' make acrobat session
Set pdDoc = CreateObject("AcroExch.PDDoc")
Set jso = pdDoc.GetJSObject ' set the Javascript object via this way we can fill in the PDF document fields
For Each Item In objFolder.Items
For Each Atmt In Item.Attachments
If Right(Atmt.filename, 3) = "pdf" Then
Do
If IsEmpty(objExcel.ActiveCell) = False Then
objExcel.ActiveCell.Offset(1, 0).Select
End If
Loop Until IsEmpty(objExcel.ActiveCell) = True
objExcel.ActiveCell.value = jso.getField("CurrentDocDate").value
objExcel.ActiveCell.Offset(0, 1).value = Item.Session.CurrentUser
objExcel.ActiveCell.Offset(0, 2).value = jso.getField("txtJobNo").value
objExcel.ActiveCell.Offset(0, 3).value = jso.getField("rbStatus").value
objExcel.ActiveCell.Offset(0, 4).value = jso.getField("rbFeedback").value
objExcel.ActiveCell.Offset(0, 5).value = jso.getField("txtComments").value
End If
Next Atmt
Next Item
oBook.Save
objExcel.Quit
Feedback_exit:
Set Atmt = Nothing
Set Item = Nothing
Set objNS = Nothing
Set pdDoc = Nothing
Set objExcel = Nothing
Set jso = Nothing
Exit Sub
' Handle Errors
Feedback_err:
MsgBox "An unexpected error has occurred." _
& vbCrLf & "Please note and report the following information." _
& vbCrLf & "Macro Name: Feedback" _
& vbCrLf & "Error Number: " & Err.Number _
& vbCrLf & "Error Description: " & Err.Description _
, vbCritical, "Error!"
Resume Feedback_exit
End Sub
I get a vba error 91 "Object Variable or With block variable not set"
Cheers
Benhi Phani,
with regard to your problem I would suggest you to please go thru this link.
Hope this would be helpful to you.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/offline%20interactive%20pdf%20form%20using%20e-mail.pdf
Thanks,
kris
Maybe you are looking for
-
A lot of my apps are not running. I tried downloading an app from the app store and it give me a message saying "Cannont connect to iTunes store" and a few of the games and apps i downloaded wont open and/or load... This didnt start until i updated t
-
I can't print more than 1 copy in Adobe Reader X
I've recently come across an issue with a workstation that is unable to print more than one copy of a PDF file. When you increase the quantity to print multiple copies, it still just prints one copy only. I've downloaded the latest version of Adobe R
-
I am new to DW and have a question I am hoping someone will answer. I am using Spry.Data.XMLDataSet found in SpryData.js. I have it working correctly, but if I change the XML content and attempt to reload the page using this data it does not show the
-
Integration from customer's ecomm site to their SAP ECC 6.0 Production sys
I'm trying to find the right forum for my inquiries I'm a Web developer and have a client that wants a small ecommerce site (that's the easy part) but also wants to track sales on their SAP ECC 6.0 system by integrating with the ecommerce. Where do I
-
Nutanix site-to-site replication
When dealing with Nutanix protection domains, what would prevent the execution of the site-to-site replication of said protection domain? This topic first appeared in the Spiceworks Community