Attachments added to the Interactive form is lost after submit

Hi All,
I have a scenario where the user can add attachments to the Interactive Form Online and click on Submit to archive the filled form. The problem is that i am not able to retrieve the attachments added to the form.
The datasource of the ITF is bound to the View Context node and the pdfsource is bound to an attribute of XSTRING type.
Here i am able to see the changed values of the Input fields in my context node. But, any attachments added is lost.
How can i retrieve the attachments? I tries calling the Methods SET_TASK_GETATTACHMENTS and GET_ATTACHMENTS of PDF Objects but it always returns null.
FYI,
if i use file upload UI Element and upload an existing form with attachments then i am able to get the list of attachments by calling the Methods SET_TASK_GETATTACHMENTS and GET_ATTACHMENTS of PDF Objects before this PDF is displayed in the next view. (binding the XSTRING of FIle Upload UI to the PDFSOURCE of the ITF).
Here also if i add some new attachments to the PDF and click on submit then these new docs are  lost.
In short whenever i add attachments to the pdf dynamically via add attachment option after the PDF is displayed the new attachments are lost.
Please let me know how to correct this.
Thanks,
Abhishek

There is a default functionality provided by Adobe... If all your fields are field, you can not submit. It will prompt .. to fill the form.
Only you have to mark those field as mandatory.
So select the field -> Go to Object Pallet -> Value Tab -> select the type as User entered Required
This will solve your problem.
You can also customise the requirements through scripting language.
cheers
Satya

Similar Messages

  • Problem in accessing the Interactive forms in an ISR Senario(like MSS)

    Hi all,
    I am facing a problem whenever I try to access the interactive form.I am doing this from the standard Business Package, MSS.
    I have done all the configurations needed for these ISR Senarios.
    I suspect the the error is because of some missing IMG customizing.
    Pls provide some directions to solve this problem.
    Exception 1)
    initial exception that caused the request to fail, was:
    com.sap.tc.webdynpro.services.exceptions.PDFDocumentCreationException: ../../sap.com/pcui_gpisr/IsrForm/wd_key13_1171540676406/Error+PDF.pdf?sap-wd-download=1&sap-wd-dl_behaviour=1&sap-wd-cltwndid=DefaultExternal1171589446921&sap-ext-sid=dIiSA97eM6QRuNvwpwdigw%3D%3DzPkd%2BOwplNQFa31FtlR6vA%3D%3D%2Fpcd%3Aportal_content%2Fcom.sap.pct%2Fspecialist%2Fcom.sap.pct.erp.busunan.bp_folder%2Fcom.sap.pct.erp.busunan.roles%2Fcom.sap.pct.erp.busunan.business_unit_analyst_20%2Fcom.sap.pct.erp.busunan.business_unit_analyst_20%2Foverviewfolder%2Fcom.sap.pct.erp.busunan.overview_2%2Fcom.sap.pct.erp.busunan.masterdata_1%2Fcom.sap.pct.erp.common.isrform_page%2Fsap.com%2Fpcui_gp%7Eisr%2FIsrForm%2Fbase&sap-wd-norefresh=X&sap-ep-version=7.00.200611091758
    Exception 2: This Exception occurs when I try to run the application(sap.com/pcui_gp~isr/IsrForm) from the Webdynpro Content Administration Screen.
    com.sap.pcuigp.xssfpm.java.FPMRuntimeException: No scenario specified
    at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:111)
    at com.sap.pcui_gp.isr.isrprocessevent.init.VcISRInit.onBeforeOutput(VcISRInit.java:228)
    at com.sap.pcui_gp.isr.isrprocessevent.init.wdp.InternalVcISRInit.onBeforeOutput(InternalVcISRInit.java:181)
    at com.sap.pcui_gp.isr.isrprocessevent.init.VcISRInitInterface.onBeforeOutput(VcISRInitInterface.java:139)
    at com.sap.pcui_gp.isr.isrprocessevent.init.wdp.InternalVcISRInitInterface.onBeforeOutput(InternalVcISRInitInterface.java:136)
    at com.sap.pcui_gp.isr.isrprocessevent.init.wdp.InternalVcISRInitInterface$External.onBeforeOutput(InternalVcISRInitInterface.java:212)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent.callOnBeforeOutput(FPMComponent.java:602)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:568)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:437)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:195)
    at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:429)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
    Thanks in advance,
    Sethu

    Hey Sethu,
    Check the QISRSCENARIO settings.Also make sure that your ADS is configured.
    Also, please make sure that you have maintained all the settings which are mentioned in this link.
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/3b/52dd3747934311abee4376f383fdf2/frameset.htm
    Regards
    <i><b>Raja Sekhar</b></i>

  • On the interactive form - the filter icon

    I have a user that has a dumb question, they want to the filter to go away they selected when they come back to the first page of the interactive form, when there is no data left.
    Of course all they have to do is click the x to make the filter list appear. The reason it says no data when you go back to the first form is that that records no longer meets the criteria for the filter. The user wants the filter with the green check and the red x to disapear if there is no data left for that filter.
    Hope this makes sense.

    Hi -
    Two things you might want to look at are:
    1) To reset an interactive report in a link, use the string "RIR" in the Clear-Cache section of a URL. This is equivalent to the end user choosing the Reset option from the interactive report actions menu on the target page. The report is returned to the default report settings specified by the developer.
    or
    2) You can reset a report with a js call also: javascript:gReport.reset()
    Good luck.

  • How to display grid the interactive form

    Dear All
    I m trying to print the grid into the interactive form using adobe life cycle 8.1.
    My requirement is like I am getting the value in my local node in the view. From there i have to populate those value into the Pdf.
    So that user can take the print of the pdf.
    Value are getting in local. But it is not showing in the PDF. At the same time in other value are showing success fully only inthe table i am not able to get the value.
    Kindly help me out with your document or solution note
    Prashant Krishen

    Hi Prashant,
    For populating a table on a pdf the node structure should be different.
    You need to create node structure of the data which you want to show in Table like this
    DataNode            0..n
        SubNode         1..1
              att1
              att2
    Create the elements of DataNode only and set the attribute values.
    Now create the structure of the UI element in Form like this
    Subform1
            Subform2
                   Header1
                   Header2
            Subform3
                   Textfield1
                   Textfield2
    Bind the Subform3 to the node DataNode and Textfield1 and Textfield2 to att1 and att2 respectively.
    Set the 'Repeat Subform to each data Item* property of Subform3 to true.
    Now at runtime you will get all the data of the node in PDF form as a Table.
    Regards
    Ravindra

  • Is it possible to pass the Interactive Form on dynamic?

    Hi,
    Is it possible to pass the Interactive Form on dynamic?
    In webdynpro I am handling the header part that will be common for the entire input screen, based on the application name I want to call the different interactive forms. I have seen in template source there is no option to provide binding with context.
    Regards,
    Mahesh.Gattu

    Hi Mahesh,
    You can create different views with different PDF forms in their template source and dynamically navigate to the required view/ make the required view visible.
    say on your main view, create the header part with the necesaary UI elements and insert multiple view containers below it. Embed a pdf view in the respectve view containers.
    Create a context node UI_RENDER .. cardinality 1..1
    Create attributes pdf1_visible type wdui_visibility
    pdf2_visible and so on. Bind these to the visible property of the respective view container.
    based on the application name, set them to either visible or invisible.
    Hope this helps.
    Regards,
    Reema.

  • Syntax error in the Interactive form methods

    Hi all,
    In one of the method of the interactive form i am using the below statement
    DATA:LS_ZDYN_TBL_FORM type WD_THIS->ELEMENT_ZDYN_TBL_FORM.
    When i use the above statement i am getting the following syntax error
    The type "WDCTX_ZDYN_TBL_FORM" is unknown.          
    Thanks in advance
    Ajay

    Try following thigs:
    1) Make sure that you have created node 'ZDYN_TBL_FORM' in the context
    2) try following code: WD_THIS=>ELEMENT_ZDYN_TBL_FORM.
    3) If you are writting this code in the method of a view, try following code:
      DATA: t_data TYPE if_<view_name>=>elements_ZDYN_TBL_FORM.
    Regards,
    Saket.

  • Unable to open the interactive form

    Hi,
    I have created a interactive form.
    I'm trying to send this as an e-mail attachment.
    I'm able to receive the mail but I'm not able to open the interactive form.
    Can someone help me on this.
    Regards
    Nancy

    Hi Nancy,
    Check this Code.. i am able to open the ADOBE in my SAP Inbox.
      ie_outputparams-device   = 'PRINTER'.
      ie_outputparams-getpdf = 'X'.
      CALL FUNCTION 'FP_JOB_OPEN'
        CHANGING
          ie_outputparams = ie_outputparams
        EXCEPTIONS
          cancel          = 1
          usage_error     = 2
          system_error    = 3
          internal_error  = 4
          OTHERS          = 5.
      IF sy-subrc <> 0.
        WRITE : 'Exit at FP_JOB_OPEN'.
        EXIT.
      ENDIF.
      docparams-langu = 'E'.
      docparams-country = 'US'.
      docparams-fillable = 'X'.
    * Get the name of the generated function module
      CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
        EXPORTING
          i_name     = <adobe-form-name>
        IMPORTING
          e_funcname = e_funcname.
      IF sy-subrc <> 0.
        WRITE : 'Exit at FP_FUNCTION_MODULE_NAME'.
        EXIT.
      ENDIF.
    CALL FUNCTION  e_funcname
    EXPORTING
    *   /1BCDWB/DOCPARAMS        =
       PERNR                    = p_pernr
    IMPORTING
       /1BCDWB/FORMOUTPUT       = output
    * EXCEPTIONS
    *   USAGE_ERROR              = 1
    *   SYSTEM_ERROR             = 2
    *   INTERNAL_ERROR           = 3
    *   OTHERS                   = 4
      IF sy-subrc <> 0.
        WRITE : 'Exit at e_funcname'.
        EXIT.
      ENDIF.
      CALL FUNCTION 'FP_JOB_CLOSE'
    * IMPORTING
    *   E_RESULT             =
       EXCEPTIONS
         usage_error          = 1
         system_error         = 2
         internal_error       = 3
         OTHERS               = 4
      IF sy-subrc <> 0.
        WRITE : 'FP_JOB_CLOSE'.
        EXIT.
      ENDIF.
    code for  Sending and code for attachment goes here.
    Let me know if it works.
    ~ Bhawanidutt.

  • Drop-downs on the interactive form?

    Hello
    I put a drop-down field (its lables is COUNTRY OF VISITOR ) on the interactive form (my_form_of_visitor_info) and bound it to a data source, which data source is passing USA, UK, fine, working well. It should always ALLOW only 3 characters max. length
    I also gave a ability to modify/input end-user own value in this drop-down field by checking  "Allow Custom Text Entry" box of the field tab of the object palette, fine.
    To accommidate all the label(COUNTRY OF VISITOR) of the field, i gave the WIDTH as 5 inches.
    But, now user is entering CANADA, but It should always ALLOW only 3 characters max. length. I did not see any MAX.CHARACTERS ALLOWED feature for the drop-downs as like TEXT FIELDS!
    Pls. let me know, How can i get it done this rquirement that systsem should allow ONLY 3 characters in this field? I saw some VALIDATION PATTERN for Zipcode, Tele #..but, i am not sure can i use it for my drop-down field? if so, How?
    Thank you

    see the answer in your other post

  • Capturing the changed data in the interactive forms through HTML Viewer

    Dear all,
    I'm showing the Interactive Adobe form in the HTML Viewer and I want to capture it back after the user enters data in the form and save it to application server.
    Can I get some help on this. Please attach supporting documents if any.
    Regards
    Aravind

    sorry i've got no document describing this. under service.sap.com/adobe you'll find a lot of Adobe content.
    But basically use the Adobe Designer from program files\adobe\design 7.0\formdesigner.exe
    create new form based on the CAF tutorials in the Interactive Forms section, add a new data connection to a wsdl, bind input/output parameters to form fields and get a button executing the wsdl operation.
    create your interactive form callable object based on that template, configure the form to start process and as impersonalized form. create the form from the GP administration screen, download it and test it.
    ...And Good Luck!!!

  • Adding Images in the Interactive Form

    Dear All,
        How to add a image in the standard SAP Deliver interactive forms for the PCR.
    Can i able to change the logo which is available in the system to the custom logo.
    So that will it get reflected in the all the standard screen using the logo.
    Thanks
    Yogesh

    Hi Yogeshwaran,
    After u create a UI element for the Image. set the URL for the UI element value in ur coding for the Value Attribute which is bound to the Image UI element.
    After setting the URL, save the URL in the back-end table so that next time the form is loaded the Custom logo is displayed
    Hope this helps u
    Regards,
    Poojith MV

  • No such method error when launching the Interactive form

    Hi Experts,
    I have developed a simeple Java Webdynpro application and added an Interactive form without any controls in it. Created the context with one value node and a binary value attribute.
    I have assigned  value node to datasource and binary attribute to pdfSource. When I launch the application I am getting the following no such method error.
    java.lang.NoSuchMethodError: com/sap/tc/webdynpro/clientserver/uielib/adobe/api/IWDInteractiveForm.setTemplateSource(Ljava/lang/String;)V
    The currently executed application, or one of the components it depends on, has been compiled against class file versions that are different from the ones that are available at runtime.
    If the exception message indicates, that the modified class is part of the Web Dynpro Runtime (package com.sap.tc.webdynpro.*) then the running Web Dynpro Runtime is of a version that is not compatible with the Web Dynpro Designtime (Developer Studio or Component Build Server) which has been used to build + compile the application.
    My NWDS is of Version 7.0.06
    and J2EE Engine is of Version 6.40.
    any guess why I am getting this error.
    Thanks
    Chinna.

    Issue solved. Compatablility issue NWDS 2.0 Version should use for NW 2004.

  • Print the attachements added in the adobe form

    Hi,
    I added the attachments in the adobe form.But when ever i print this adobe form , i want to make sure that the attachments are also printed in addition to the original adobe form.
    Is there any automatic way of doign it or any alternatives to avoid adding it as an attachment ,
    i have  a word document stored in the database.
    so when ever i print my form need to print the document sthat are stored in the database also.
    Please help me.
    Regards,
    Sasi

    "Discrepancies"?

  • How to get the values enterd in the interactive form and store it in table.

    Hi Experts,
    I have a requirement, i want to display the editable fields in Adobe form and have a button.If i click the button what i enter in the fields that will be store in the table.
    I tried but the button action is not going....
    In the Form i put the layout type as : xACFLayout.
    and in the webdynpro the enabled property checked and display type put the activeX still the form in the fields are in non-editable....
    Can you please give me step by step procedure for the same.
    Thank you in advacne..
    Thanks.
    Rrrr.

    Hi,
    I put the form layout is ZCI.
    When i click the button the acion was not trigerring.
    Please help me in this ASAP. It's imp for me..
    For your understand;
    My Requirement:
    I have a interactive form in that 2 input fields 1. First name 2.Last name and one button .
    If i clcik the button what i enterd in the above 2 inputfields i have to get store it in R/3 table.
    I tried this one.
    1. Created the view in the context created the node "adobe" cardinality... (1..1) and below created the child node "input" cardinality(1..1) and 2 attributes first name and last name.and other attribute pdfsource type xstring.
    created the UI element Interactive form, and chekc the enabled checkbox, and display type "native" and binding the  data source property to node  "adobe" cardinality... (1..1) and pdf source to pdfsource node. and templet  gave  "ZFORM" and gave the interface name "ZINTERFACE" and drag and drop the node elements into layout
    and created the webdybnpro button and webdynpro event gave *clcik and javascript and save activated the form.
    2. In the Ui elemt in view action onsubmit wrote the code to get the context element values and insert  that int0o table.
    But here the Submit button action was not trigerring.....................
    can you please help me in the same..... ASAP give any sugesstion what i have to change in this scenario.....

  • Populating values in a dropdown field on the interactive form using WD ABAP

    Hi All,
        I want to populate values in a dropdown field( of cardinality 0:n ) on interactive form,The values which i want to populate is from a 'z' table which i have created.I used a select query to fetch the entries but on my interactive form the values are flowing in many rows and not in the drop down.I want all the values to be in the dropdown.The dropdown is not showin even one value under it.I am using webdynpro abap and controls from webdynpro native.Can anyone guide me on this with a step by step procedure.
    Useful suggestions will be rewarded.
    Thanks and Regards,
    Srividya.

    You mean in PFR of controller , ie after user selects a record from LOV window and after its populated back into to the textItem on the main entry form ??
    The value is displayed correctly in the intended textItem which has viewInstance and viewValue attached to it .
    so this is what setup looks like
    Entry form
    Customer Name - lov
    Customer Number(d) - Display Only - Populated by Lovmappings from LOV - mapped to Customer Number attribute on LOV window. It also has viewInstance and ViewAttrib assigned to it .
    Save Action
    At this point of time , i am assuming i already have value in Customer Number(d)since its displayed on the screen,rite ??
    or Do i have to take the value in formValue and then explicitly do a setAttribute to set that value to view object /Customer Number(d)
    hope this helps to understand the scenario

  • Cannot save the Interactive form downloaded from abap webdynpro application

    Hello Everyone,
    Can anyone help me here.
    I have created an interactive form in SFP tcode and used in abap webdynpro application.
    scenario is i can downloade the form,fill it, sign it,save it and submit the form.
    Some thing is going wrong when i try to sign the form downloaded from the application.It is giving the error ->
    The document could not be saved. there was a problem in reading the document(26).
    When i try to sign the form save as dialog box will come where we can save the filled form.but here when itry to save it is giving above error.and also i cannot save thye form form file option.
    but form is working fine from sfp tcode not form application link.
    What is going wrong.Can somebody please help me here.
    Regards,
    Menaka.H.B

    Check the enabled and readOnly property of the InteractiveFormUI element in your application.
    enabled should be true and readOnly should be false.
    Also just FYI interactive forms are licensable in Productive environment for which you need Adobe Credentials. You may contact SAP Account Manager and Note 736902 for it.
    Chintan

Maybe you are looking for

  • Legacy VB6 project. Can no longer add controls to the form.

    Working on a VB6 project that has been in continuous use since 2002.  Needed to make a simple mod and add a new control.  Choosing any control and attempting to drag it on to the form always fails with a black circle with diagonal bar at the cursor a

  • Re: Satellite A300-29n - blue screen appears on setup of XP?

    Hello I'm working on windows vista and facing no problems when i wanted to set up XP on the machine ,after loading the files of the windows it was written "setup is starting windows " every thing was going well a blue screen appeared (a problem has b

  • How to get iTunes to stop autodownloading videos?

    I have several videos I have never downloaded to this PC. In iTunes I've marked all the movies and tv shows as watched. I've gone to preferences and unchecked "Automatically check for available downloads" and "automatically download prepurchased cont

  • OEM 12c  Agent does not show down status.

    Hi, I'm testing EM 12c. I added host target to oem and then kill agent process on host. When open agent page (Setup-Agent-Testingagent) see error. Communication between the Oracle Management Service host to the Agent host is unavailable. Any function

  • Upgrading from 12GB to 24 GB ram

    I currently have 12 gigs of ram and I want to upgrade to 24 gb. My system is working great and fast with Premiere CS5 with the Mercury Playback Engine, but I want improvement in AE CS5 I have a similar question in the Adobe Hardware forum but I figur