Large interactive form ( ZCI layout ) SAVE problem

Hi Experts,
Please advice.
We migrated our interactive forms to ZCI layout and they work fine.
But when the form size exceeds 2 MB (this varies), we observed the following two cases.
<b>Case 1 )</b> In upload of an offline form, on 'ShowForm' action, the form opens, but when the 'SAVE' button ( placed in the webdynpro and not on the adobe form) is pressed, the browser shows the processing icon, but nothing happens at the server side. The corresponding action method is not called.
If the size of the form is small, then it executes successfully.
<b>Case 2)</b> During upload of the offline form ( only when large form), on 'ShowForm', after showing processing icon for a long time, nothing happens and the following exception is thrown.
<b>Initial exception</b> --   java.net.SocketTimeoutException: Read timed out
<b>Detailed exception</b>
com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: Failed to  GENERATEPDF
        at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:392)
        at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterApplicationModification(ClientApplication.java:1132)
        at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.afterApplicationModification(ClientComponent.java:895)
        at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRespond(WindowPhaseModel.java:573)
        at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:152)
        at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
        at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
        at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:313)
        at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:759)
        at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:712)
        at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)
        at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
        at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
        at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
        at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
        at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
        at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
        at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
        at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
        at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
        at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
        at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
        at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
        at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
        at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: PDFDocument Processor failed to process Render Request.
        at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:55)
        at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentInteractiveFormHandlingContext.execute(PDFDocumentInteractiveFormHandlingContext.java:98)
        at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentInteractiveFormHandlingContext.execute(PDFDocumentInteractiveFormHandlingContext.java:121)
        at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:244)
        ... 29 more
Caused by: com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Service call exception; nested exception is:
        java.net.SocketTimeoutException: Read timed out
        at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:408)
        at com.sap.tc.webdynpro.pdfobject.core.PDFObject.render(PDFObject.java:3958)
        at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRenderHandler.handle(PDFDocumentRenderHandler.java:148)
        at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:52)
        ... 32 more
Caused by: java.rmi.RemoteException: Service call exception; nested exception is:
        java.net.SocketTimeoutException: Read timed out
        at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:89)
        at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:99)
        at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:385)
        ... 35 more
Caused by: java.net.SocketTimeoutException: Read timed out
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:129)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
        at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.readLine(HTTPSocket.java:806)
        at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getInputStream(HTTPSocket.java:341)
        at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getResponseCode(HTTPSocket.java:250)
        at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.HTTPTransport.getResponseCode(HTTPTransport.java:362)
        at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.outputMessage(MimeHttpBinding.java:553)
        at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1432)
        at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:82)

Hi Mona...
Refer to the following SAP Note 867502 . In addition you can also check out this blog:
/people/r.eijpe/blog/2007/01/08/performing-sap-interactive-forms-by-adobe
Hope this helps.
PS. Reward points for helpful answers.

Similar Messages

  • Online Interactive form - ZCI Layout

    Hi All,
    I'm creating an online form on release 701 level 2 and am having problems with ZCI layout.
    I have created forms before with this layout to use feautures such as search help.
    Can anyone tell me what the latest recommended layout format is, ZCI or Standard?
    With Standard layout my form interface binding works but search helps lock up the form after use but with ZCI the search help works but only the field with the help is bound to my interface successfully on the submit method.
    I have reverted back to Adobe Reader 8.2 but this is still extremely flaky.
    Thanks,
    Gregor

    Hi Chintan,
    Yes the script has been inserted. The more I look at this the more I am thinking that online interactive forms are not fit for purpose.
    I guess there are some use cases but a web dynpro page would serve this purpose better with better integration into SAP etc.
    I am using version 8.2 of Adobe Designer but keeping versions of Designer and Reader and different versions of the ZCI script in line is not feasible. Adobe Reader can auto update so what if a user has updated from 8.2 to 8.3 and suddenly all the forms stop working?
    I understand that integrating between the browser and the embedded PDF is no mean feat but I'm going to stick to using Adobe Forms for offline use or print outputs.
    tl;dr HERE BE DRAGONS

  • Adobe Interactive Forms ZCI  with special characters

    Hi,
    I hope somebody can help me with the problem described below.
    We are using Adobe Interactive Forms ZCI (IF). On our IF we placed a Enumerated DDL from the Webdynpro Native tab. In the Visual Admin the number of entries for the DDL is 50 (default). The problem is that when the DDL consists of more than 50 entries a webdynpro pop-up screen is shown. In our DDL we have entries with “special” characters for example the apostrophe (ie. ‘s). When I select one of these entries it’s not displayed correctly in the form. It is displayed as 's.
    We are using Adobe reader 7.08. I also tested it with reader 8.1.0 and there the problem still occurs.
    We are using NW04s SP12.
    Thanks in advance,
    Kind regards,
    Maarten.

    Hello Saujanya,
    This is not what i meant.
    The problem isn't that not all entries are listed in the EVS, but that when the EVS is displayed and i select an entry with a "special" character like i.e.. a apostrophe (') the selected value isn't correctly displayed in the DDL as selected item. Say the i select from the EVS the value " 's " when the EVS is gone the value in the DDL is &apos;s. This is not correct.
    Hope this explanation will help.
    Kind regards,
    Maarten.

  • Adobe Interactive Form Standard Layout Type

    Hi,
    We are on SAP ECC 6.0 system with ADS patch level 7.
    We are failing the FP_TEST_00 test.. It does not produce any output. System just hangs as if into some infinite loop. 
    Also noticed that, in SFP in form properties, we just have "Unknown" - "ZCI" and "xACF".. there is no "Standard Layout Type" option. Thus all forms currently have "Unknown Layout Type" in this field, including for FP_TEST_00.
    When we call form function module in the application program after FP_JOB_OPEN, it does not give any result.. system hangs as if into infinite loop.
    Can anyone tell, how do we resolve these 3 issues? are they linked? 
    Thanks a lot.

    Hi,
    The basic difference is:
    1) ActiveX Dropdowns requires ACF to be installed on each client machine to get back the data from interactive form back to context.
    2) While, the use of Native dropdowns makes a form to ZCI type, so that does not require any xACF component to be installed on each and every machine that uses the Interactive forms.
    So, it is recommended to use Native dropdowns in your forms,
    Also, for the population of dropdowns of type native you can go through SAP note: 1013227.
    Hope this helps,
    Thanks,
    Amita

  • PDF: Adobe Interactive forms pops up SAVE AS dialouge box after modification

    Hi,
    We have developed Adobe Interactive form uisng Adobe LiveCycle Designer. After creating pdf, whenever I change data in the interacvie form, it is poping up "Save As" dialouge box everytime user saves data. So User is replacing the same file again and again. Is there any setting to get rid of this error?
    OS: Windows 7
    Adobe Reader: 10.0.1
    Regards,
    Selva

    Hi,
    you cannot suppress the save function but you can avoid that the PDF viewer recognizes changes.
    Put this script in the layout:Ready event of your form.
    event.target.dirty = "false";

  • Adobe Interactive forms & WebDynpro for java problem with IE7 and IE8

    I have Interactive form ui-element in WebDynpro for java (ver. 7 SP 10) application. It works fine with IE6, but in IE7 (or IE8) it doesn't show that ui-element at all. We have tried to change IE7 security & advanced settings, but we have not made any progress. We have also tried to install/uninstall different Adobe reader versions etc.

    I know a little more about the problem now. After viewing the XML source I change the property of the inputfield.
    It was like this:
                <field name="verdipers_felt" y="130.7001mm" x="180.1801mm" w="101.6004mm" h="44.4501mm" locale="no_NO" access="ReadOnly">
    but i changed the access to be nonInteractive
                <field name="verdipers_felt" y="130.7001mm" x="180.1801mm" w="101.6004mm" h="44.4501mm" locale="no_NO" access="nonInteractive">
    now view2 shows the linebreak as in view1... Buut! when im going back to view1 from view2, the linebreaks gets converted into spaces
    thats pretty wierd, aint it?

  • Overflow in SAP Interactive Forms by Adobe - Scripting problem

    Dear Colleagues,
    in SAP Interactive Forms by Adobe i have to avoid or do a page break. How can i get the overflow information to use
    this in a script written in java script or form calc?
    Can somebody help me.
    Kind Regards
    Christian Peters

    Hi,
    Please follow the below links, hope this might help you.
    Page Break in adobe forms
    conditional Page break in Adobe forms.
    Adobe Forms - Page Break via a Conditional Break
    Thanks
    pooja

  • Applaying Online interactive form tutorial -Image field problem

    h1Assalam alikom
    hi all
    i faceing a problem with creating image field in adobe intercative form
    i followed the steps included in the online interactive from for image field but there is an error
    after rendering the form
    knowing  that it worked for the sample given with the tutorialh1
    The error is as follows
    script failed (language is formcalc; context is xfa[0].form[0].ReportData[0].#subform[5].imageField[0])
    script=this .value.image.href=xfa.resolveNode(this.value.image.href).value;
    Error:An attempt was made to reference property 'Value' of non-object in SOM expression
    xfa.resolveNode("http://amercet:51500/webdynpro/resource/xccre.cic.com/contract_print/Components/com.cic.xccre.enquiry.com_cn_print.com_Cn_print/villasZone.jpg").value

    Dear Engineer Naguib,
    Please refer to the following post:
    [Adobe Forms and Dynamic Images]
    this.value.image.href = xfa.record.Images.URL;
    Replace "xfa.record.Images.URL" by "xfa.record." + path to URL attribute in data hierarchy.
    Regards,
    Motaz

  • How to download adobe interactive form layout

    Hi Experts,
        can any one  suggest me how to download the adobe interactive form PDF layout including  output values. when we download the form values are  not displaying.
    Thanks in advance.
    Edited by: krishnaveni.Nomula on Sep 28, 2011 4:44 PM

    Hi,
    We are  generating the form then adding values & want to save that form.
    Thank you.

  • Adobe Document Server issues - cannot save metadata of interactive form UI

    Summary : Could not save meta data of Interactive Form UI Element.
    Affects : Web Dynpro project in DTR.
    Severity: PDF template cannot be created.
    Description:
    01. An Interactive Form UI Element is inserted into a Web Dynpro view.
    02. By right clicking on the element in the Outline window and selecting Edit, launches the Adobe Designer.
    03. After designing the PDF template in Adobe Designer, when clicking Save All Metadata icon in the toolbar, it failed to save.
    04. By closing and reopening the Adobe Designer, all work on the PDF template is lost.
    Findings:
    01. Whenever an Interactive Form UI Element is created in a Web Dynpro project in DTR, its associated value of templateSource property (in the Property window) is missing (empty).
    02. This does not happen to local Web Dynpro project, where its templateSource property corresponds to an .xdp file (Adobe XML source file).
    Does anyone know any way around this?

    Hi All
    well, I am facing the problem as well: When I change something in the interactive form, I cannot save it as "Save Metadata" remains grey. After closing and reopening, my changes have disappeared. I am using Netweaver 2004s with SPS 13. I tried Note 822198 which didn't help. Also I couldn't apply Josef's solution as the mentioned folder already existed.
    I must say that I didn't have problems with adobe forms until I started using model nodes. Could this be the reason why there are suddenly issues? Now I can't even create a totally new webdynpro component (inside my project) from scratch where adobe interactive form is not corrupted.
    Is there any other trick which might have worked with you? It would be very helpful if you had any ideas!
    Thanks a lot in advance.
    Best regards
    Bettina Hepp

  • How to save adobe interactive forms offline in blackberry

    Hi Experts,
    A basic question...
    Can  a user save an  adobe interactive form in blackberry while he is not connected to the SAP system.
    The user is not logged on to the internet(the user is offline/ not connected to the system)when he or she fills out the form.
    Can the user access the adobe interactive form offline and save it in blackberry if he is not connected to the internet.
    Thanks,
    Sangeeta.

    Have a look here --> ADOBE interactive forms in Black Berry

  • How to display Adobe Interactive Form from ABAP (not WDABAP)

    I have created a WD ABAP application that creates an Adobe Interactive Form (ZCI) and submits it for workflow.  All of the data on the form is saved in custom itables in the SAP System.  The end-users are supposed to save a copy of the form at the last step in the workflow before they "Acknowledge" the task in UWL.  Once the acknowledge takes place, they can no longer display the form in UWL. They want an ABAP program that will read the data from the various custom tables and display a "print" version of the form (not interactive). 
    I am calling FM 'FP_FUNCTION_MODULE_NAME' to get the function module for the form. I then call FM 'FP_JOB_OPEN' with the parameter IE_OUTPUTPARAMS-REQNEW set to ABAP_TRUE. The call to the form FM has the following EXPORTING parameters:
        EXPORTING
        /1BCDWB/DOCPARAMS   =
          /1BCDWB/DOCXML         =
    I understand the /1BCDWB/DOCPARAMS but have no idea what needs to be done to for the /1BCDWB/DOCXML parameter.  Can anyone offer any advice or assistance?

    Joyce,
    this is really simple - the reason you have that /1BCDWB/DOCXML  is because you defined your form interface to have an XML based interface.
    While this is great for ABAP Web Dynpro, because the XML is generated for you, this is NOT the case with regular ABAP.
    You should choose ABAP Data Dictionary-Based Interface. You will then be able to add tables, structures and fields to your interface.
    For instance, here's code from a program where I call the form in regular ABAP
    data: ls_worksheet TYPE Zxxx_structure.
    * Fill the ls_worksheet structure here.
    * Call the generated function module
      CALL FUNCTION ls_function
        EXPORTING
          /1bcdwb/docparams  = fp_docparams
          worksheet          = ls_worksheet
        IMPORTING
          /1bcdwb/formoutput = ls_form_output
        EXCEPTIONS
          usage_error        = 1
          system_error       = 2
          internal_error     = 3
          OTHERS             = 4.
    Notice I do not have the /1BCDWB/DOCXML Exporting parameter.
    Just change your interface to a Data Dictionary Based, and add the tables/structures/fields to it.
    then, go to your calling program, fill them, and pass the data through the Exporting parameter.

  • Sending an email, containing an adobe interactive form, as a step in a gp

    I'm trying to create a process in gp.
    the first step is an interactive form that is submitted to netweaver and starts the gp process.
    second should be another interactive form that the system sends out to an email account.
    wstarting the process by interactive form is not a problem, but sending out emails seems impossible to me :-P...
    i tried by myself, but couldn't work anything out.
    then i searched for a while in the sdn and found the following article by ginger gatling:
    Guided Procedures:  Passing email address for Interactive Form step
    it doesnt help either. dunno what version of netWeaver she was using, but at least in version 7.0 it's not working like she describes. also it's not possible to insert an email adress via predefining the appropriate field in the attributes tab.
    i would be very glad if someone could provide me a hint to solve this problem.

    This is the way how to send the form through mail.
    Generate and Send the Form
    The next step is to write the ABAP program which will create the form and email it to the vendor so that it can be filled offline.
    The program will have the following steps:
    u2022 Data retrieval and processing : A select statement for the pre-populated information
    u2022 Obtain the name of the Generated Function Module of the form
    u2022 Start the form processing
    u2022 Call the Generated Function Module
    u2022 End form processing
    u2022 Send the form to the vendor using Business communication services (BCS)
    Data Retrieval and Processing
    This can be as simple as a select statement to complex data selection. In this example we select the vendor number, name and company code from the vendor table LFA1 based on the vendor from the selection screen
    Get vendor data
    select single lifnr name1 bukrs from lfa1 into wa_vndbnk where lifnr = p_lifnr.
    Get the Generated Function Module
    The next step is to get the generated function module. Call function module FP_FUNCTION_MODULE_NAME and pass the form name to it. The parameter e_funcname will contain the name of the generated function module name.
    First get name of the generated function module
    call function 'FP_FUNCTION_MODULE_NAME'
    exporting
    i_name = 'ZVK_TESTHD'
    importing
    e_funcname = fm_name.
    Start the Form Processing
    Form printing needs to be explicitly opened and closed. Use the function FP_JOB_OPEN to open the form for printing. The parameter ie_outputparams determines printer settings. This parameter is also where we ask the generated function module to return a PDF file back. Since this is an offline scenario and there is no printing involved we need to suppress the printer dialog popup as well. Optionally there is a parameter connection which can be used to determine the RFC destination for ADS.
    Set output parameters and open spool job
    fp_outputparams-nodialog = 'X'. " suppress printer dialog popup
    fp_outputparams-GETPDF = 'X'. " launch print preview
    call function 'FP_JOB_OPEN'
    changing
    ie_outputparams = fp_outputparams
    exceptions
    cancel = 1
    usage_error = 2
    system_error = 3
    internal_error = 4
    others = 5.
    Call the Generated Function Module
    This is similar to the generated function module in Smart Forms. Since the parameters of the function module are defined in the interface, this will vary from form to form. However, /1bcdwb/docparams is a standard parameter. This is used to set the forms locale. This is also where we tell the form that it is fillable. Once this parameter is set - if the ADS is configured correctly (including the credential) - a fillable savable form will be returned when the function module is executed.
    Set form language and country (->form locale)
    fp_docparams-langu = 'E'.
    fp_docparams-country = 'US'.
    fp_docparams-FILLABLE = 'X'.
    Now call the generated function module
    call function fm_name
    exporting
    /1bcdwb/docparams = fp_docparams
    Z_VNDBNK = wa_vndbnk
    importing
    /1BCDWB/FORMOUTPUT = fp_formoutput
    exceptions
    usage_error = 1
    system_error = 2
    internal_error = 3
    others = 4.
    End Form Processing
    Use the function FP_JOB_CLOSE to close the form for printing.
    Close spool job
    call function 'FP_JOB_CLOSE'
    exceptions
    usage_error = 1
    system_error = 2
    internal_error = 3
    others = 4.
    Send the Form to the Vendor
    The PDF file generated is available in the parameter fp_result which is returned by the generated function module. The next step would be to extract this PDF and send it to the vendor using BCS.
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
    EXPORTING
    buffer = fp_formoutput-PDF "PDF file from function module
    TABLES
    binary_tab = lt_att_content_hex.
    CLASS cl_bcs DEFINITION LOAD.
    DATA:
    lo_send_request TYPE REF TO cl_bcs VALUE IS INITIAL.
    lo_send_request = cl_bcs=>create_persistent( ).
    Message body and subject
    DATA:
    lt_message_body TYPE bcsy_text VALUE IS INITIAL,
    lo_document TYPE REF TO cl_document_bcs VALUE IS INITIAL.
    APPEND 'Dear Vendor,' TO lt_message_body.
    append ' ' to lt_message_body.
    APPEND 'Please fill the attached form and send it back to us.'
    TO lt_message_body.
    append ' ' to lt_message_body.
    APPEND 'Thank You,' TO lt_message_body.
    lo_document = cl_document_bcs=>create_document(
    i_type = 'RAW'
    i_text = lt_message_body
    i_subject = 'Vendor Payment Form' ).
    DATA: lx_document_bcs TYPE REF TO cx_document_bcs VALUE IS INITIAL.
    TRY.
    lo_document->add_attachment(
    EXPORTING
    i_attachment_type = 'PDF'
    i_attachment_subject = 'Vendor Payment Form'
    I_ATTACHMENT_SIZE =
    I_ATTACHMENT_LANGUAGE = SPACE
    I_ATT_CONTENT_TEXT =
    I_ATTACHMENT_HEADER =
    i_att_content_hex = lt_att_content_hex ).
    CATCH cx_document_bcs INTO lx_document_bcs.
    ENDTRY.
    Add attachment
    Pass the document to send request
    lo_send_request->set_document( lo_document ).
    Create sender
    DATA:
    lo_sender TYPE REF TO if_sender_bcs VALUE IS INITIAL,
    l_send type ADR6-SMTP_ADDR value 'email address',
    lo_sender = cl_cam_address_bcs=>create_internet_address( l_send ).
    Set sender
    lo_send_request->set_sender(
    EXPORTING
    i_sender = lo_sender ).
    Create recipient
    *DATA:
    lo_recipient TYPE REF TO if_recipient_bcs VALUE IS INITIAL.
    lo_recipient = cl_sapuser_bcs=>create( sy-uname ).
    Set recipient
    lo_send_request->add_recipient(
    EXPORTING
    i_recipient = lo_recipient
    i_express = 'X' ).
    lo_send_request->add_recipient(
    EXPORTING
    i_recipient = lo_recipient
    i_express = 'X' ).
    Send email
    DATA: lv_sent_to_all(1) TYPE c VALUE IS INITIAL.
    lo_send_request->send(
    EXPORTING
    i_with_error_screen = 'X'
    RECEIVING
    result = lv_sent_to_all ).
    COMMIT WORK.
    message 'The payment form has been emailed to the Vendor' type 'I'.

  • How to store adobe Interactive form PDF in archive link?

    Hi everybody,
    I had create a WebDybpro Abap that contain an Adobe Interactive Form, now I must store this Interactive Form into Archive Link like a PDF document.
    I succeeded to save the PDF document on the archive link but after this operation, when I open this document saved, it doesn't show me the data but only the Interactive Form structure. The only data that file PDF saves are those I passed to Interactive Form during at the event initialization, but it lose all others datas that I inserted on the Interactive Form before to save.
    There is one mode to save also these datas or I can store only data that I load at the initialization event?
    I hope in your fast help.
    Regards.
    Davide.
    To follow the code that I use for Archive my Interactive form like PDF document.
    Salvataggio nell'ArchLink ********************************************
    Ricavo il PDF Source
      DATA: elem_context    TYPE REF TO if_wd_context_element,
            stru_context    TYPE        wd_this->element_context ,
            item_pdf_source LIKE        stru_context-pdf_source.
    get element via lead selection
      elem_context = wd_context->get_element(  ).
    get single attribute
      elem_context->get_attribute(
        EXPORTING
          name =  `PDF_SOURCE`
        IMPORTING
          value = item_pdf_source ).
      DATA: l_ref_cmp_usage TYPE REF TO if_wd_component_usage.
      l_ref_cmp_usage =   wd_this->wd_cpuse_zcentral_person( ).
      IF l_ref_cmp_usage->has_active_component( ) IS INITIAL.
        l_ref_cmp_usage->create_component( ).
      ENDIF.
      DATA: l_ref_interfacecontroller TYPE REF TO
                                      ziwci__wdr_ess_central_person.
      l_ref_interfacecontroller = wd_this->wd_cpifc_zcentral_person( ).
      l_ref_interfacecontroller->store_adobe_document(
        ar_object    =  'ZHRDETRAZ'        " Toaom-ar_Object
        doc_type    =  'PDF'                    " Toadv-doc_Type
        object_id    =   objid                    " Sapb-sapobjid
        pdf_source =   item_pdf_source    " Xstring
        sap_object =   'PREL'                  " Toaom-sap_Object  ).
    METHOD store_adobe_document.   ***********************************************
    Converto la XSTRING del PDF in tabella binaria
      DATA: l_tab  TYPE TABLE OF tbl1024,
            lenght TYPE i.
      CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
        EXPORTING
          buffer        = pdf_source
        IMPORTING
          output_length = lenght
        TABLES
          binary_tab    = l_tab.
    Calcolo la dimensione del documento
      DATA: doc_id TYPE saeardoid,
            size   TYPE i,
            lineno TYPE i,
            length TYPE i.
      DESCRIBE TABLE l_tab LINES lineno.
      size = lineno * 1024.
      DATA toaom_fkt  TYPE TABLE OF toaom.
      CALL FUNCTION 'ARCHIV_METAINFO_GET'
        EXPORTING
          ar_object  = ar_object
          sap_object = sap_object
        TABLES
          toaom_fkt  = toaom_fkt.
      CALL FUNCTION 'SCMS_AO_TABLE_CREATE'
        EXPORTING
          arc_id   = 'ZP'
          doc_type = doc_type
          length   = size
        IMPORTING
          doc_id   = doc_id
        TABLES
          data     = l_tab.
    Create link to business object
      CALL FUNCTION 'ARCHIV_CONNECTION_INSERT'
        EXPORTING
          archiv_id             = 'ZP'
          arc_doc_id            = doc_id
          ar_object             = ar_object
          mandant               = sy-mandt
          object_id             = object_id
          sap_object            = sap_object
          doc_type              = doc_type
        EXCEPTIONS
          error_connectiontable = 1
          OTHERS                = 2.
    ENDMETHOD.  ********************************************************************

    Hi Davide,
    I have a requirement where I just need to SAP HCM Archive Adobe form in External repository.
    Since you are using the archiveLink functionality.
    Can you please help me how you did?? What configurations need to be maintained for this?
    I am new to this. I did some Rnd on it and found that it can be achieved using HRFORM_HRF02 Business Add-In in the SET_ARCHIVE_INDEX method.
    But I have no clue how to do it?
    Can you please help me?

  • Webdynpro interface with adobe interactive forms

    Hello
    I'm trying to get embed ABAP based interactive form in WDA. the problem I'm facing is when I see the context node in WDA view it shows tables from forms as attributes.. i dont see any node created in context but just 3 attributes created for my 3 tables in forms.. so I'm not able to assign value help to the fileds in tables. Any idea what I need to do to see  these tables as nodes in view.
    Thanks
    Ajay

    Hi,
    take your node as a structure type and cardinality 1..1.
    The structure type should have fields, each of which is individually a table type.
    This way you can get what you are looking for.
    Regards,
    Prosenjit.

Maybe you are looking for

  • Regarding REconciliation GL account for Sundry creditors

    Dear all, Issue is like that, I have one vendor with which i have assigned reco. account 28000. I have already passed postings. Now i have changed in same vendor master reco. account 28010 from 28000. Now the problem is that the entry already posted

  • Saving .eps to .pdf in Classic with Tiger???

    Hi, I have a iMac and have just updated to Tiger OSX 10.4.2. I run Tiger as my general operating system however my version of Quark Xpress runs in the Classic Environment OS 9. In the past I have saved a Quark Xpress file as an .eps and then gone int

  • Truncate Table MyTable Reuse Storage

    I have a table with approximately 46,000 records in it which gets truncated and re-filled once or twice per month. I have been truncating it in a procedure and was reading about the REUSE STORAGE clause which I am interested in for efficiency's sake.

  • Error: We apologize for the inconvenience but Windows did not start successfully

    when i open my desktop computer,it dosent start up normal i get this message ( we apologize for the inconvenience ,but windows did not start successfully. a recent hardware or software change might have caused this.  If your computer stopped respondi

  • Can't Open Old Numbers Docs in Beta

    Is anyone else having this problem? I am trying to open an older spreadsheet from iWork '09 and it won't open on my iPhone (Numbers 3), Mac (Numbers '09) or the current iCloud Number Beta. Is there workaround?  It won't let me Share or Download so I