Error while submitting offline Interactive forms to GP

Hello experts,
  I get the following exception when i press the 'submit' button of the interactive form. The required configuration is correct and the URL generated is also correct.
"Error while processing document via ADS
com.sap.caf.eu.gp.base.exception.EngineException: Error while processing document via ADS
at com.sap.caf.eu.gp.model.iforms.adapter.pdf.AdobePDFAdapter.processPDF(AdobePDFAdapter.java:825)
Any help would be apreciated.
regards,
Anup

Hi Hanoz,
As you said, I have created an online application with 2 input fields. Name and CostCenter. I am saving the blank pdf on my desktop. In another project i have 2 views. Upload and Form View. In Upload View, using a FileUpload, i am able to fetch the pdf from desktop and on action of submit, it goes to Form view. The Form is opening with the Data which i entered Offline. Thatz because i gave (Interactive Form Mode - "UsePDF". If i give UpdateDatainPDF, it is showing a blank pdf. Hence i used "USEPDF". After that i have a Submit button to which an "ONACTIONsubmit" is mapped to Interactive Form PDF submit property. 
OnactionSubmit()
wdComponentAPI.getMessageManager().reportSuccess("hai");
String name = wdContext.currentTravelDataElement().getEmployeeName();
String costcenter = wdContext.currentTravelDataElement().getCostCenter();
wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess("Form submitted: Name="+ name+ " costcenter="+ costcenter +"");
PDF
Name - Form
CostCenter - 1000
Initially if i click Submit, Output Comes as ......
hai
Form submitted: Name=null costcenter=null
If i enter some space inside the name field like name - "Form " or even "Forma".....
the output  comes as
hai
Form submitted: Name=Form costcenter=1000 (though i have used interactive form mode=usepdf).
or
hai
Form submitted: Name=Forma costcenter=1000    (though i have used interactive form mode=usepdf).
If i enter some value inside the form field, how it is able to take the correct value on action submit. I tried many blogs. But i am not able to fetch the values unless i change the field values inside the form? What else can i do? how did your project work? Can you please help in resolving this issue?
Thanx and Regards,
Divya

Similar Messages

  • Error while running adobe interactive form

    Hi,
    I made a scenario to update a z table using adobe interactive form in webdynpro.While executing I am getting the error as :
    Termination type was : RABAX_STATE
    Can anyone please guide me as to what can be the reason behind this error.
    Thanks in advance !!

    Hi
    I suggest that you first review your configuration using this tutorial which short and to the point:
    [ADS configuration|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f03414f8-d4ce-2a10-d4b6-ab201b329d98]
    After that perform the tests that were suggested in the posts above (link to the relevant tests [ADS tests|http://help.sap.com/saphelp_nwmobile71/helpdata/en/43/f31e3082221595e10000000a1553f7/content.htm]
    Regards
    Adi J.

  • Error while executing ADobe Interactive form

    Hi
    I had created TRAVEL REQUEST interactive form as per the document.   Im successful till deployment.  But then while running the application Im getting the below stack
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: failed to created delegate
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.<init>(DelegatingComponent.java:51)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doInit(ClientComponent.java:748)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:333)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:341)
         at com.sap.tc.webdynpro.clientserver.task.Task.createApplication(Task.java:181)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:494)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:49)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:239)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:130)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:92)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:35)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:373)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:250)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:321)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:299)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:698)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:223)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:146)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         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:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:140)
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.<init>(DelegatingComponent.java:43)
         ... 26 more
    Caused by: java.lang.NoSuchMethodError: com.sap.tc.webdynpro.progmodel.context.Node.<init>(Lcom/sap/tc/webdynpro/progmodel/context/NodeInfo;Lcom/sap/tc/webdynpro/progmodel/context/Node;)V
         at com.sap.demo.travelrequest.wdp.IPublicTravelRequestComp$IContextNode.<init>(IPublicTravelRequestComp.java:29)
         at com.sap.demo.travelrequest.wdp.InternalTravelRequestComp.wdInitContextNode(InternalTravelRequestComp.java:49)
         at com.sap.demo.travelrequest.wdp.InternalTravelRequestComp.<init>(InternalTravelRequestComp.java:89)
         ... 31 more
    Can any bode tell me whether it is Version incompatibility or any other specific reason ?
    thanks
    raj

    Hi Raja,
    something is wrong with your context in the component controller. Please verify your context structure with the structure in the document, which you mentioned. Do you really use value nodes and attributes? Is the mapping to the view correct and also the binding between the interactive form ui-element and the context nodes of the view?
    Regards, Carsten
    Message was edited by: Carsten Brandt

  • Error while Activating Adobe Interactive Form

    Hi SDN,
    I am activating Adobe Interactive Form but it is giving me SOAP Runtime Execption : CSoapExceptionTransport : HTTP receive failed with exception communication failure.
    Can any one tell me how to rectify this error?
    Regards,
    Rahul

    Hi SDN,
    I am trying the same on the Other system as well but it is giving me error as Invalid HTTP connection : ADS
    Help Required............!
    Regards,
    Rahul

  • Error while opening Adobe Interactive form.

    Hi ,
    We have few custom applications  which contains an adobe interactive form. When it is getting called it throws the following error.
    com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: Failed to  UPDATEDATAINPDF
    com.sap.engine.services.webservices.jaxrpc.exceptions.XmlUnmarshalException: XML Deserialization Error. Invalid parser state. This exception is caused when deserializing XML type [http://www.w3.org/2001/XMLSchema]<base64Binary> and wrong XML node is found.
    Kindly guide me how to resolve this issue.
    Best Wishes
    Idhaya R

    Hello Idhaya,
    Does this forum thread help?
    Re: Error in Risk Analyzer of Access Enforcer
    Also, when troubleshooting XML errors, I like to open the input source XML in a web browser or validate the markup online at:
    http://validator.w3.org/
    --- Scott

  • Error while processing ADOBE interactive form

    Hi,
    I get following error when I try to submit an ADOBE interactive form.
    FormPostprocessor.ERROR_NO_DEFAULT_USER_FOR_ROLE
    com.sap.caf.eu.gp.base.exception.EngineException: FormPostprocessor.ERROR_NO_DEFAULT_USER_FOR_ROLE
    at com.sap.caf.eu.gp.model.iforms.postproc.FormPostprocessor.createProcessRoleInstance(FormPostprocessor.java:176)
    at com.sap.caf.eu.gp.model.iforms.postproc.FormPostprocessor.prepareProcessRoles(FormPostprocessor.java:157)
    at com.sap.caf.eu.gp.model.iforms.postproc.FormPostprocessor.initiateProcess(FormPostprocessor.java:289)
    at com.sap.caf.eu.gp.model.iforms.postproc.FormPostprocessor.processData(FormPostprocessor.java:564)
    at com.sap.caf.eu.gp.model.iforms.FormPostProcessor.doPost(FormPostProcessor.java:182)
    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)
    Please help.
    Ashutosh

    I managed to sort the issue.
    It is not related to the ADS configuration.
    I had to assign all the default roles of process to the user /role.
    Thanks a lot for reply.

  • 500 internal server error while submitting a pdf form

    HI,
    we have implemented SAP portal in our lanscape. few users are getting 500 internal server error.
    The root cause is showing as com.sap.tc.webdynpro.services.sal.util.cache.WDResourceNot FoundException:cant write binary content
    Can anyone provide any solution for this?
    thanks in advance.

    hi,
    the user is getting the following error.
    can you please give me any suggestions for solving this issue.
    thanks in advance
    500 Internal Server Error
    Web Dynpro Container/SAP J2EE Engine/6.40
    Failed to process request. Please contact your system administrator.
    [Hide]
    Error Summary
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy
    of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    Root Cause
    The initial exception that caused the request to fail, was:
    com.sap.tc.webdynpro.services.sal.util.cache.WDResourceNotFoundException: Cant write binary content!
    at com.sap.tc.webdynpro.services.sal.util.cache.ResourcePool$FiledResourcePoolElement.writeTo(ResourcePool.java:813)
    at com.sap.tc.webdynpro.serverimpl.core.datatransport.AbstractMassDatasource.getBytes(AbstractMassDatasource.java:97)
    at com.sap.tc.webdynpro.clientimpl.html.uielements.uradapter.InteractiveFormAdapter.doSetAttribute(InteractiveFormAdapter.java:141)
    at com.sap.tc.webdynpro.clientimpl.html.uielib.activecomp.uradapter.AbstractActiveComponentAdapter.onACFSETATTRIBUTE(AbstractActiveComponentAdapter.java:450)
    at sun.reflect.GeneratedMethodAccessor382.invoke(Unknown Source)
    ... 26 more
    See full exception chain for details.
    System Environment
    Client
    Web Dynpro Client Type HTML Client
    User agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Amgen.v1b; .NET CLR 1.1.4322)
    Version
    DOM version
    Client Type msie6
    Client Type Profile ie6
    ActiveX enabled
    Cookies enabled
    Frames enabled
    Java Applets enabled
    JavaScript enabled
    Tables enabled
    VB Script enabled
    Server
    Web Dynpro Runtime Vendor: SAP, Build ID: 6.4015.00.0000.20051123162612.0000 (release=630_VAL_REL, buildtime=2005-12-14:21:51:22[UTC], changelist=377533, host=PWDFM026)
    J2EE Engine 6.40 patchlevel 100627.313
    Java VM Java HotSpot(TM) 64-Bit Server VM, version:1.4.2_12-b03, vendor: Sun Microsystems Inc.
    Operating system Windows 2003, version: 5.2, architecture: amd64
    Other
    Session Locale ja
    Time of Failure Fri Jan 12 04:18:29 GMT 2007 (Java Time: 1168575509171)
    Web Dynpro Code Generation Infos
    sap.com/pcui_gp~isr
    SapDictionaryGenerationCore 6.4013.00.0000.20050606171348.0000 (release=630_VAL_REL, buildtime=2005-07-04:20:02:08[UTC], changelist=351717, host=PWDFM026.wdf.sap.corp)
    SapDictionaryGenerationTemplates 6.4013.00.0000.20050606171348.0000 (release=630_VAL_REL, buildtime=2005-07-04:20:02:19[UTC], changelist=351717, host=PWDFM026.wdf.sap.corp)
    SapGenerationFrameworkCore 6.4011.00.0000.20041104124957.0000 (release=630_VAL_COR, buildtime=2005-02-16:02:02:27[UTC], changelist=298356, host=PWDFM026.wdf.sap.corp)
    SapIdeWebDynproCheckLayer 6.4013.00.0000.20050606172055.0000 (release=630_VAL_REL, buildtime=2005-07-04:20:08:32[UTC], changelist=351729, host=PWDFM026.wdf.sap.corp)
    SapMetamodelCommon 6.4013.00.0000.20050606171700.0000 (release=630_VAL_REL, buildtime=2005-07-04:19:56:31[UTC], changelist=351724, host=PWDFM026.wdf.sap.corp)
    SapMetamodelCore 6.4013.00.0000.20050606171700.0000 (release=630_VAL_REL, buildtime=2005-07-04:19:56:22[UTC], changelist=351724, host=PWDFM026.wdf.sap.corp)
    SapMetamodelDictionary 6.4013.00.0000.20050606171352.0000 (release=630_VAL_REL, buildtime=2005-07-04:19:59:38[UTC], changelist=351719, host=PWDFM026.wdf.sap.corp)
    SapMetamodelWebDynpro 6.4013.00.0000.20050609113138.0000 (release=630_VAL_REL, buildtime=2005-07-04:20:05:19[UTC], changelist=352442, host=PWDFM026.wdf.sap.corp)
    SapWebDynproGenerationCTemplates 6.4013.00.0000.20050628104636.0000 (release=630_VAL_REL, buildtime=2005-07-04:20:19:30[UTC], changelist=356134, host=PWDFM026)
    SapWebDynproGenerationCore 6.4013.00.0000.20050606172055.0000 (release=630_VAL_REL, buildtime=2005-07-04:20:09:01[UTC], changelist=351729, host=PWDFM026.wdf.sap.corp)
    SapWebDynproGenerationTemplates 6.4013.00.0000.20050628104636.0000 (release=630_VAL_REL, buildtime=2005-07-04:20:19:30[UTC], changelist=356134, host=PWDFM026)
    sap.com/pcui_gp~xssutils
    SapDictionaryGenerationCore 6.4013.00.0000.20050606171348.0000 (release=630_VAL_REL, buildtime=2005-07-04:20:02:08[UTC], changelist=351717, host=PWDFM026.wdf.sap.corp)
    SapDictionaryGenerationTemplates 6.4013.00.0000.20050606171348.0000 (release=630_VAL_REL, buildtime=2005-07-04:20:02:19[UTC], changelist=351717, host=PWDFM026.wdf.sap.corp)
    Detailed Error Information
    Detailed Exception Chain
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException
    at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.handleUIElementEvent(HtmlClient.java:853)
    at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.updateEventQueue(HtmlClient.java:740)
    at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.initEvents(AbstractClient.java:131)
    at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.prepareTasks(AbstractClient.java:99)
    at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:247)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55)
    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:390)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
    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: java.lang.reflect.InvocationTargetException
    at sun.reflect.GeneratedMethodAccessor382.invoke(Unknown Source)

  • Getting javascript error while opening offline adobe forms sent via email.

    ERROR: script failed(language is formcalc,context is xfa[0].form[0].data[0].FORM[0].
                  script = BODY.instanceManager.addInstance(1);
                  Error:accessor "BODY.instanceManager.addInstance(1)" is unknown.
    I have written the code in Javascript and run at client.
    Below is my sample code:
    var nlength = ROW.BODY.nodes.length;
    var nrow = 0;
    for(var nCount=0;nCount<nlength;nCount++)
    {nrow = nrow + 1;}
    if (nrow == 7)
    xfa.host.messageBox("Maximum allowable rows is 7","Warning",3);
    else
    {ROW.BODY.instanceManager.addInstance(1);
    xfa.form.recalculate(1);
    xfa.host.messageBox("Row added");}
    Rows are getting added.
    I am not getting the problem,Pls help me.

    Hello all,
                Thanks for your replies.
    I have made Show -> click and Language -> Javascript and Run at -> Client  for the button 'ADD'(this button inserts line) and in the blank space i have written the code as stated above.
    Then,i have activated the form.
    As per the Submit button it is working fine...
    I am new to adobe forms and i have done a self-training for this..
    Maybe I am doing something  wrong...
    Pls help.
    Thanks and regards,
    Raka.

  • Error while testing an Interactive form

    Hi,
    Please tell me what is the reson behind this error.
    The following error text was processed in the system R3I : WebDynpro Exception: ADS: Request start time: Thu Jan 08 14:37:39 CET 2009(200.101).
    The error occurred on the application server dewall36_R3I_00 and in the work process 1 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: RAISE of program CX_WD_GENERAL=================CP
    Method: CREATE_PDF of program CL_WD_ADOBE_SERVICES==========CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L7STANDARD==============CP
    Method: CONV_VIEW_INTO_VE_ADAPTER_TREE of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
    Method: SET_CONTENT_BY_WINDOW of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
    Method: RENDER_WINDOWS of program CL_WDR_CLIENT_SSR=============CP
    I build a WD4A aplication which contain an Interactice form.When I am testing it got above error.
    -Rick

    Hi Ricky,
    You can go to transaction ST22 and check what is the exact cause of this error.
    Apart from this check FP_CHECK_DESTINATION_SERVICE, because this error generally comes when ADS is not configured properly.
    Regards,
    Amit

  • Missing code in "Offline Interactive Forms Using ABAP" SDN document?

    I am trying to build a sample offline form scenario using the code published in the SDN document "Offline Interactive Forms Using ABAP" written by Vani Krishnamoorthy. Everything works perfectly up to the point where we instantiate the PDF Object to extract the data from the form. Then there seems to be some code missing just before we call the method SET_DOCUMENT. We are supposed to export the parameter pdfdata = pdf_data , but I cannot find where pdf_data variable is declared or assigned. Also, an ENDTRY statement seems to be missing.
    Has anyone had success with Vani's offline scenario, and if so, do you know what code is missing, if any?
    Thanks in advance for any help you can offer.

    I found the missing code in sample program FP_PDF_TEST_06. Everything works well now.
    The PDF file that was uploaded from the PC first needs to be converted from binary to XSTRING before you can create the PDF object:
    data: lt_rawtab type standard table of raw255,
            g_pdfdata type xstring,
            l_len type i.
      call method cl_gui_frontend_services=>gui_upload
        exporting
          filename                = l_filename
          filetype                = 'BIN'
        importing
          filelength              = l_len
        changing
          data_tab                = lt_rawtab   "PDF file (binary)
        exceptions
          file_open_error         = 1
          file_read_error         = 2
          etc. etc.
    Convert binary tab to Xstring
      call function 'SCMS_BINARY_TO_XSTRING'
        exporting
          input_length = l_len
        importing
          buffer       = g_pdfdata              "converted to Xstring         
        tables
          binary_tab   = lt_rawtab
        exceptions
          failed       = 1
          others       = 2.
      if sy-subrc is not initial.
        message id sy-msgid type sy-msgty number sy-msgno
                   with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    Instantiate PDF object..
      data: l_fp     type ref to if_fp value is initial,
            l_pdfobj type ref to if_fp_pdf_object value is initial,
            l_fpex    type ref to cx_fp_runtime,
            l_type    type string,
            l_errmsg  type string.
    Get FP reference
      l_fp = cl_fp=>get_reference( ).
    Handle exceptions with Try..Endtry
      try.
      Create PDF Object using destination 'ADS' (<--this is how it is
      defined in SM59)
          l_pdfobj = l_fp->create_pdf_object( connection = 'ADS' ).
      Set document
          l_pdfobj->set_document( exporting pdfdata = g_pdfdata ). 
      Tell PDF object to extract data
          l_pdfobj->set_extractdata( ).
      Execute the call to ADS
          l_pdfobj->execute( ).
        catch cx_fp_runtime_internal
              cx_fp_runtime_system
              cx_fp_runtime_usage into l_fpex.
          case cl_abap_classdescr=>get_class_name( l_fpex ).
            when '\CLASS=CX_FP_RUNTIME_INTERNAL'.
              l_type = 'INTERNAL ERROR'.
            when '\CLASS=CX_FP_RUNTIME_SYSTEM'.
              l_type = 'SYSTEM ERROR'.
            when '\CLASS=CX_FP_RUNTIME_USAGE'.
              l_type = 'USAGE ERROR'.
          endcase.
          l_errmsg = l_fpex->get_short( ).
          message e010(ad) with l_type ':' l_errmsg.
      endtry.

  • Create offline interactive forms using webdynpro java with XML data source

    Hi Gurus,
    I am having a scenario like below:
    Sales guy request for order list online from portal- Sytem receives the request and creat XML file- from xml file need to create a Offline interactive form-Sales guy fills it offline at customer site- uploads in portal -on submit xml has to be generated with captured data at customer site-Process to  ECC.
    So my questions are:
    How to create the offline interactive form  from XML?
    Once filled offline interactive form uploaded into portal how to create XML again from pdf ?
    Please give some idea on this as this is my first Offline interactive form using XML datasource.
    Thanks
    Ravi
    Edited by: Ravi Sunkara on Jul 27, 2010 5:25 PM

    Hi Otto,
    Sorry for replying lately. First of all  I did not get your suggestions as your are editing the same posting.
    Secondly we will be using WDJ. Actually in between SAP Portal and ECC we are having adobe LCES so we need to create Interactive form using XML only. Once it is filled again the form will be submitted to another application which is running on FLEX, which will process the order.
    if you can give me your personal id i can send you the detailed process
    Thanks
    Ravi

  • Sending Offline Interactive Form Via Email

    Hi,
    I am running NW 2004s SPS09 and trying to configure GP to use offline adobe interactive forms.  As of now, I am able to create a callable object from an Adobe template, prefill fields from other background execution/web service callable objects, and launch a process when the form is submitted via email.  I am having trouble routing the form to the next processor through email.  I created an interactive form callable object, checked 'Enable Use In Guided Procedures' and selected 'Create Offline Interactive Form And Send By E-Mail'.  My first thought was that there was some delay in the sending of emails, but callable objects in other processes that send plain text notifications work fine.  The process does not enter an erroneous state and waits at that action.  Looking at the GP monitor under NW administration, the correct processor is set for the action, but the task does not appear in the user's UWL or GP runtime center (I figure this is because the task is meant to be completed offline).  Any suggestions would be much appreciated.  Thanks!
    ~Greg

    Turned out the 'switchToNewMailCommunication' property for the GP service was set to true when it should have been false.
    ~Greg

  • Error while submitting concurrent request

    Hi All,
    I am getting error while submitting this concurrent request (To handle deliver, RTR, RTV transactions)
    Error : app-fnd-00874: Routine FDFBDF found no rows in table FND_DESCRIPTIVE_FLEXS. Please contact your system administrator or support
    representative
    what is this error and how can i slove this problem?
    Thanks
    V.Arumugam

    Hi,
    We had same problem in GL while upgradation.
    Some flexfields were missing in the fnd descriptive flexfield.
    We could resolve later with help of metalink.
    Plz refer metalink note : Note:363117.1 and Note:290411.1
    Rgds,
    Arumugam S.

  • Get form values from an uploaded offline interactive form.

    Hi,
    I have created a simple offline interactive form with 2 text input elements Email and PhoneNumber.
    I have created a button on the view. In the action, I have to get the values of the Email and PhoneNumber
    How to capture input values from an offline interactive form.
    Thanks
    Srinivas

    Hi Arafat,
    I followed the how to do document https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/wdjava%20archive/offline%20interactive%20pdf%20form%20using%20download.pdf , and it mentioned what you just said. But I couldn't understand your suggestion "In second view you need to embed the IF element and create the required context attributs mapping for fields. Set the pdfMode as usePDF."
    In the second view, I have created another interactive form for previewing the offline form.
    I am able to preview the offline form. On submit action (submit button is on the view), when I print the context values, I get nulls.
    Thanks
    Srinivas

  • Getting a bad bind variable error while compiling a custom form in R12

    Hi,
    I am getting a bad bind variable error while compiling a custom form.
    I tried setting the forms_path variable and I am still getting the error. Can anyone please suggest what can be done?
    DECLARE
    BEGIN
    IF :parameter.p_line_ship_to = 'T'
    THEN
    IF :SYSTEM.cursor_item = 'LINE.SHIP_TO'
    THEN
    :parameter.lov_num_param1 := :line.ship_to_customer_id;
    oe_lines.ship_to ('WHEN-VALIDATE-ITEM');
    :parameter.lov_num_param1 := :line.ship_to_customer_id;
    END IF;
    :parameter.p_line_ship_to := 'F';
    END IF;
    END;
    I am getting this error:
    Bad bind variable 'parameter.p_line_ship_to'

    The Parameter is not defined in the form.. But, this form is already been compiled and deployed.. I have to make some changes to the form and tried to compile it, when i am getting this error. Is it possible that the parameter would be defined in some other form or can this error be due to some other reasons?
    Thanks in Advance.

Maybe you are looking for

  • ITunes 10.5 64bit Windows 7 doesn't install - anyone else have the same problem

    I have downloaded the update.  It says that it does not update and to do it manually.  I am installing each installer at a time.  It does not seem to like AppleMobileDeviceSupport64 and just gives me that an error has occurred.  It does this after a

  • Problem instaling Subscriber in netware cluster

    Hello. I am using ZSM 7.0.1 installation program and trying to install only subscriber functinality on a cluster OES Netware with Sp5. The installation says it goes successful in the 2 logfiles that comes up after the installation but when I try to o

  • CFMX702 On Fedora Core 6

    Hi there, it's been a while since my last post here, but there is allways a chance to post once again (like this time). I've been trying to install Coldfusion MX 7 on Fedora Core 6, let me tell that it's a pain make it work but when at last you can s

  • How do i remove extra space at the end of my song?

    when i first started my song in GB i set it to 17 mins, now the song is only 2 mins How do I easily remove those extra minutes on my song so that I can export a smaller file? Any help would be greatly appreciated.

  • Encountered REP-1247: Report contains uncompiled PL/SQL

    Hi All, I am facing an issue where I have created a formula column inside the invoice RDF report but when I run the report this is errored with the below message ,I do have compile the formula column properly and i have also compiled the complete rdf