How to send mail from adobe interactive form without opening the outlook
Hello all,
When the end user press the submit button i want it to send the XML data without opening the outlook or other mail application.
Is there a way to do this?
I tried javascript codes to send mail with UI = false but it did not work.
Thank you all in advance,
Eran
mailForm
Parameters: bUI, cTo, [cCc], [cBcc], [cSubject], [cMsgBody]
Returns: nothing
This method exports the form data and mails the resulting FDF file as an attachment to all recipients,
with or without user interaction depending on the value of bUI.
If it is set to true then the rest of the parameters are used to seed the compose new message window that is displayed to the user.
If bUI is set to false, the cTo parameter is required and all others are optional.
You must use a semicolon u201C;u201D to separate multiple recipients in cTo, cCc, cBcc parameters.
The length limit for cSubject and cMsgBody is 64k bytes.
Example:
/* This will pop up the compose new message window */
this.mailForm(true);
/* This will send out the mail with the attached FDF file to fun1 @ fun . com and fun2 @ fun . com */
this.mailForm(false, "fun1 @ fun . com; fun2 @ fun . com", "", "", "This is the subject", "This is the body of the mail.");
Note:
This is a Windows-only feature. In addition, the client machine must have its
default mail program configured to be MAPI enabled in order to use this method.
I had to change the code:
instead of this.mailDoc :
var myDoc = event.target;
myDoc.mailDoc(false, "fun1 @ fun . com; fun2 @ fun . com", "", "", "This is the subject", "This is the body of the mail." );
But the outlook new message window still opens...
Any Idea's?
Eran
Similar Messages
-
How do i download and e-mail from a zip drive without opening the file
How do I download and e-mail data from a zip drive without opening the file?
Hi.
If you have a Zip drive, you can handle the file as you would any other file. Copy and paste. Drag and drop. Select and attach as an email attachment.
Zip drive data discs came in two capacities, 100MB and 250MB. So the largest files would not exceed those capacities, depending on the media from which they are pulled.
The trick, I should think, would be finding a working drive that can read the media... and hope that media is not corrupted. Zip media was notorious for failing.
I hope this helps. -
How to read attachment from adobe interactive form
Hi,
My requirement is- vendor should fill all the detail in an offline interactive form and attach necessary documents in the form itself. How can i read the attachments from the form inside my program and how can i store it in SAP. I am using FM ' SMUM_XML_PARSE' to read all the data in the form.
Best Regards,
TofanmailForm
Parameters: bUI, cTo, [cCc], [cBcc], [cSubject], [cMsgBody]
Returns: nothing
This method exports the form data and mails the resulting FDF file as an attachment to all recipients,
with or without user interaction depending on the value of bUI.
If it is set to true then the rest of the parameters are used to seed the compose new message window that is displayed to the user.
If bUI is set to false, the cTo parameter is required and all others are optional.
You must use a semicolon u201C;u201D to separate multiple recipients in cTo, cCc, cBcc parameters.
The length limit for cSubject and cMsgBody is 64k bytes.
Example:
/* This will pop up the compose new message window */
this.mailForm(true);
/* This will send out the mail with the attached FDF file to fun1 @ fun . com and fun2 @ fun . com */
this.mailForm(false, "fun1 @ fun . com; fun2 @ fun . com", "", "", "This is the subject", "This is the body of the mail.");
Note:
This is a Windows-only feature. In addition, the client machine must have its
default mail program configured to be MAPI enabled in order to use this method.
I had to change the code:
instead of this.mailDoc :
var myDoc = event.target;
myDoc.mailDoc(false, "fun1 @ fun . com; fun2 @ fun . com", "", "", "This is the subject", "This is the body of the mail." );
But the outlook new message window still opens...
Any Idea's?
Eran -
How to send attachment to adobe interactive form
Hi
I have two interactive forms i.e initiator and approver from intiator i want to send an attachment(word document) to approver.can you please tell me how to do this.
Thanks
KrishnaHi,
this blog may be helpful to you,
Demystifying Attachments with SAP Interactive Forms
Regards,
ramesh -
How to transfer data from adobe interactive form to va02 tcode
Hi experts,
My requirement is in pdf file if I attached a sales order document and I should create a button called submit when user clicks on button the sales order document should go and attach in vao2 tcode.
Can u tell me for this requirement how I can proceed.
Thanks & regards
Naveenreddy
Edited by: Thomas Jung on Oct 11, 2010 10:20 AM - Removed all upper case - No shouting, pleaseCan you migrate/ alter that .pdf file as EXCEL or TEXT file? I am not aware of any tools do that
you will have to write an app to do this.
Best Regards, Uri Dimant SQL Server MVP http://dimantdatabasesolutions.blogspot.com/ http://sqlblog.com/blogs/uri_dimant/ -
Binding problem from adobe interactive form to SAP
Hello All,
I'm using SAP NetWeaver Developer Studio 2.0.9 SAP WAS 2004s SP11.
I'm tried to exercise with document "How To Create Online and Offline Forms in Web Dynpro for Java" (you can check it this link https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4fd2d690-0201-0010-de83-b4fa0c93e1a9). I could run it succesfuly but i have a problem. I couldn't get data from Adobe Interactive form when i click "Submit to SAP" button. All field value return with "null".
The code is like that;
public void onActionFormSubmit(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActionFormSubmit(ServerEvent)
String name = wdContext.currentTravelDataElement().getEmployeeName();
String costcenter = wdContext.currentTravelDataElement().getCostCenter();
String city = wdContext.currentTravelDataElement().getDestinationCity();
String country =
wdContext.currentTravelDataElement().getDestinationCountry();
wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess(
"Form submitted: Employe Name="
+ name
+ " costcenter="
+ costcenter
+ " city="
+ city
+ " country=" +
country);
What could be the problem?hi Selcuk,
check what is the cardinality of the node that bound to the interactive form.
interactive form->properties->dataSource = <xyz node of context>
goto <xyz node of context> -> properties
just change the cardinality to 1..1.
goto
interactive form->properties...
check that the dataSource and pdfSource are bound to the right Context nodes/attributes...
hope this helps...
with regards,
-Amol Gupta -
How to integrate Flashisland for Adobe interactive forms
Hi Experts,
Can you please help us in understanding how to integrate Flashisland with adobe interactive forms?
We need to add swf file in the interactive forms, which will be used in webdynpro abap application.
Any idea will be helpful for us.
Thanks for the support.
Regards
SathishHi Sathish,
You can not add swf file in interactive form, however you can integrate you flash island with web dynpro ABAP application.
Adobe flash island and adobe interactive form are two different things and have different purposes.
You can have adobe flash island and adobe interactive form in a single WD application(even as part of the same screen), but still there will be integration on the data level not on UI level. The UI elements for both will react separately from each other and there can't be any integration of adobe flash island inside adobe form.
However you can develop a flash application using which you can view adobe interactive form similar to adobe reader and use this flash application as part of your WD ABAP application but that doesn't make any sense as without flash island we can show it in WD ABAP view.
I hope this will clear your doubt.
Regards,
Vaibhav -
How to send music from a ipodtouch to another with the bluetooth??
how to send music from a ipodtouch to another with the bluetooth??
There is no way you can do that. You should either transfer the music to the phone and play it from there, or you should connect the speaker to the computer itself (provided it is Bluetooth speaker).
Ericsson T10i -> Nokia 7110 -> Siemens C45, C55, M55, M65 -> Nokia 6131, N73, N82 -> HTC Wildfire, Desire HD -> Nokia Lumia 800 -> HTC Desire X -> Lumia 820 -> Sony Xperia SP -> Lumia 925 + Sennheiser CX 500
If I've helped, use the Kudos button to thank -
How can I create a long employment form without making the form widget drag?
How can I create a long employment form without making the form widget drag?
Sorry Sachin, I mean that I created a simple form on the page from the widget and started adding fields to it. The more fields I add the slower the delay becomes in creating a new field. Even when I try to select and drag or move an item, there's a huge delay and sometimes the program feezes, loose what i've done and have ot restart.
I'm doing an enployment form that has more than 20 fields, at least, and I need to be able to build the fields in separate categories, like Education, Past Employment, etc... quickly without delay issues.
I can probably send you a snap shot of what I'm talking about if I cna post it or attach it here..?
~Andy -
Send Data back to SAP from Adobe Interactive Form
Hello friends,
I created a Adobe Interactive form using transaction SFP.
This form have a comment field.
My requirement is user enter comments in this filed and click on Submit.
It needs to call a BAPI and save data in SAP table.
thankz in Advane
regards,
Sumit MalhotraHi,
Create an WebService for the BAPI and in the Adobe Form create a New Data Connection of Type "WSDL", while creating the New Data Connection it asks for the Path so get the URL Path of the WebService created for the BAPI and assign it to the New Data Connection and specify the Binding for the respective fields under the "Import/Export Binding" in Binding tab of Object Pallette.
Thanks and Regards
Pradeep Goli -
E-mail adobe interactive form without showing it..
Hi experts!
I am trying to create a WD apllication in which when the user presses a button an adobe interactive form will be called and e-mail, without showing the actual form.
From what i saw in the corresponding tutorial, in order to attach the file to the e-mail, the file must first exist in pdf format.
But, during runtime all i have is the pdfsource.
So, the point is: how can i create the actual pdf from the pdf Source without showing it????
Thanx in advance!!!!Hi,
actually I would not recommend that. That's something which has to be programmed completely new and does not exist at the moment. If you want to have it outside in the internet for externals you will force candidates to use Adobe Acrobat reader in a certain version and might get browser problems. So technical support might become an issue.
So the only opportunities you have without creating something new, is using Web Dynpro standard or a third party tool based on flash.
Best regards -
Calling BAPI from Adobe Interactive Form
Hi Guys,
I have a requirement from my client to work on interface using BAPI for creating Service notification. Idea is that users will fill an Adobe interactive form (AIF) on company INTRANET and as soon as user press a SUBMIT button on the adobe form, BAPI should be called to create a SERVICE NOTIFICATION (Tcode IW51). I have work with BAPIs and I know the BAPI name (BAPI_SERVNOT_CREATE) to create SERVICE NOTIFICATIONS, but not with this kind of interface. Please advice me how to go about it and if some one can share any documentations to accomplish this task.
Another developer is in charge of developing the AIF and I am responsible for ABAP side .
Thanks in advance.
miniHi Mini,
Kindly check the webDynpro ABAP section of Intercative form homepage. at - https://www.sdn.sap.com/irj/sdn/adobe.
You can create a portal application and call your BAPI. Other options include - webDynpro Java, calling webservice (if the call can be unsecured). You will be able to call secure web services from adobe forms from future versions afaik.
Thanks and Regards,
- anto -
Control not going from Adobe Interactive form to ABAP WD Event handler
Hi
I am facing an issue with adobe interactive forms and WD ABAP integration.
The buttons in adobe interactive form when clicked is going round and round and the control is not going to the ABAP code(WD ABAP event handler code whatsoever). I have also set the debugger but the control is not moving to the ABAP code from the adobe interactive form.
Can anyone help me what can be the issue here and how can I resolve the same?
Thanks.
SidHi Babi,
In the adobe form layout library Use the Submit(which internally means submit to SAP) button from the Webdynpro Native category.
Only this button action can connect adobe to web dynpro.
Whenever we click on this particular button the event will be trigger in the ONsubmit event of interactive form UI element in the webdynpro.There we can write our abap code.Hope this will help you.
Regards,
Simi A M
Edited by: amsimi on Mar 22, 2011 11:37 AM -
How to send mail from servlets
m having troubles sending mail from servlets...
how do you use the SimpleMailUser object needed in the session?
a sample code on this would be of great help, thanks!<html>
<body bgcolor="white">
<font size=5 color="black">
<%@ page import="javax.servlet.http.HttpUtils" %>
<%@ page import="java.util.*" %>
<%@ page import = "java.sql.*" %>
<%@ page import = "java.io.*" %>
<%@ page import= "sun.net.smtp.SmtpClient" %>
<%
String from,to,subject,msgbody,serverName;
try
from = request.getParameterValues("from")[0];
to = request.getParameterValues("to")[0];
subject = request.getParameterValues("subject")[0];
msgbody = request.getParameterValues("msgbody")[0];
serverName = request.getParameterValues("server")[0];
catch (Exception e) // Generally Speaking, an Error getting one of these
// Values means that it wasnt passed in; inform the user
out.println("You must call this JSP from this ");
out.println("<A href=\"FormMail.htm\"> form</A>.<BR>");
out.flush();return;
%>
Hold On A Moment while I try to Send Your Mail... <BR>
<%
out.flush();
// Here are the real guts of the mail sending
try
sun.net.smtp.SmtpClient sm = new sun.net.smtp.SmtpClient(serverName);
sm.from(from);
sm.to(to);
PrintStream msg = sm.startMessage();
msg.println("To: "); // Note dont use + for Performance
msg.println(to);
msg.println("Subject: ");
msg.println(subject);
msg.println();
msg.println(msgbody);
msg.println("==============");
msg.print("This mail brought to you by JSP MAIL..from a user at IP ");
msg.println(request.getRemoteHost());
sm.closeServer();
out.println("Your Mail Has Been Sent!");
catch (Exception e)
out.println("The mail couldn't be sent, probably because the mailhost wasnt set correctly.<BR> ");
out.println("The error message I am getting is: ");
out.println(e.getMessage());
%>
<BR>
<BR>
Click here to send another! -
Calling RFC from Adobe Interactive Form
Hello,
After creating and calling Adobe Interactive form from ABAP web dynpro, within the form designer is it possible to call RFC or Business Object method from the form script to get the data back from SAP for specific Click events?Yes,
this is possible, but not through pure RFC, but using webservices and webservice enabled function modules within SAP.
Technically it is quite simple. Create a functionmodule, and create a webserve from that (all SE37 or SE80 but from WAS 6.40). Generate a WSDL (with the Java tool) and import that into the form that you are designing. From there you can bind the data from the dataset (as defined in the WSDL) to screenfields or treat the data any other way Javascript can.
BTW. I only managed this so far by using anonymous logins, so with a password and username bound to the webservice (in SICF).
Hope this helps, regards, Hans Gmelig Meyling
Maybe you are looking for
-
I have the following PLSQL Function that returns a End_of_body Error. This started when we migrated from 10g to 11g. It is simple enough to capture so the error does not stop the Function Flow, but the error causes the OCI driver in OBIEE to error, w
-
Please help! Not able to set Video input Port(S-Video or Composite)on Linux
Hi I am using JMF2.1.1e(Linux performance pack) for video capturing on Linux OS. I want to set video input port(S-Video or composite) through my application. I am using the following code: if ( dataSource != null ) arrControls = dataSo
-
I can find all of my add-ons when I click on the Firefox icon on the upper left of my screen and click on add-ons, but they no longer appear on my toolbar where I can click on them and use them with the file I'm working in. They are useless to me now
-
Add field in listing/exclusion selection screen
Hi, expert, i have create a condition table for my listing type Z001. there is a field name ZZABCD in the condition table. In VB03, I can see the conditon table in 'Key combination'. Now i want to add the field into the selection screen when i click
-
UPN & Manager Attribute in Azure AD
We are trying to sync on premise users & groups to Azure AD with default domain. Currently UPN value in azure AD is populated as mail nick name and manger attribute of each person object in azure AD is null value. We used default options in Azure syn