Interactive Forms by mail in background

hi gurus
I need to know if is possible ti develop a web dynpro application to create an interactive forms in background and send it by mail, it's possible to do or is necessary the visualization of interactive form and then send it by mail?
Moderator message: we have separate forums for "Web Dynpro ABAP" and "Interactive Forms by Adobe", please have a look there.
Edited by: Thomas Zloch on Oct 27, 2010 6:19 PM

Hi..
I am not sure you want to know for WebDynpro Java or WebDynpro ABAP...
In WebDynpro Java it is deficately possible to create a form and send as a mail.
In WDJ we have IWDPDFDocumentHandler class by which we can create the form in background..  For that we need the first have the .xdp template of the form ready stored somewhere it can be in mimes folder of KM repository.. then using the class we can create the form and pass the binary stream of the .xdp file as a e-mail attachment using javax.mail class..
- Akshay

Similar Messages

  • How to send Dynamic Interactive Forms through mail?

    Hi all,
    I'm trying to sent Interactive Forms as attachment through mails.
    Everything works fine as long as the Content of this Interactive Form stays static.
    When I add dynamic elements and test this in SFP, they work.
    However when they get sent by mail, the dynamic content is lost and gets back Static.
    Does anyone has ABAP code or any other solutions so that the PDF gets send as an Dynamic Form?
    Thanks in advance.
    Kind Regards,
    Maarten

    Hi,
    I'm working from the Web UI. This is BSP. Here I add 2 Methods (GET_PDF and SEND_MAIL).
    The GET_PDF gets all data for the form and then sends the FORMOUTPUT to the SEND_MAIL method.
    Here I add the PDF as following:
    First I convert it to BINARY and then I add it as attachment.
    Do I need to add it as another TYPE or ....
    +  CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
        EXPORTING
          BUFFER                = ip_formoutput-PDF "PDF file from function module
        APPEND_TO_TABLE       = ' '
      IMPORTING
        OUTPUT_LENGTH         =
        TABLES
          BINARY_TAB            = lt_att_content_hex
      lo_document->add_attachment(
        EXPORTING
          i_attachment_type    = 'PDF'
          i_attachment_subject = 'Your appointment Details'
          i_att_content_hex    = lt_att_content_hex ).+
    Kind Regards,
    Maarten

  • Saving an Adobe Interactive Form without dialog in background

    Hi'
    I hope someone here can help us.
    Our client uses an R/3 system, version 4.6C, where data for the Interactive form is generated.
    We use an RFC call to send the data to a NetWeaver system.
    The RFC generates our Adobe Interactive form in the NetWeaver system.
    We need to save the generated PDF file onto a harddrive in this background processing ( in the RFC ) immidiately after the file has been generated.
    Any ideas as to how we save the file?
    Regards,
    Karin.

    Here's one way I could think of doing it. Not sure if it's the most efficient. There may be some function modules out there....
    You write a small program to print an Adobe form from the RFC.
    Before you call Job open (CALL FUNCTION 'FP_JOB_OPEN'
    ), set the following parameters of
    sfpoutputparams.
    Set the outputparamaters to suppress the dialog
    utputparams-nodialog = 'X'.
    Set to print to a dummy printer
    outputparams-dest = 'LP01'.
    Set a spool request
      outputparams-REQNEW = 'X'.
    Then you can call a program like rstxpdft4 to download the PDF file.
    Regards,
    Lavaughn

  • Adobe Interactive Forms via Mail and PI.

    Hi All,
    We are currently implementing an adobe interactive forms scenario (offline) at our customer.
    The initial scenario was the folllowing
    1. PDF is generated on the CRM system and downloaded towards the clients PC
    2. PDF is adjusted by enduser
    3. When all info is added, enduser presses the submit button in the pdf, this triggers the sending of an email, with an attachment containing the filled in data in xml format.
    4. PI reads the mail, takes the XML and processes the data.
    The scenario was quiet easy to enable.
    Now the customer wants the PDF to be mailed instead of or toghetger with the xml representing the data. Reason for this is that they want to pdf to be stored inside the initial transaction (service order) in SAP (archiving reasons).
    The PI system is just acting as a mail client. When the mail is read, the pdf needs to be converted into an xml, representing the data. I would like to use the adobe document service to convert the pdf.
    So the system that generates the pdf (=CRM) and the system that needs to convert it (PI) is different.
    Can the adobe document service by addressed from within a standard java or abap class.
    Any idea whether this can be done and how?
    Easier solution would be, attaching the pdf and the xml in the mail message. Is this possible?
    Kind regards
    Joris

    Hi,
    Adobe Interactive form can be generated and sent it via email by using a normal Java class. But that Java class should run in a server which should contain Adobe DocumentService.This java class can be archived as a par file and deployed on Portal server or can be written as a Webservice and can be triggered by clicking on a URL.
    Hope this blog helps.
    /people/ramesh.kotagiri/blog/2009/01/19/dynamic-generation-of-offline-adobe-interactive-forms-for-sap-46c-and-ep-70-without-user-intervention-part-150-iii

  • Changing the background of a text field in adobe interactive forms

    Hello All,
    Is there any way to change the background colour of text field in interactive form dynamically.??
    Thanks,

    Naresh,
    Change the language to JavaScipt in Script Editor of LiveCycle Designer and use the following code to highlight the area of TextField where R,G,B means that you have to give the RGB values of the color you want.
    <YourTextFieldName>.border.edge.color.value = "R,G,B";
    For eg:- If you have a textfield with name TextField1 then this will highlight the TextField1 area in red color.
    if ((TextField1.rawValue==null) || (TextField1.rawValue==""))
      TextField1.border.edge.color.value = "255,0,0";
    You can use this on exit event of Textfield1 or at the submit button where you check the form data.
    Chintan

  • E-mails with Interactive Forms by WebDynpro for ABAP

    Hello,
    I plan to use WebDynpro for ABAP and Adobe Interactive Forms.
    I want to send e-mails with PDF files which are created by Interactive Forms.
    Please let me know
    - How to send e-mails by WebDynpro for ABAP
    - How to attach PDF files.
    Best regards,
    Koji

    Thanks,
    I checked WDR_TEST_MAILT, but I want to know is
    how to send e-mails using ABAP method because
    in my case addresses and some data are stored add-on tables, and extract them on e-mails.
    Regards,
    Koji

  • Adobe Interactive Form send by mail?

    Hello all,
    did anyone try to use Adobe Interactive Form in following scenario:
    - form is automatically filled from the context, without any user interaction
    - user can preview document
    - user send document via e-mail, not using mail button in pdf viewer, but programatically in webdynpro app.
    Tnx for the comments!
    BR, Ivan

    Did you use this script in your button?
    mailto:? Subject =
    This has always worked for me.

  • 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

  • Generate Adobe Interactive Form in background and setpdfSource value.

    Hi,
    Is there any way to create Adobe Interactive Form in the background assigning R/3 data (without displaying) and assign pdfSource binary information in context attribute and later, display Adobe Interactive Form using pdfSource context attribute in a new window?
    if Adobe Interactive Form is in Visible state, I'm also able to display Adobe Interactive Form in a new window using pdfSource binary context attribute, .
    But, unable to create Adobe Interactive form in the background when Adobe Interactive Form Visibility is NONE and unable to assign binary data to pdfSource attribute in context and hence unable to display Adobe Interactive Form in a new window. Kindly help me if this process is possible.
    Thank you in advance.
    Regards
    Prasad

    Hi Prasad,
    This is certainly possible. First populate the dataSource context node with the data (e.g. coming from R/3). Then use <a href="http://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/clientserver/adobe/api/WDInteractiveFormHelper.html">WDInteractiveFormHelper.getContextDataAsStream</a> to obtain the data.xml as a byte[] by calling toByteArray() on the ByteArrayOutputStream. The next step is to obtain the xdp template as a byte[] (I don't know exactly how to do this, but it's certainly possible using some API, just as you would read other resources deployed within your Web Dynpro). When you have both the template and the data, you can use the <a href="http://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/clientserver/adobe/pdfdocument/api/package-summary.html">PDFDocument</a> API to render a PDF, something as <i>WDPDFDocumentFactory.getDocumentHandler().getDocumentContext().getDocumentCreationContext()</i>; set the data and the template and other options like interactive, call execute and retrieve the pdf byte[] from the returned object. Eventually you can assign the pdf byte[] to the pdfSource context attribute. In case you use NW04, you must use the <a href="http://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/pdfobject/api/package-summary.html">PDFObject</a> instead.
    Besides, why would you want to create the PDF before displaying it?
    Kind regards,
    Sigiswald

  • Interactive Form -  mail subject

    Hi SDN,
    In an offline interactive form scenario, the subject of the email is like a code (cryptic).
    Is possibile to change the subject of the email?
    THX.

    Hi,
    I am not sure what you mean by cryptic... In any case, the e-mail sent out with interactive forms is generated using a certain mail template. This is FORM_FILLOUT, if I'm not wrong. It is configured in Visual Administrator, but you can of course replace it with a custom template.
    You can design the template in the Administration workset and then configure the mime.id.forms.mail property in VA with the new template name.
    For more info look at:
    <a href="http://help.sap.com/saphelp_nw70/helpdata/en/17/f156428367bd30e10000000a155106/frameset.htm">Managing E-Mail Templates</a>
    <a href="http://help.sap.com/saphelp_nw70/helpdata/en/6a/fa96421ae6c66ae10000000a155106/frameset.htm">Configuration for Guided Procedures Forms</a>
    HTH:)
    Regards, Petja

  • ADOBE Interactive forms / Automatic handling by SAP via mail

    Hi All,
    Short question. Is it possible that for example, an email
    with a predifined body is send to a SAP SMTP port and that the content is read bij an service(for so far this is possible)and that this service creates an ADOBE interactive form autmatically  and returns it by mail.
    I have to know this, because it is a possible customer scenario.
    Any input is welcome!
    Thanks,
    Harrie Prinsen

    Hi,
    Adobe Interactive form can be generated and sent it via email by using a normal Java class. But that Java class should run in a server which should contain Adobe DocumentService.This java class can be archived as a par file and deployed on Portal server or can be written as a Webservice and can be triggered by clicking on a URL.
    Hope this blog helps.
    /people/ramesh.kotagiri/blog/2009/01/19/dynamic-generation-of-offline-adobe-interactive-forms-for-sap-46c-and-ep-70-without-user-intervention-part-150-iii

  • I need to set background image in interactive forms. How it is possible ple

    Hi,
    I need to set background image in interactive forms. How it is possible please explain it step by step.
    Regards,
    Gurprit Bhatia

    Hey Gurprit,
    All you need to do is:
    1. drag and drop the Image object from the Library -> Standard tab
    2. select the image you want to use
    3. position the image on the form where you want
    4. right click the image and say "Send to Back"
    That should be it!!
    Cheers,
    Kevin

  • Help for-offline interactive forms based on sending receiving mails in ABAP

    hello friends i am struck with a requirement of my client.
    I am new to Forms and WEBDYNPRO and I have to cover a scenario where I have to develop,'offline interactive forms based on sending receiving emails '..
    i browsed a bit and with all the luck found a very good resource.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cacb9a7d-0c01-0010-1281-be4962c9ab3e
    but the problem is it is in JAVA.. I dont know JAVA..I know ABAP..
    can any one give me similar tutorial in ABAP or any other related links ..
    waiting to give Big Reward Points...

    Try these links...
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/lw/uuid/90e279fe-0107-2a10-bc85-bd96ab9738a7
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5087262b-59ef-2910-abb1-957000b7c3d4
    Hope they help.....
    Rao

  • Auto Saving of HCM interactive form in Background

    Hi ,
    We are using HCM Forms and Process to automate the processes where user fills the interactive form from EP and after that workflow will take care of approvals and finally data of the form is saved in the infotypes.Till now its working fine.
    But there is one requirement to save the form at the last approval level on the application server.As HCM forms and process is using Case management and all data of the form is available in XML format which enduser cannnot understand.
    So can you  suugest the way to save this pdf form automatically in the backgound.
    Thanks,
    Rahul

    Hi Rahul.
    Please use my profile to contact me and I'll send you some code that will help.
    Thanks,
    Derrick Banks
    Banks & Company

  • Adobe Interactive Forms - Senden per mail

    Hallo,
    ich benutze auf meinem Formular die Senden-Schaltfläche da ich das Dokument als PDF senden möchte. Unter "Absenden an URL" habe ich eine feste Mailadresse mit "mailto:" angegeben. Hier möchte ich eine zweite frei wählbare Mailadresse noch mit angeben können.
    Ich habe es schon mit einer zweiten festen Mailadresse (mailto: adr1;adr2) ausprobiert. Das funktioniert.
    Gibt es eine Möglichkeit dieses Attribut (Absenden an URL) der Sendenschalftläche per Script zu setzen? Bisher habe ich auch noch keine brauchbare Lösung gefunden. Eine zweite Schaltfläche möchte ich nicht implementieren. Kann sein, daß in Zukunft auch noch weitere Mailempfänger hinzukommen.
    Vielen Dank im Voraus für eure Unterstützung!
    yukoono

    Hi,
    Adobe Interactive form can be generated and sent it via email by using a normal Java class. But that Java class should run in a server which should contain Adobe DocumentService.This java class can be archived as a par file and deployed on Portal server or can be written as a Webservice and can be triggered by clicking on a URL.
    Hope this blog helps.
    /people/ramesh.kotagiri/blog/2009/01/19/dynamic-generation-of-offline-adobe-interactive-forms-for-sap-46c-and-ep-70-without-user-intervention-part-150-iii

Maybe you are looking for

  • Ac adapter noise

    i recently noticed my ac adapter making a beeping/humming noise that i have never heard before. at first i thought it was my hdd but then i noticed it when i pluged it in.my laptop is a cq50 210us that i got in november with the included charger and

  • Instant Client to connect to Oracle 8i

    Does anyone know where I can download a version of Instant Client that is compatible with Oracle Server 8i (8.1.7.0). The only download I can find is for 11.1 and that's not compatible. All I'm trying to do is setup some OLE DB data sources in SSIS t

  • How to enter the currency value Flex mobile

    Hi, friends, I type from Brazil how to enter the currency value in textinput format BR ( Brazil )?: Thank's

  • Error message and run time is really slow-not responding

    Hello I am using Adobe Captivate 5 and have been bulding alot of training simulations over the past few days and have noticed that the system seems to be preforming worse and worse as the days go by. So I wondered if maybe there was a setting or some

  • Possible to select movie playlists on iTunes?

    Just upgraded to Apple TV 2 and wondered whether it is possible to select a playlist rather all the files on a Mac that you connect to? When I connect to my Movies I only seem to have the option of seeing all my movies rather than playlists with sele