Automatically send by email an adobe pdf form

Hi,
We developped custom adobe forms.
We have to plug them to SAP CRM customizing in action profiles, to attach them to the business object in SAP and send it by email.
We can do it with smartforms, but we didnt find the customizing point to do it with adobe forms (fill in the form and class method in action profile).
Any idea?
Points awarded!
Yann

Hi,
FInally, I figured out how to make it work in the "proper" way.
We swhitched back to "external communication" for communication type in SPRO (action profile) instead of Smartform processing.
THen we choose Adobe Form, entered our specific adobe form and filled in the field "pattern" with a badi. This badi is a specific class inheriting of class doc_personalize_bcs.
Finally the PPF communication framework delivered along with ADS is working well.
I have some documentation about this point described above. I can send it to you by email (works only for CRM).
Yann

Similar Messages

  • When I send an email notification that the form has been sent I want the receiver to get a copy of the actual filled out form not a ling to the data, how can I make this happen?

    When I send an email notification that the form has been sent I want the receiver to get a copy of the actual filled out form not a ling to the data, how can I make this happen?

    Hi,
    you can find documentation for Designer under this website
    http://help.adobe.com/en_US/livecycle/10.0/documentation.html#task=4,5&module=2
    In Designer you can use the JavaScript API of Acrobat.
    So the Devnet for Acrobat is also a good source.
    http://www.adobe.com/devnet/acrobat.html
    http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/js_api_reference.pdf

  • FM to send an email with a PDF attachment

    Hello All,
        Please suggest me some FMs to send an email along with PDF attachment.
    Thanks,

    DATA: i_otf       TYPE itcoo OCCURS 0 WITH HEADER LINE,
          i_tline     TYPE TABLE OF tline WITH HEADER LINE,
          i_receivers TYPE TABLE OF somlreci1 WITH HEADER LINE,
          i_record    LIKE solisti1 OCCURS 0 WITH HEADER LINE,
    * Objects to send mail.
          i_objpack   LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
          i_objtxt    LIKE solisti1 OCCURS 0 WITH HEADER LINE,
          i_objbin    LIKE solisti1 OCCURS 0 WITH HEADER LINE,
          i_reclist   LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
    **************Work Area declarations***********************
          w_objhead   TYPE soli_tab,
          w_ctrlop    TYPE ssfctrlop,
          w_compop    TYPE ssfcompop,
          w_return    TYPE ssfcrescl,
          w_doc_chng  TYPE sodocchgi1,
          w_data      TYPE sodocchgi1,
          w_buffer    TYPE string."To convert from 132 to 255
    data:     v_len_in     TYPE sood-objlen,
         v_len_out    TYPE sood-objlen,
         v_len_outn   TYPE i,
         v_lines_txt  TYPE i,
         v_lines_bin  TYPE i.
    start-of-selection.
      w_ctrlop-getotf    = gv_abaptrue.
      w_ctrlop-no_dialog = gv_abaptrue.
      w_compop-tdnoprev  = gv_abaptrue.
    PERFORM call_smartform.
      PERFORM convert_to_otf_format.
      PERFORM pdf_formatting.
      PERFORM build_mail_format.
      PERFORM send_mail.
    form call_smartform.
    DATA:fm_name  TYPE rs38l_fnam.
      DATA:formname TYPE tdsfname VALUE 'ZSD_CRM_PROFORMA_INVOICE_001'.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname = formname
        IMPORTING
          fm_name  = fm_name.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      CALL FUNCTION fm_name
        EXPORTING
          control_parameters = w_ctrlop
          output_options     = w_compop
          user_settings      = ' '
          v_vbeln            = v_vbeln
          v_erdat            = gv_dat
          wa_custaddr        = gw_zcustaddr
          v_stceg            = gw_kna1-stceg
          v_total            = gv_total
          vbak               = vbak
          v_lifnr            = gw_kna1-lifnr
          vbrp               = vbrp
          v_head             = gv_heading
          v_taxtext          = gv_text
          v_tax              = gv_tax
          v_gtotal           = gv_gtot
        IMPORTING
          job_output_info    = w_return
        TABLES
          it_det             = gt_items
        EXCEPTIONS
          formatting_error   = 1
          internal_error     = 2
          send_error         = 3
          user_canceled      = 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.
    endform.
    form convert_to_otf_format.
      i_otf[] = w_return-otfdata[].
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF'
          max_linewidth         = 132
        IMPORTING
          bin_filesize          = v_len_in
        TABLES
          otf                   = i_otf
          lines                 = i_tline
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          OTHERS                = 4.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    endform.
    form pdf_formatting.
    * Convert PDF from 132 to 255.
      LOOP AT i_tline.
    * Replacing space by ~
        TRANSLATE i_tline USING ' ~'.
        CONCATENATE w_buffer i_tline INTO w_buffer.
      ENDLOOP.
    * Replacing ~ by space
      TRANSLATE w_buffer USING '~ '.
      DO.
        i_record = w_buffer.
    * Appending 255 characters as a record
        APPEND i_record.
        SHIFT w_buffer LEFT BY 255 PLACES.
        IF w_buffer IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
    endform.     
    FORM build_mail_format .
    DATA:lv_dash(1)         TYPE c VALUE '-'.
      DATA:lv_xtn(4)          TYPE c VALUE '.pdf'.
      CONSTANTS:lv_esacpe     TYPE so_escape  VALUE 'U'.
      CONSTANTS:lv_so_obj_tp  TYPE so_obj_tp  VALUE 'PDF'.
      CONSTANTS:lv_so_obj_tp1 TYPE so_obj_tp  VALUE 'RAW'.
      CONSTANTS:lv_so_obj_sns TYPE so_obj_sns VALUE 'F'.
    * Get Email ID's
      SELECT * INTO TABLE gt_address[] FROM adr6
      WHERE addrnumber = gw_kna1-adrnr.
      REFRESH:i_reclist,
              i_objtxt,
              i_objbin,
              i_objpack.
      CLEAR w_objhead.
    * Object with PDF.
      i_objbin[] = i_record[].
      DESCRIBE TABLE i_objbin[] LINES v_lines_bin.
    * Object with main text of the mail.
      i_objtxt = text-002.
      APPEND i_objtxt.
      DESCRIBE TABLE i_objtxt LINES v_lines_txt.
    * Document information.
      w_doc_chng-obj_name = text-005.
      w_doc_chng-expiry_dat = sy-datum + 10.
      IF gw_flg = 'T'.
        w_doc_chng-obj_descr = text-003.
      ELSE.
        w_doc_chng-obj_descr = text-004.
      ENDIF.
      CONCATENATE w_doc_chng-obj_descr lv_dash v_vbeln INTO w_doc_chng-obj_descr.
      w_doc_chng-sensitivty = lv_so_obj_sns. "Functional object
      w_doc_chng-doc_size = v_lines_txt * 255.
    * Pack to main body as RAW.
    * Obj. to be transported not in binary form
      CLEAR i_objpack-transf_bin.
    * Start line of object header in transport packet
      i_objpack-head_start = 1.
    * Number of lines of an object header in object packet
      i_objpack-head_num = 0.
    * Start line of object contents in an object packet
      i_objpack-body_start = 1.
    * Number of lines of the object contents in an object packet
      i_objpack-body_num = v_lines_txt.
    * Code for document class
      i_objpack-doc_type = lv_so_obj_tp1.
      APPEND i_objpack.
    * Packing as PDF.
      i_objpack-transf_bin = gv_abaptrue.
      i_objpack-head_start = 1.
      i_objpack-head_num = 1.
      i_objpack-body_start = 1.
      i_objpack-body_num = v_lines_bin.
      i_objpack-doc_type = lv_so_obj_tp.
      i_objpack-obj_name = text-005.
      CONCATENATE w_doc_chng-obj_descr lv_xtn INTO i_objpack-obj_descr.
      i_objpack-doc_size = v_lines_bin * 255.
      APPEND i_objpack.
    * Document information.
      CLEAR i_reclist.
    * e-mail receivers.
      LOOP AT gt_address INTO gw_adr6.
        i_reclist-receiver = gw_adr6-smtp_addr.
        i_reclist-express =  gv_abaptrue.
        i_reclist-rec_type = lv_esacpe. "Internet address
        APPEND i_reclist.
      ENDLOOP.
    endform.
    FORM send_mail .
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = w_doc_chng
          put_in_outbox              = ' '
        TABLES
          packing_list               = i_objpack[]
          object_header              = w_objhead[]
          contents_bin               = i_objbin[]
          contents_txt               = i_objtxt[]
          receivers                  = i_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 sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      COMMIT WORK.
    ENDFORM.  
    hi this is a program for sending smartform as pdf attachment.
    make the necessary modifications in the OTF part and use it
    Edited by: Keshu Thekkillam on Jul 10, 2009 7:17 PM
    Edited by: Keshu Thekkillam on Jul 10, 2009 7:17 PM

  • Faxing adobe pdf forms using actions in CRM service process

    Hi experts,
    Does anybody has experience in sending adobe PDF forms as a fax using actions in CRM service processes? Currently I use this by implementing a PPF BAdI, but what else configuration, software and hardware requirements I need to make faxing work in CRM?
    Is it possible to use 3rd party software to send the fax for example winfax and transfer the fax number to this?
    Regards:
    Gabor

    Dear Dezso,
    As far as I remember, we already know each other
    Our company have been using winfax in the past for sending fax messages. Now that they will use SAP-CRM shall they buy a new fax server? I have looked after Topcall, it might be useful with RFC?
    In CRM service order, I use the EXEC_METHODCALL_PPF BAdI implementation to collect the data from the service order, and then use the standard function modules to "print" or "fax" the PDF document (call function FM_NAME).
    At this function module, which structure do I neet to enter the recipient's fax number (I read somewhere that I have to use DEVICE='TELEFAX' in the output_options - is it true?) ?
    Or should I communicate from the BAdI with Business Communication Services (create recipient and similar methods)?
    Is there any way to send the fax from the local machine where the user uses the SAP GUI?
    Thank you very much in advance for your help and support!
    Gabor

  • How do I create an app from my Adobe pdf forms to use on any mobile device as well as windows and ios?

    How do I create an app from my Adobe pdf forms to use on any mobile device as well as windows and ios? I have all the apps in Creative Cloud by the way.

    If you already purchased it with the same Apple ID, then you will not be re-charged.

  • Adobe PDF form / submit sutton does nothing in Safari 5.1.2

    Hi,
    We display embedded Acrobat PDF forms containing a submit button in Safari.
    If I press "submit" nothing happens, this worked some Safari versions before.
    My Adobe Reader is: Adobe Reader X, Version 10.1.1
    My Safari version is 5.1.2, I removed and reinstalled it, still does not work.
    Reading this: http://stackoverflow.com/questions/8302233/pdf-submit-a-form-button-safari
    "I contacted Adobe again, and their technical support was more helpful. 
    It is a known issue, and Adobe suggests using a different browser, or downgrade to Safari 5.0.1.
    Adobe will soon issue a patch for this to work with Safari 5.1.1.
    Well, I have 5.1.2 and this does not seam to be fixed yet.
    Downgrading my Safari version to 5.0.1 made the Adobe PDF forms work again with Safari, the submit button does  something.
    Does anybody have some information about this? Is there another way to solve this issue then to downgrade to version 5.0.1 ?
    Thanks for helping
    huba

    Hello,
    I'm experiencing the same issue and wondered if you have any news re this problem or have found some workaround ?
    I've performed tests on all verions of Safari  5.1.x including the latest 5.1.4 and unfortunately the bug still exists.
    Thanks in advance for your consideration and any help!
    David

  • Problems with Adobe PDF forms in Web Dynpro Java

    As of now , I have two major issues in developing Adobe PDF forms in Web Dynpro Java .
    1.Text getting wrapped and repeated from the first line :
    Any text field that flows to the next page gets wrapped at the end of the page and is again printed on the next page beginning from the first line .
    For eg:
    If I have 4 lines in a text field that is at the end of the page
    1111111111111111111111
    2222222222222222222222
    3333333333333333333333
    4444444444444444444444
    and the page holds space for only two lines it prints the lines
    1111111111111111111111
    2222222222222222222222
    in the first page and then proceeds to the next page and prints
    1111111111111111111111
    2222222222222222222222
    rather than printing
    3333333333333333333333
    4444444444444444444444
    2.No way to hide a page at runtime:
    It is not possible to hide a page in a PDF form at runtime . If scripting is used , the page turns into a blank page but not hidden .
    Any pointers on this????????
    Helpful answers will be suitably rewarded with points!!!!

    Yes,I am using the versions that you mentioned.
    I have a node called <b>MasterData</b> which is the root node for my PDF Form.I have a node called <b>GenData</b> inside this node whose <b>ctx_Appraisal_Type_Num</b> attribute is bound to a hidden TextField in my form.In the <b>docReady</b> event of this TextField, I am writing the following FormCalc script to hide my SubForm whose Id is <b>MngrCmptnc</b>
    if(MasterData.GenData.ctx_Appraisal_Type_Num == "2")
    then
    MasterData.MngrCmptnc.presence = "visible"
    MasterData.MngrCmptnc.MngrCmptnc.presence = "visible"
    MasterData.StrImp.presence = "visible"
    else
    MasterData.MngrCmptnc.presence = "hidden"
    MasterData.MngrCmptnc.MngrCmptnc.presence = "hidden"
    MasterData.StrImp.presence = "hidden"
    endif

  • How to dynamically assign Display Pattern using FormCalc in Adobe PDF Form

    I am using Adobe PDF Form Designer. I am trying to dynamically assign a display pattern like MM/DD/YYYY to the Field tab - Display Pattern property. May I know how to do that?
    I am using FormCalc scripting.

    hi,
    After placing the date field in layout from data view, u will get tabs like field,layout,border etc..
    In field tab under the edit pattern specify the pattern in which you want to display the date field.
    hope this works.
    Reward points if helpful.

  • Need to fax a Adobe PDF form

    Hi all,
    We have a requirement where we need to fax a Adobe PDF form. Can you please help me what i need to do to fax a PDF form.
    Can anyone explain me the step by step procedure or codes to achieve this.
    Thanks in advance.

    Hi Otto,
    The post was really very helpful... here is my code please say me whether is it correct or not.....
    DATA: formoutput TYPE  fpformoutput ,       " PDF FORM settings.
             docparams  TYPE sfpdocparams ,         " Print and Spool Dialog settings
            ie_outputparams   TYPE sfpoutputparams ." Print and Spool Dialog settings
    DATA: it_recipe TYPE ztrecipe_form1.    " Internal Table Declaration
    DATA: i_name TYPE fpname,
          fm_name TYPE funcname.         " Captures the Generated Function Module name
    i_name = 'ZRECIPE_PRINT_FORM1_1'.    " Adobe Form name
    PARAMETERS: p_matnr TYPE zrecipe_form1-matnr OBLIGATORY.
    SELECT * FROM zrecipe_form1 INTO TABLE it_recipe.
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'               " Will contain the name of generated Function Module Name...
      EXPORTING
        i_name = i_name
    IMPORTING
        e_funcname = fm_name.
    ie_outputparams-device = 'TELEFAX'.
    ie_outputparams-getpdf = 'X'.
    CALL FUNCTION 'FP_JOB_OPEN'                           " To Open the Form for Printing...
      CHANGING
        ie_outputparams       = ie_outputparams.
    *docparams-langu = 'E'.
    *docparams-country = 'US'.
    *docparams-fillable = 'X'.
    CALL FUNCTION fm_name                                " Generated Function Module(/1BCDWB/SM00000167)...
      EXPORTING
        /1bcdwb/docparams        = docparams
        it_recipe                = it_recipe
        p_matnr                  = p_matnr
    IMPORTING
       /1bcdwb/formoutput       = formoutput   .
    CALL FUNCTION 'FP_JOB_CLOSE'.                   " To Close The Form For Printing
    here whats my doubt was i havent written any code for FAX except the line *ieoutputparams-device = 'TELEFAX'.*_ or should i write any code for the FAX option or this is enough....
    how do i know whether the FAX option has worked or not
    Please help me in this........

  • Adobe PDF forms

    Hi all,
    Please help me out...
    In Adobe PDF forms, how should we assign master pages to body pages.
    Kindly give me the steps... in the Adobe LifeCycle Designer.
    Thanks in advance.
    Jaffer Ali.S

    Hi all,
    Please help me out...
    In Adobe PDF forms, how should we assign master pages to body pages.
    Kindly give me the steps... in the Adobe LifeCycle Designer.
    Thanks in advance.
    Jaffer Ali.S

  • Adobe PDF Form print preview problem

    Hi All,
    I am new to Adobe PDF form.  I have created one small form using the t-code SFP.
    I am testing this form directly from the T-code SFP.
    When i use the print preview to see the fom output it is givine me below exception.
    "Device type unsuitable for ADS documents"
    I am using the printer LOCL.
    Can you please help me to rectify this problem.
    I am not able to undestand why i am getting this error as i am new to ADOBE form.
    Thanks in advance
    Sachin

    Hi
       check this [LINK|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/other-topics/how%20to%20check%20if%20the%20adobe%20document%20service%20is%20running%20correctly.pdf] to check if ADS is working or not.
    Thanks
    Viquar Iqbal

  • Re: Interactive Adobe PDF forms

    Hi,
    In interactive Adobe PDF forms only two events are give such as OnCheck and OnSubmit. Is it possible to use other events appart from check and submit.If so how to use it and where to code it.
    Is Interactive pdf forms are ment for these two purposes only.
        Thanks and regards .
            Karthik

    Hi
    The other events you may need would be mostly for field level validations. The adobe framework allows one to write javascripts. Every UI element on the Adobe will have its own set of events. For eg say u want to fill a dropdown frm a RFC when an other UI in the form is clicked and you choose not to use the oncheck or submit action, here is the way:
    Make the RFC a webservice, call the webservice using javascript in the onclick action of UI element 1. Similarly you can use other events to fill, validate and manipulate data. Finally once all that is done submit the data to SAP. Hope it helps. Thank you.
    regards
    LNV

  • ADOBE pdf Forms upload on EP

    Hi,
    Can somebody pls tell me the steps to upload ADOBE pdf Forms on Eportal...
    We have a requirement in which the user can download the pdf forms from EP & upload it again on EP doing some changes in pdf.
    Thanks in Advance,
    Nikesh Shah

    Hi Nikesh,
    As per your description you would like to use the PDF forms to update data in the CRM system. In that case you will be required to create a Webdynpro application which will work with some RFF/BAPI which will update data in the CRM tables.
    To use Adobe forms you need to have  Adobe LiveCycle Designer installed and configured with SAP EP Server.
    The option you currently use is not linked to any backend system and that file is being stored in the KM repository of the EP server.
    Please visit the following link for more details:
    http://help.sap.com/saphelp_erp2005/helpdata/en/b7/64348655fb46149098d95bdca103d0/frameset.htm
    There is an example also which you can visit at:
    http://help.sap.com/saphelp_erp2005/helpdata/en/dc/f1783fe3263042e10000000a114084/frameset.htm
    ALSO on SDN:
    Sample Tutorials for Interactive Forms:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d
    Hope this helps and clears your doubt.
    Regards
    Atul Shrivastava
    PS: Award points for helpful answer.
    Message was edited by:
            Atul Shrivastava

  • How do i automatically send an email each monday

    I just want to automatically send an email to our local buysellswop every Monday morning same mail each week

    How is that related to Firefox support?

  • Outlook automatically sending blank emails

    My Outlook is automatically replying to my emails with a blank message. My autoreply is turned off. I have changed my password and done a virus scan with no luck in reversing this problem.

    Hi,
    Which version of Outlook are you using?
    Does this issue happen to all emails you received?
    Does this issue continue if we receive emails from webmail site?
    Please make sure you don't have any rule set to automatically send out emails. To check this, click Home tab > Rules > Manage Rules & Alerts, and then check if there is any related rule in the rules list.
    If you installed any third-party add-in, please also try to temporarily disable the add-in and then test the issue again. If you have a virus scanner installed, please note that it may integrate itself with Outlook, which may also cause this issue. Please
    contact the virus scanner support and disable the integration into Outlook to see the result.
    Please let me know the result.
    Regards,
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

Maybe you are looking for

  • How do I change the photo of myself that is being placed on my outgoing emails?

    I just realized that Safari is attaching a test photo of me to each of my outgoing email, mostly job applications. I'm sitting there with morning hair, a t-shirt and 5 oclock shadow. I searched everywhere looking for a way to either change or remove

  • Multiple tables feeding one table

    Hi All, What is the best method to feed data one central table with data from multiple other tables? Here is the scenerio/requirement: >BI Query 1 --> VC Table 1 --| >.........................................| >BI Query 2 --> VC Table 2 --| >........

  • [Solved]Controlling systemd's 'emergency-behaviour'

    So after boot-cycling some systems only to return to the 'emergency-console' because something went wrong during boot, I'm wondering if there is any way to control 'when' exactly the system(d) decides it can no longer continue booting. More specifica

  • Bluetooth driver hanging?

    Recently my Mac Mini has been having problems both on startup and wakeup which I believe might be related to bluetooth (I have the bluetooth kbd and mouse). Symptoms: On startup the Mac boots to the initial grey screen and then the activity indicator

  • Can i configure the appearance/elements of mac os x windows?

    Allright. I'm using 10.4.11 (Tiger) on an iBook G4. In all my windows that open, the vertical scrollbar that appears on the right-side has the 'up' and 'down' buttons situated at the bottom, together, on top of one another. Can I configure it to have