Adobe Interactive Form PDF doubles in size after saving

Hi all,
We have a interactive form, and after generation it's about 925 kB (when saving).
Now, when you change a single field (add some input or something), and then saving, the file size almost doubles to 1778 kB.
Ofcourse, we would rather have a smaller PDF size.
Does anybody else have this problem and/or knows what causes this ?
I think it's a general problem, but still would be nice if I could explain what is causing it...
Thanks in advance !
L.

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

Similar Messages

  • Heavy performance issues using Adobe Interactive Form PDFs generated by SAP BPM

    Dear experts,
    we use Adobe Interactive Form PDFs (generated with LiveCycle Designer) as Human Tasks within SAP BPM processes. The PDFs are generated and transmitted correctly, but when they are opened at the receivers PC, Windows freezes for 2-3 minutes, then the PDF opens and can be filled out and sent back. The next PDFs can be opened much faster, but when the PC is restarted, we get the same problem again. We use Adobe Reader XI (11.0.2) on our clients; is their any know performance issue?
    Please note, that we have this problem with EVERY Adobe Interactive Form PDF... I created a simple PDF containing just a field and the client PC still freezes. So it can't be in the form or the scripting. Normal static PDFs can be opend without any problems.
    Best regards,
    David

    They haven't really announced it, because there is no product to announce. Rather the opposite.
    There are no conversion tools, so far as I know.
    XFA forms are a non-starter if you want portability.
    AcroForms are a nightmare in themselves, because the functionality is limited in Adobe Reader and varies between absent and weird in other products. No idea about Blackberry support.
    You will not find a simple recommendation. Rather, you need to use Acroforms and carefully test everything (EVERYTHING: no assumptions) on every platform you intend to support.
    Yes, rather unsatisfactory, but until Adobe realise that the future is platform equivalence or irrelevance, this is where we are.

  • 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?

  • 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.

  • 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 form(ABAP WD)size is increasing & not opening from EP UWL

    Hello All,
    Adobe interactive form (ABAP WD) size is increasing after cleansing data from MDM and the form is not opening from portal UWL.
    Same application is working fine in Dev and Qa environment. In dev and QA the form size is around 150 KB after cleansing data from MDM. Some reason in production it is more than 2 MB. FYI - We have multiple app servers in production.
    /Padmanaban

    Hi Babi,
    In the adobe form layout library Use the Submit(which internally means submit to SAP) button from the Webdynpro Native category.
    Only this button action can connect adobe to web dynpro.
    Whenever we click on this particular button the event will be trigger in the ONsubmit event of interactive form UI element in the webdynpro.There we can write our abap code.Hope this will help you.
    Regards,
    Simi A  M
    Edited by: amsimi on Mar 22, 2011 11:37 AM

  • Is it possible top render an Adobe Interactive form as HTML instead of PDF?

    Currently a form developed as an Adobe interactive form is presented to the user as a PDF document (this is somewhat obvious!!!!)
    If, for whatever reason, we are unable to use Adobe reader on the front end PC is there a way to configure ADS to render the form as HTML and not PDF???  (In our case its because of a bug that requires the installation of Adobe 8 and this will take require extensive testing and roll out...)
    I think this might be possible if I read http://store1.adobe.com/devnet/livecycle/articles/forms_coldfusion.html " Form authors can develop a single form design that the Form Server Module can render in PDF or HTML format in a variety of browser environments."
    Any insight would be greatly appreciated,
    Armando.

    Hi Philip and other ADOBE expert:
    You sound like you know alot about ADOBE.
    Please tell me is there a restriction on size of PDF file?
    I am reprinting invoices(RSNAST00) and then download these invoices to 1 big PDF file.  When tried to open this PDF file with Adobe reader- I get <b>error  "damaged file and not able to repair".</b> .  My program works fine for
    reprint 1 invoice and download to 1 pdf.   But <b>client wants multiple invoices into
    1 BIG PDF file.   HELP!!  thanks for your reply in advance.</b>
    cheers
    SilviaB

  • Update table after filling an adobe interactive form inside a workflow

    Hi
    I have the following workflow problem:
    I made a webdynpro application that incudes an adobe interactive form. An user fill this form. After filling the form he will press the submit button. The data will be introduced in the  custom table and a workflow will be started.
    Inside the workflow, I attached the form filled by the user. After attaching it I introduce a user decision step in order to see the content of the pdf attachment, modify it and send again. So, the person that will execute the workitem has to open that pdf and fill some additional fields. The information should be updated in the table and then send to other persons. I don't know how to update the table with the new values that are inserted in the form in that decisional step and send the updated form to the other users.
    Thank you in advance !
    Iulia

    Hi Iulia
      You cannot do that through decision step with attachment. You have to do with task registation in      t-code SWFVISU. so the work item will come to UWL once the approver clicks the work item it opens and entered his comments, You have to caputer the comments and pass these comments to the workflow container element from there you update to your custom table. 
    Regards
    vijay

  • 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

  • Smartforms to PDF and PDF to adobe interactive forms

    Dear all,
    Is there any way to convert Smartforms to PDF document and import it programatically to Adobe interactive forms(SFP) and make it interactive.
    Regards
    Aravind

    Hi:
    Smartform to PDF
    ATA: i_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
    i_tline TYPE TABLE OF tline WITH HEADER LINE,
    Work Area declarations
    w_ctrlop TYPE ssfctrlop,
    w_compop TYPE ssfcompop,
    w_return TYPE ssfcrescl,
    Variables declarations
    v_form_name TYPE rs38l_fnam,
    v_len_in LIKE sood-objlen,
    v_len_out LIKE sood-objlen,
    v_len_outn TYPE i.
    Step 1:
    call function 'SSF_FUNCTION_MODULE_NAME'
    exporting
    formname = 'ZZZ_TEST2'
    importing
    fm_name = v_form_name
    exceptions
    no_form = 1
    no_function_module = 2
    others = 3.
    IF sy-subrc 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    w_ctrlop-getotf = 'X'.
    w_ctrlop-no_dialog = 'X'.
    w_compop-tdnoprev = 'X'.
    Step 2:
    CALL FUNCTION v_form_name
    EXPORTING
    control_parameters = w_ctrlop
    output_options = w_compop
    user_settings = 'X'
    IMPORTING
    job_output_info = w_return
    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.
    Step 3:
    i_otf] = w_return-otfdata[.
    Step 4:
    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.
    For Smartform to Adobe is possible
    as [Adobe|http://help.sap.com/saphelp_nw2004s/helpdata/en/c8/4adf7ba13c4ac1b4600d4df15f8b84/frameset.htm]
    Regards
    Shashi

  • 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.

  • Data Passing Problem with Adobe Interactive Forms

    Hello all,
    I am trying to create a Guided Procedure to implement an offline Adobe Interactive form. This form is based on the standard Requisition Request form used in MSS for e-Recruiting.
    I've copied the standard form and updated the layout to ZCI using the appropriate transaction (not manually). After that, I've changed the Interface and layout. But to get the Form in the portal you need to have a .xpd file. Therefore, I've tested the form in preview mode, saved a copy as a PDF file and opened this copy in the standalone Adobe Lifecycler Designer. In the standalone version you are able to save the form as a PDF (not possible using transaction SFP).
    My question 1 is if this is a wrong approach and there is a better way to retrieve the xpd file.
    Next to that, I wrote a RFC function to retrieve data in the backend. This function is working and now I try to pass the data to the Form in the GP (using prefilling). The data is never passed, any points that I need to check there. The data used to export is a structure that contains a number of table types, because Adobe has issues with importing tables it seems. The form is working correctly in the backend.
    Points will be rewarded for helpfull awnsers!
    Kind regards & thanks in advance...

    Check double post

  • Adobe Interactive Form is displayed in Read Only mode

    Hi All,
    I created Adobe Interactive Form in SFP.
    The following properties are set to the form.
    Layout Type -ZCI Layout
    Preview Type - Interactive Form
    XDP Preview Format - Acrobat 7.0.5 Dynamic PDF
    In PDF preview tab, I can enter data into the Text Fields.
    I added this form in a web dynpro ABAP application using Interactive Form UI element.
    The following properties are set to the UI element.
    DataSource - bound to the context
    displayType - native
    enabled - checked
    templateSource - Formname
    readonly - unchecked.
    When I run this application, the form is displayed in readonly mode.
    I can't enter any data into the text field.
    Any of you guys know that how to resolve this?
    Thanks
    Thruna

    Hi,
    I already face the same issue and after several days working on this issue and many hours on debugging it seems that interface type is very important if you want to use the form in WD4A (this requirement is confirmed by SAP thru an OSS message for me )
    Does the interface based on DDIC or XML ?
    If it's a DDIC interface , sorry that can't works in WD4A as interactive forms. You must define the interface as based on XML for this .
    Hope this help you.
    PS : Finally ,as my forms was very complicated my customer decide to not make it available in WD4A .....

  • 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

  • Showing linebreaks in Adobe interactive forms webdynpro java

    Hey
    Im using interactive form from Adobe to show the content of my context, but the linebreaks gets converted into spaces. Heres my scenario:
    I have create a context:
    Person (node)
    - Name (value attribute)
    - Lastname (value attribute)
    I have create a view (view1) with 2 TextEdit to enter som text. This two TextEdit fields is binded to the contextnode.
    I have created another view (view2) with interactive form. The interactive forms consist of 2 InputFields that is also binded to the context.
    When i run the application i insert som text in the first view (view1). Then i go to the second view(view2) to display the content as a PDF. This works, but my problem is that the linebreaks I have created in the view1 gets converted into spaces in view2. I have allowd multiple lines.
    My question is that:
    does Adobe interactive form support linebreaks from the context? It is possible to enter linebreaks if I edit the interactive form at runtime, but I want it to display the linebreaks automaticly from the context.
    Are there any way around this? Please help me out. I cant find any sap note about this issue

    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?

Maybe you are looking for

  • ITunes opens to wrong folder

    I downloaded a song from the iTunes store - first one in a VERY long time.  I see the song and it is the ONLY song I see!  I went through Finder and found all my other songs in the iTunes folder  (Music -> iTunes -> iTunes Media -> Music) .  The new

  • Auto clear default text

    I have searched all over to see how this is done. I found one other response to this question, but it was not complete. Basically what I am wondering is, how do I set up my text field so that there is a default text to signify what the user should ty

  • Tech Stack Validation Fails with "Cannot map library libi.so" Error

    Hi All, We are in the process of upgrading one of our 11.5.8 instances to 11.5.10.2. In this process we initially upgraded the database from 8.1.7.4 to 9.2.0.7 and applied all the pre-req patches required for applying the 11.5.10.2 maintenance pack a

  • Error in Playing long music tracks on Nokia 6220

    When I play long music tracks (such as concert recordings up to 1-2hrs long) on my Nokia 6220, the phone does not remember were I had previously stopped listening to the track. Also the music player on the phone has troubles fast forwarding on long m

  • Displaying text " no apllicable data"

    Hi experts, i want to display a text " no applicable data" in my input form in VC. This text will be displayed when there is no data in the table or when we give some wrong data in the input fields. This is working fine when there is no data in the t