Adobe Interaction form as Attachment of Email

hi experts,
my requirement:
I have a report and an Adobe form.
my report will generate this form in each loop and mail it.
I am getting the PDF form object and passing it to the Email FM: SO_NEW_DOCUMENT_ATT_SEND_API1
the mail is getting send with the Attachment
but the Attachment is NOT OPENING from the Inbox.
Says " No pages to display".
Can anyone provide a code for attaching PDF Interactive form in a mail?
ags.

[link to Adobe Interaction form as Attachment of Email|http://www.sdn.sap.com/irj/scn/abap-elearning]hi,
see the below link

Similar Messages

  • Adobe Interactive Form as an Attachment

    Hi we have requirement to make Adobe Interactive Form as an attachment in work item (workflow).
    Does any body come across with this requirement? How we make Adobe Interactive Form as an attachment ?
    Many thanks

    Hi,
    i have the same requirement. But im not able to solve this problem by the link, which is posted. I also used the search function, but no results.
    I know how to send the Interactive Form via email, and it works nice, but how can i create an object out of the Interactive Form and pass it to a workflow container?
    Im using FM SO_OBJECT_INSERT but there is something wrong with the conversion, everytime i try to open the attachment i get a error message that the file is broken.
    Any suggestions how to solve it?
    Kind Regards
    Michael

  • Trigger workflow from ABAP webdynpro and attach an Adobe interactive form

    I have a need to create an ABAP Webdynpro that will upload a completed Adobe interactive form and then route the form to multiple approvers thru workflow.  I am having trouble finding any documentation or examples of passing the Adobe form in the workflow.  Do I have to save the content of every field on the form to an internal table and then have every workitem call an ABAP webdynpro to render the form?  Any help or suggestions would be greatly appreciated.

    Hi Joyce,
    This can be done as follows :
    [pdf as an attachment|https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/60ff6ad3-729b-2b10-6582-fedc82680a29&overridelayout=true]
    Regards,
    Geet

  • Attachment of files in an Adobe Interactive form

    Hi,
      Is it possible have 'File attachment' attach any type of file inside and Adobe Interactive form .. ?
    Thanks
    Sivaraj

    Yes, you can attach all kind of filetypes to an AIF.

  • Adobe Interactive Form: sending without email-account

    hi folks
    is it possible to send an interactive adobe form to an email-address without having an email-account?
    thank you for helping me.
    cheers
    toni

    Hi Antonio,
    As per my knowledge its impossible to send an interactive form without having an email account. However its possible to transfer form between two users using the same portal. Hope it will help you.
    Regards,
    Vaibhav Tiwari.

  • Using Adobe Interactive Form - Attach The Static PDF.

    Dear Experts,
    Is it possible to attach the static pdf  along with dynamic pdf, which is been created at run time in using NW 7.0 adobe interactive form(Interactive Form UI Element)., If yes then kindly let me know how can be done ..
    Any help will greatly appreciated.
    Thanks
    AB

    Solved my self, converted PDF into image and used that pdf as a static image in Adobe Interactive Form.

  • 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,
    Tofan

    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

  • Adobe Interactive Forms Set Fillable through SFP

    Hello Gurus,
    I have a question regarding adobe interactive forms. I have created an interface and form in transaction SFP. The form is being called as an email attachment during an issue creation. What i want to do is set the form fillable in the import structure /1BCDWB/DOCPARAMS. I tried to do this through the code initialization in the interface but it does not set the form fillable. I have no other code interaction with the from besides in the code initialization section of the interface. Is there a straight forward way to set it fillable? Thanks.

    Hello Timothy
    You must be generating the PDF and emailing it as an attachment in background in your program.
    Refer to code below, It should work
    * get the name of the generated function module
       try.
           call function 'FP_FUNCTION_MODULE_NAME'
             exporting
               i_name     = 'DEMO_ADOBE_OFFLINE'
             importing
               e_funcname = fm_name.
         catch cx_fp_api.
           assert 1 = 2.
       endtry.
    * set output parameters and open spool job
       fp_outputparams-preview  = 'X'.    " do not launch print preview
       fp_outputparams-nodialog = 'X'.    " suppress print dialog
       fp_outputparams-connection = cl_fp=>get_ads_connection( ).
       fp_outputparams-getpdf   = 'X'.
       call function 'FP_JOB_OPEN'
         changing
           ie_outputparams = fp_outputparams
         exceptions
           cancel          = 1
           usage_error     = 2
           system_error    = 3
           internal_error  = 4
           others          = 5.
       assert sy-subrc = 0.
    * set the form to be editable
    * Try to set fp_docparams- FILLABLE = 'F' instead of fp_docparams- FILLABLE = 'X'
    fp_docparams-fillable = 'F'.
    * call the generated function module to generate the pdf
       call function fm_name
         exporting
           /1bcdwb/docparams  = fp_docparams
           /1bcdwb/docxml     = xml
         importing
           /1bcdwb/formoutput = fp_result
         exceptions
           usage_error        = 1
           system_error       = 2
           internal_error     = 3
           others             = 4.
       assert sy-subrc = 0.
    * close spool job
       call function 'FP_JOB_CLOSE'
    *   IMPORTING
    *     E_RESULT             =
         exceptions
           usage_error          = 1
           system_error         = 2
           internal_error       = 3
    others               = 4.
    Regards
    Sandy

  • Adobe Interactive Form / Web Service - Connection question

    Hi
    We have CRM 2007 and want to use Adobe Interactive forms for our sales managers to upload customer information when they're out in the field. Before they leave all information about the customer will be downloaded to an Adobe Interactive Form. The client sees the customer and then enters the information required to e.g. create a sales order. He has an Internet connection but is not neccessarily logged into CRM 2007. He is a registered user in CRM 2007.
    My question is: if we create the web services to send and receive data to the CRM 2007 system, does the sales manager have to be online and signed into the CRM system to upload the Adobe Interactive Forms back to the server, or does the web service handle this?
    Kind regards
    Declan

    Hello Declan,
    You can send the information captured in an SAP Interactive Form by Adobe to your CRM system in two ways based on the way in which your form is designed -
    1] By making a direct web service call : A typical use case is that the user fills out all the necessary fields in the form and simply clicks a submit button; on clicking, the particular web service is called and the input data is transferred to SAP CRM. It should be noted that the web service authorizations should be in place to enable this kind of usage.
    2] By utilizing SAP CRM via Email scenario : A typical use case here would be that the user fills out all the necessary fields in the form and simply clicks a submit via email button; on clicking, an email is composed with all the form input infomration added as an attachment. The user can then send this email to the SAP CRM system. It should be noted that SAP CRM via Email application should be setup on the SAP CRM system and the particular SAP CRM via Email service & web service should have proper authorizations.
    An interesting point to note here is that while scenario 1] would require the user to have just internet access for this to work, scenario 2] could work in a fashion such that if the user isn't having internet access, he/she could still fill out the forms thereby creating emails which would then reside in the outbox of the user's email client. Once the user is having internet acces, the email client would send these emails automatically, thereby achieving a different flavour of "offline functionality".
    Hope this info helps!
    Best regards,
    Sandeep.

  • 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

  • How to binnding the data in the adobe interactive forms for making a table?

    Hi, experts,
    Function:
    Through the sharing context node between adobe interactive form and a WDA for ABAP, display the data of the sflight_node in the ADOBE.
    version:
    Acrobat Reader 8.1.0
    currently both of the SAP-ABA and SAP-BASIS SP level: 9
    ADS : Successful.
    The following is my action:
    1.     Create a interface (Z_SFLIGHT_INTF) with a attribute node (SFLIGHT_NODE) that type is "sflight"  using the transaction code "sfp"
    2.     Create a form (Z_SFLIGHT_FORM) using the transaction code "sfp" with the interface Z_SFLIGHT_INTF.
    3.     Trag the sflight_node in the Z_SFLIGHT_INTF to the form( Z_SFLIGHT_FORM).
    4.     Open the layout tab in the form(Z_SFLIGHT_FORM), and create a table(table1). Click the table created just now, select the binding tab in the object tab, and in the Default Binding, select the SFLIGHT_NODE under the Z_SFLIGHT_FORM.
    Problem 1:
    Do you tell me whether is right for binding the context SFLIGHT_NODE using this way? If bind 3 context attributes in the sflight, how can I do it?
    5.     Create a WDA for abap (ZZ_02_SFLIGHT), and create a view(MAINVIEW) using transaction code "se80" in the sap-gui with adobe interactive form. Set the templatesource(Z_SFLIGHT_FORM) in the  adobe interactive form properties and saved, and then, datasource is "MAINVIEW_Z_SFLIGHT_FORM" automatically.
    6.     But I only found the attribute SFLIGHT_NODE under the context node(Z_SFLIGHT_NODE), and  I don't found the NODE ( SFLIGHT_NODE ) context in the context tab in the WDA for abap so that I don't set data to the context NODE (SFLIGHT_NODE).
    Problem 2:
    Do you tell me what can I do it so that I get the node SFLIGHT_NODE rather than attribute in the WDA for setting the data to the CONTEXT NODE (SFLIGHT_NODE)?
    Thanks a lot.
    Best regards,
    Tao

    Hi, experts,
    You can reply back to me via e-mail if you think we should discuss this internally at [email protected] or [email protected]
    Thanks a lot.
    Best regards,
    tao

  • Error while executing WebDynpro Application with Adobe interactive forms.

    I have created a webDynpro application which involves an adobe interactive form. When i deploy and run the application, i am able to deploy it on the J2EE engine on the EP server but while executing it, i get the following exception -
    <b>Error Summary
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    Root Cause
    The initial exception that caused the request to fail, was:
       com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Error during call to AdobeDocumentServer: Processing exception during a "UsageRights" operation. Request start time: Thu Oct 12 17:30:39 GMT+05:30 2006
        at com.sap.tc.webdynpro.clientserver.adobe.AdobeFormHelper.createPDFDocumentForUIElement(AdobeFormHelper.java:486)
        at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:185)
        at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterHandleActionEvent(ClientApplication.java:1154)
        at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:402)
        at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:649)
        ... 21 more</b>
    I would appreciate any help in this matter.
    Thanks...

    Hi,
    Check the note in this site...
    https://websmp204.sap-ag.de/notes
    Regards,
    <i><b>Raja Sekhar</b></i>

  • Error message while clicking PDF Preview of a ADOBE interactive form

    Hi -
    I am creating an ADOBE interactive form having Tables, few text fields and E-mail submit button. The scripting language used is FormCalc.
    Whenever I am clicking on PDF Preview to see the form layout and to check other functionality, I am getting an error message:
    Error message -
    Error: syntax error near token '|' on line 1, column 14.
    Script failed (language is formcalc; context is xfa[0].form[0].data[0].Mainpage[0].Subform3[0].Table2[0].Row1[0].RATING[0])
    script=this.isnull || (this.rawvalue >= -32768 && this.rawvalue <= 32767
    I checked my scripts and there is no syntax error in that. My form is also working absolutely fine except getting this error message pop up whenever I try previewing my form.
    Can you please tell me, what can be the possible reason.

    I tried everything, but couldn't figure out the reason for error. I wrote the script again, but the error is still coming.
    Here is a part of my script. I have written this script on Email submit button in preSubmit event, to check if the RATING field value is less than or equal to 3. depending upon this condition, I am making the COMMENT field as mandatory. The same script is repeated for all the RATING & COMMENT fields.
    if (data.GyanMainBodyPage.Subform2.Table1.Row1.RATING1 <= 3)
    then
                  data.GyanMainBodyPage.Subform2.Table1.Row1.COMMENT1.mandatory = "error"
                  data.GyanMainBodyPage.Subform2.Table1.Row1.COMMENT1.mandatoryMessage = "Please fill corresponding comment"
    else
                  data.GyanMainBodyPage.Subform2.Table1.Row1.COMMENT1.mandatory = "disabled" 
    endif

  • Calling webservice in Adobe interactive form

    Hi,
    I have a webservice created for a function module which in turn calls the BAPI_PR_CREATE (purchase requisition creation) BAPI. I am trying to call this webservice from an Adobe interactive form I've created. Basically the user will enter all necessary data inside the form and when he presses a button the webservice should be called and the purchase requisition should be created.
    My question is what type of "Control type" should I use for the button "Regular", "Execute" or "Submit" and how should the javascript code look like?
    I have tried a lot of solutions that I've found on the internet but nothing worked.
    The ADS service is not yet installed, I know that this is a big issue but could this affect the functionality or could this be the cause why nothing seem to work?
    Thank you and Best Regards,
    Mihai

    Hi Florian,
    thank you for the given information.
    Unfortunatelly I was waiting for a long time from the BASIS team to install the ADS. Yesterday they've told me it's finally done.
    Consequently I started to retest the solutions I've found but with no result so far.
    I've tried to make the button an "Execute" control type and added the Connection inside the Execute tab.
    I've also tried with the following javascript inside the xml file (inside the click event of the button) and all of the button control types:
    var tempsoapAddress = xfa.connectionSet.DataConnection.getElement("soapAddress").value;
    var tempwsdladdress = xfa.connectionSet.DataConnection.getElement("wsdlAddress").value;
    var ServerPath = body.systemConfig.system.rawValue;
    var client = <Get Client from a data attribute>
    var Soap_PreServerPort =  "http://";
    var Soap_PostServerPort =  "/sap/bc/soap/rfc?sap-client=";
    var SoapAddress = Soap_PreServerPort + ServerPath + Soap_PostServerPort + client ;
    var Wsdl_PreServerPort =  "http://";
    var Wsdl_PostServerPort1 =  "/sap/bc/soap/wsdl11?services=ZBAPI_PO_CREATE2&amp;sap-client=";
    var wsdlAddress =  Wsdl_PreServerPort + ServerPath + Wsdl_PostServerPort1 + client ;
    xfa.connectionSet.DataConnection.getElement("soapAddress").value = SoapAddress;
    xfa.connectionSet.DataConnection.getElement("wsdlAddress").value = wsdlAddress;
    xfa.connectionSet.DataConnection.execute(0);
    xfa.connectionSet.DataConnection.getElement("soapAddress").value = tempsoapAddress;
    xfa.connectionSet.DataConnection.getElement("wsdlAddress").value = tempwsdladdress;
    xfa.connectionSet.DataConnection = null;
    I've also found that maybe I should have attached the following roles and authorization objects to my user:
    Authorization objects: S_USER_PRO, S_SERVICE and S_ICF_ADMIN, S_SRT_ADM
    Roles:
    a) SAP_BC_WEBSERVICE_ADMIN
    b) SAP_BC_WEBSERVICE_ADMIN_BIZ
    c) SAP_BC_WEBSERVICE_ADMIN_TEC
    d) SAP_BC_WEBSERVICE_CONSUMER
    e) SAP_BC_WEBSERVICE_DEBUGGER
    f) SAP_BC_WEBSERVICE_OBSERVER
    g) SAP_BC_WEBSERVICE_SERVICE_USER
    Do you have ideea what could be the issue? Can you give me another solution?
    Thank you and Best Regards,
    Mihai

  • GP and WD with Adobe Interactive form question - need some guidance.

    Hello experts,
    FYI, I'm running ECC 5.0 Support Stack 9, EP 7.0 SPS 11, NWDS 2.0.9_15 with Adobe Livecyle Designer.
    I am slightly stuck with what I'm trying to do. I have created a web dynpro application that has an Adobe interactive form. I'm trying to use guided procedures to initiate a process so that this interactive form can be filled out and submitted to an approver. I need the relevant parties to receive a notification email. I have setup email templates and services, I just need to know how it will fit into the process. Once approved in the process, a BAPI should be invoked to populate some fields in the form. Should I be creating the Web Dynpro application to invoke the bapi or should a guided procedure callable object invoke the bapi? I know how to do these things, but I dont know which method I should use, in order to correctly have this process flow from point A - point B. Should the process appear in the Universal Worklist? If not, why not? Will it only appear in the GP runtime? I have pretty much read thru most of the tutorials but still cannot get this GP stuff to work as a WHOLE process.
    Any guidance, suggestions, possible solutions will be greatly appreciated.
    Thanks
    Kunal.

    Hi,
    It seems you have not activated the Composite Form object. Only after activation you will be able to use it to create a Callable Object of type composite form.
    Hope this helps,
    Ashutosh

Maybe you are looking for

  • Easy way to create a new dvd from an authored dvd so slideshow can be added

    Can a DVD be copied and an almost duplicate DVD be created from it with an iDVD slideshow added? I would like to know if I can make a composite DVD from my wedding video DVD and the wedding slideshow DVD I created with iDVD that keeps all their respe

  • FW CS4 Major Bugs I've Encountered So Far

    *Had to edit because even the bullet tag doesn't even work. C'MON ADOBE!* Some of these have been covered already, but I just wanted to start a definite list of things that make CS4 unusable and should have been fixed in the beta before the final rel

  • Swing actionPerformed behaviour

    I have a problem: I've made a JFrame with a JProgressBar in to show the progress of some file operations. I can use this class ok in a "normal" method, but as soon as I move this into a actionPerformed method (for a button) it doesn't seem to work. I

  • Is there a way to block all internet on my teenagers IPhone4s?

    I would like to block internet usage on my teenagers IPhone4S during select times. Is there a way to do this?

  • IWeb and Aperture: any updates since October?

    I've shared the difficulties that others have discussed in getting Aperture, iWeb and iPhoto to play nice together. I use Aperature now because I have so many photos, and I was having to rebuild my iPhoto cache every day (to the tune of 15-30 minutes