XML EXCEPTION in adobe form

hi all,
We've met a XML exception like this:
we input a no and raise a RFC and get the data and fill in the form. that is ok.
And when I trigger the submit button, an excepiton is shown:
"org.xml.sax.SAXParseException: Content is not allowed in prolog. "
I think it is a XML exception..But I don't know how to fix it.
Can anyone tells me how to do now?
Best Regards,
delma

Hello,
can you please explain your scenario? Do you have a offline form which do you extract the XML data from? Or is that a XML file for/ from WD form? Please provide more details about when the exception occurs.
Regards, Otto

Similar Messages

  • Call XML Schema based Adobe form from ABAP Program

    Hi,
      I have a scenario where an online Interactive form is designed and its working fine. Now i have a requirement to call the same Adobe form from a report for viewing purpose. Since it is XML Schema based Interface, is it possible to call the same form instead of creating a new one with the same template? Because i tried to call the same Adobe form by passing the values and converting those to XML(By Creating Transformation). Then i converted the XML to XSTRING and passed to the Generated Function Module for Input paramter "/1bcdwb/docxml". This resulted in an error "com.adobe.ProcessingException: com.adobe.Processin".
    Please help me out in solving this and check the attachment for code.
    Thanks,
    Raj

    Hi,
    outputparams-NODIALOG   = 'X'.
    outputparams-PREVIEW     = 'X'.
    outputparams-dest = 'LP01'.  "give ur printer name.
    CALL FUNCTION 'FP_JOB_OPEN'
      CHANGING
        ie_outputparams = outputparams
      EXCEPTIONS
        cancel          = 1
        usage_error     = 2
        system_error    = 3
        internal_error  = 4
        OTHERS          = 5.
    and Now call the generated function module
    pass the following in docparams
    docparams-langu = 'E'.
    docparams-country = 'US'.
    and finally close the job.
    It should work.
    Please let me know if u need further details.
    Regards,
    sasi

  • How to handle tables data in XML schema based adobe form

    Hi all,
    I am working on the CRM business partner creation by using Interactive adobe form with following steps:
    1) Uploaded the offline Interactive adobe form  to online interactive adobe form via WebDynpro ABAP;
    2) Capture XML data into corresponding BAPI structures;
    3) Save all the changes to database via BAPI.
    The adobe form contains customer information as well as several table views which are bind with the context created in WebDynpro: Node NEW_BP_NODE cardinality 1:1 with single attributes and table type attributes (1:n): COLOUR_COMP, MEN_COMP etc.
    While converting the xml format data to SAP context format, It is fine to use following routine to find the single attribute and map to the BAPI structure to do the database update.
    NODE = DOCUMENT->FIND_FROM_NAME( NAME = 'XYZu2019).
    XYZ = NODE->GET_VALUE( ).
    Question: how to convert the xml table data to SAP context format in WebDynpro ABAP?
    The XML table data looks like below.
    <?xml version="1.0" encoding="UTF-8" ?>
    <NEW_BP_NODE>
    <COLOUR_COMP>
    <DATA>
    <ZZTFLD0W2AQW />
    <ZZTFLDRZ2AQX>000</ZZTFLDRZ2AQX>
    <ZZTFLDVD2TQW />
    <ZZTFLDQK2HQX />
    <ZZTFLDEL2XQX />
    <ZZTFLDTC2DQX>000</ZZTFLDTC2DQX>
    <ZZTFLDOR2UQX />
    </DATA>
    <DATA>
    <ZZTFLD0W2AQW />
    <ZZTFLDRZ2AQX />
    <ZZTFLDVD2TQW />
    <ZZTFLDQK2HQX />
    <ZZTFLDEL2XQX />
    <ZZTFLDTC2DQX />
    <ZZTFLDOR2UQX />
    </DATA>
    <DATA>
    <ZZTFLD0W2AQW />
    <ZZTFLDRZ2AQX />
    <ZZTFLDVD2TQW />
    <ZZTFLDQK2HQX />
    <ZZTFLDEL2XQX />
    <ZZTFLDTC2DQX />
    <ZZTFLDOR2UQX />
    </DATA>
    </COLOUR_COMP>
    <MEN_COMP>
    <DATA>
    <ZZTFLD4V2V7V />
    <ZZTFLDYD2N7W>000</ZZTFLDYD2N7W>
    <ZZTFLDX32I7W />
    <ZZTFLD2D2W7W />
    <ZZTFLDGD2A7W />
    </DATA>
    <DATA>
    <ZZTFLD4V2V7V />
    <ZZTFLDYD2N7W>000</ZZTFLDYD2N7W>
    <ZZTFLDX32I7W />
    <ZZTFLD2D2W7W />
    <ZZTFLDGD2A7W />
    </DATA>
    </MEN_COMP>
    Thanks in advance for your help.
    Michelle

    Hi,
    Just follow these steps:
    1. Create interactive form UI element in your view.
    2. Now provide Datasource and PDFSOURCE to it in form properties.
    3. Now give a template name prefix with 'Z' or 'Y'.
    4. Double click on it. It will prompt for interface name.
    5. Provide interface name prefixed with 'Z' or 'Y'.
    6. Click on Context button in the Pop up window and provide the node you have selected as DATASOURCE.
    7. Click ok and it will open the form designer.
    8. In this way you can create a XML Schema based Form.
    9. Activate the interface and design the form providing layout type and other details.
    Hope it will help.
    Regards,
    Vaibhav

  • Throws WebDynpro Exception in adobe form

    Hello Experts
    I  am new to adobe form i created an adobe form when i run it as webdynpro application it gives run time error.
    Error when processing your request
    What has happened?
    The URL http://******************/sap/bc/webdynpro/sap/zadobe/ was not
    called due to an error.
    what to do next ?. I have no idea. Please help.
    Thanks in advance
    Moderator message: wrong forum, please have a look in the dedicated forum for "Adobe Interactive Forms".
    Edited by: Thomas Zloch on Mar 4, 2011 10:35 AM

    Do you want to perform these actions when online (within the webdynpro context on the browser) or offline (the pdf saved locally without access to the webdynpro context)
    1. If only used in the online scenario
    As you correctly noted, there are only two actions in the form. However these actions can be triggered by script inside the form. Before triggering the script set some runtime flag value on the webdynpro context (through a hidden pdf field) to understand which action is being performed. Then in the java code perform the appropriate action and set the resulting data into the webdynpro context and the form screen will be refreshed with the new data.
    2. If used in the offline scenario
    Fetch all the data you would need beforehand and store it in hidden fields. Then based on user interaction, choose the appropriate value from the hidden fields and display using script.

  • How to generate XSD file for XML schema adobe form

    Hi,
    I want to generate XSD file for XML schema interfaces adobe forms. How can I do it. Where I can do it..or who will provide this file..
    Thanks
    Ram
    Edited by: Ramesh ram on Feb 23, 2010 6:33 PM

    Aaaaah, my mistake, sorry for that. Of course you should use the XML interface and I forgot it is not described in this tutorial. You can easily find another one where the XML based interface is used. But... you won´t need any tutorial. just create a WD context. Place a Interactive form element on your WD app screen, in the attributes you need to maintain the form template name. If you write a name suitable for you which no existing forms uses, the system will offer you to generate a XML based interface and right after that it will "send" you to the SFP transaction. That means you can like skipi the step defining the interface because it it is generated automatically and you only draw the layout for this generated interface.
    You should use XMl based interface for your WD app, because when using the ABAP dic based, some features are not available (I am not sure, but ABAP based works only for print form or something).
    Hope it is all clear now,
    have a nice day,
    Otto

  • MSS Adobe form error

    Hi all,
    We are using the MSS mySAP ERP 2004 for ECC 5.0, we installed and configured the Adobe Forms, and tested it OK. When we enter to 'New Personnel Change Request' at My Staff workset, and choose one of the available 11 forms we get the exception 'No Adobe Form Is Assigned to the Scenario' :
    com.sap.pcuigp.xssfpm.java.FPMRuntimeException: No Adobe Form Is Assigned to the Scenario
         at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:107)
         at com.sap.pcui_gp.isr.isrprocessevent.FcISRProcessEvent.raiseExceptions(FcISRProcessEvent.java:1204)
         at com.sap.pcui_gp.isr.isrprocessevent.FcISRProcessEvent.callRFCIsrGetFormUrl(FcISRProcessEvent.java:550)
         at com.sap.pcui_gp.isr.isrprocessevent.FcISRProcessEvent.setTemplateSource(FcISRProcessEvent.java:317)
    Best Regards,
    Keren

    Ok, I have confirmed, it is indeed an authorization issue.  I resolved it by giving the MSS role the authorization:
    S_DEVELOP (ABAP Workbench)
       Activity:  03 (Display)
       Package:   ZHR_FRM (or whatever dev class/package you put your custom forms into)
       Object name:   Z*
       Object type:   SFPF
       Auth group:   ' '
    Once I realized it was an authorization issue, it was fairly easy to find using a trace in the ECC system against the MSS user with ST01.
    Hope this helps.
    Best regards,
    Matt

  • Error with Dynamic XML template in interactive form callable objects :GP

    Hi,
         We are trying to implement Offline adobe forms using guided procedures (Impersonalized forms).
    We have no problem while creating the callable object using the normal xdp template. But whenever we try to use Acrobat 7/8 dynamic xml template, the following error occurs and the template is not picked.
    "Could not retrieve template fields: Wrong document format or adapter mismatch  from adapter"
    Cant we use dynamic xml templates for adobe forms in GP? If we can, how to resolve this? Please let me know.
    Version:
    Netweaver SAP 2004s Sp15
    Adove Live Cycle desginer 7.0
    Edited by: Subramanya Srinivas Mullapudi on Oct 25, 2008 1:31 AM

    Hi Srivinas,
    take a look on that [docu dynamic forms|http://help.sap.com/saphelp_nw70/helpdata/en/44/bca11fc60b7006e10000000a155369/content.htm] and let me know if this is solving your problem.
    In addition also consider [integrating offline and form-based activities|http://help.sap.com/saphelp_nw70/helpdata/en/44/d44bea51103ee1e10000000a114a6b/content.htm] and the mentioned sublinks.
    Best regards
    Berndt

  • Error in Adobe form based in a xml interface when changing data element

    The adobe form is called from a web dynpro.
    The adobe form contain a page and subforms (positioned y flowered).
    The form worked out perfectally.
    Then edited a descriptive text in a data element, from se11.  The form continues worked out correctelly.
    Then modify a fixed text from the form.  The form is activated.
    Since this modification, the form stopped to work out, informing the following message:
    "WebDynpro Exception: The ADS call has failed. You can find information about the cause in the error.pdf on the application server".
    I have updated the nodes of the web dynpro, the xml interface of the form, is all activated and this is still not working.
    Someone could help me? Does anyone know what it could be happened?
    Is there a way to re-generate the form?
    Thanks you very much.
    Regards,

    The data element is char 4.  I have only changed descriptive texts.
    I have take take all the objects to the previous version (data element, wd view, interface xml, adobe form), and the form is still not working.
    Do you have another posible solution for this?
    Thanks you for your answer.
    Kind regards,

  • Adobe Forms, XML(PDF format) to PDF binary

    Hi experts!
    I'm working with Interactive Adobe Forms and the form function return the PDF in a XML format (xstring) through the parameter FPFORMOUTPUT-XML.
    I need to save the PDF file (binary) without geting it through the "getpdf" parameter FPFORMOUTPUT-PDF.
    Because the "getpdf" don't permit to show the user dialog print options.
    How could I transform the XML(PDF) returned in binary PDF file?
    Thank you all!

    Hello Evaristo
    You can make use of CALL FUNCTION 'SCMS_XSTRING_TO_BINARY' and CALL METHOD cl_gui_frontend_services=>gui_download to achieve this requirement.
    Regards
    Sandy
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
                   EXPORTING
                     buffer        = ls_params->es_output-s_form_output-xml
                   IMPORTING
                     output_length = lv_pdf_len
                   TABLES
                     binary_tab    = lt_pdf.
                 lv_file_name = p_xml.
    CALL METHOD cl_gui_frontend_services=>gui_download
                   EXPORTING
                     bin_filesize = lv_pdf_len
                     filename     = lv_file_name
                     filetype     = 'BIN'
                   CHANGING
                     data_tab     = lt_pdf
                   EXCEPTIONS
    OTHERS       = 1.

  • Processing exception during a "Render" operation -- adobe form

    Hi All,
    I am getting following error when I am running any adobe form including tutorials from sdn.
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Error during call to AdobeDocumentServer: <b>Processing exception during a "Render"</b> operation.
    Request start time: Fri Jun 23 14:27:34 IST 2006
    com.adobe.ProcessingError: <b>File not found error writing stream: <Render><Template><Name></b> "http://in-ccusapep01:50000/webdynpro/dispatcher/local/TutWD_DynamicForm/DynamicFormApp/wd_keyagQrztI_a3fvmxOUpvPuSA==/sapwebdynpro.xft;jsessionid=(J2EE4083000)ID0174858350DB00090618831087003045End;saplb_*=(J2EE4083000)4083050?sap.session.download=4&sap-wd-cltwndid=4f233921029611db9f3700142216317c&sap-wd-appwndid=Id4f233921029611db9f3700142216317c1b&sap-wd-norefresh=true :
    <b>java.io.FileNotFoundException: IO error detected while opening HTTP/HTTPS connection</b>: http://in-ccusapep01:50000/webdynpro/dispatcher/local/TutWD_DynamicForm/DynamicFormApp/wd_keyagQrztI_a3fvmxOUpvPuSA==/sapwebdynpro.xft;jsessionid=(J2EE4083000)ID0174858350DB00090618831087003045End;saplb_*=(J2EE4083000)4083050?sap.session.download=4&sap-wd-cltwndid=4f233921029611db9f3700142216317c&sap-wd-appwndid=Id4f233921029611db9f3700142216317c1b&sap-wd-norefresh=true :
    <b>java.io.FileNotFoundException: HTTP Status-code: 503 Service Unavailable</b> - connecting to http://in-ccusapep01:50000/webdynpro/dispatcher/local/TutWD_DynamicForm/DynamicFormApp/wd_keyagQrztI_a3fvmxOUpvPuSA==/sapwebdynpro.xft;jsessionid=(J2EE4083000)ID0174858350DB00090618831087003045End;saplb_*=(J2EE4083000)4083050?sap.session.download=4&sap-wd-cltwndid=4f233921029611db9f3700142216317c&sap-wd-appwndid=Id4f233921029611db9f3700142216317c1b&sap-wd-norefresh=true
    Exception Stack Trace:
    com.adobe.ProcessingError: File not found error writing stream: <Render><Template><Name> "http://in-ccusapep01:50000/webdynpro/dispatcher/local/TutWD_DynamicForm/DynamicFormApp/wd_keyagQrztI_a3fvmxOUpvPuSA==/sapwebdynpro.xft;jsessionid=(J2EE4083000)ID0174858350DB00090618831087003045End;saplb_*=(J2EE4083000)4083050?sap.session.download=4&sap-wd-cltwndid=4f233921029611db9f3700142216317c&sap-wd-appwndid=Id4f233921029611db9f3700142216317c1b&sap-wd-norefresh=true :
    java.io.FileNotFoundException: IO error detected while opening HTTP/HTTPS connection: http://in-ccusapep01:50000/webdynpro/dispatcher/local/TutWD_DynamicForm/DynamicFormApp/wd_keyagQrztI_a3fvmxOUpvPuSA==/sapwebdynpro.xft;jsessionid=(J2EE4083000)ID0174858350DB00090618831087003045End;saplb_*=(J2EE4083000)4083050?sap.session.download=4&sap-wd-cltwndid=4f233921029611db9f3700142216317c&sap-wd-appwndid=Id4f233921029611db9f3700142216317c1b&sap-wd-norefresh=true :
    java.io.FileNotFoundException: HTTP Status-code: 503 Service Unavailable - connecting to http://in-ccusapep01:50000/webdynpro/dispatcher/local/TutWD_DynamicForm/DynamicFormApp/wd_keyagQrztI_a3fvmxOUpvPuSA==/sapwebdynpro.xft;jsessionid=(J2EE4083000)ID0174858350DB00090618831087003045End;saplb_*=(J2EE4083000)4083050?sap.session.download=4&sap-wd-cltwndid=4f233921029611db9f3700142216317c&sap-wd-appwndid=Id4f233921029611db9f3700142216317c1b&sap-wd-norefresh=true
         at com.adobe.Render.execute(Unknown Source)
         at com.adobe.BaseADSRequest.doWork(Unknown Source)
         at com.adobe.AdobeDocumentServicesWorker.execute(Unknown Source)
         at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)
         at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)
         at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0.java:120)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
         at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)
         at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)
         at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)
         at SoapServlet.doPost(SoapServlet.java:51)
         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)
         at com.sap.tc.webdynpro.clientserver.adobe.AdobeFormHelper.createPDFDocumentForUIElement(AdobeFormHelper.java:486)
         at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:185)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterHandleActionEvent(ClientApplication.java:1154)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:402)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:649)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:248)
         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.doGet(DispatcherServlet.java:48)
         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: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)
    Please help.
    Thanks is advance .
    Raktim

    Hi tiffny
    FQDN is fully qualified domain name . Like a computer can be accessed with http://mycomputer:50000. or http://mycomputer.mycompany.com:50000. Last one is FQDN.
    When u download from service.sap.com u can see whether it is 6 or 7 .
    Thanks
    Raktim

  • Adobe Form with XML interface cannot retrieve all data from SAP

    hi all
    I want to use the Adobe forms for the real estate module.
    I had seen that adobe forms can have an interface with XML input and output as parameter.
    In the interface type only the /DOCPARAMS an the DOCXML are INPUT parameters which are available.
    No other INPUT parameter can be added to it.
    When i try to retrieve the data in real estate there are some default function modules for retrieving the data from real estate.
    But this function modules also are going to find out if the form which asks for this information has a IMPORT parameter
    for the required data. For example, the SENDER data is retrieved, but before the default function module retrieve this data
    the function module checks if the form has a INPUT parameter SENDER.
    And that is not the case. And i cannot create the SENDER parameter to it, because this INTERFACE type does not allow it.
    Does anybody know a solution herefore?
    kind regards,
    Anton Pierhagen

    Hi Bhaskar
    It is a long time ago, almost 2 years.
    I created my own custom development for calling the Adobe form. This custom development uses the correct function module interface with the IMPORT XML.
    The XML which i sent as IMPORT PARAMETER to the form is also created by own custom development. Via the default XML class of SAP
    So that was my solution
    Kind regards,
    Anton Pierhagen

  • Adobe Form with XML interface

    hi all
    I want to use the Adobe forms for the real estate module.
    I had seen that adobe forms can have an interface with XML input and output as parameter.
    In the interface type only the /DOCPARAMS an the DOCXML are  INPUT parameters which are available.
    No other INPUT parameter can be added to it.
    When i try to retrieve the data in real estate there are some default function modules for retrieving the  data from real estate.
    But this function modules also are going to find out if the form which asks for this information has a IMPORT parameter
    for the required data. For example, the SENDER data is retrieved, but before the default function module retrieve this data
    the function module checks if the form has a INPUT parameter SENDER.
    And that is not the case. And i cannot create the SENDER parameter to it, because this INTERFACE type does not allow it.
    Does anybody know a solution herefore?
    kind regards,
    Anton Pierhagen

    I've found a own workaround for this problem

  • Date format convert error in XML interface based Adobe interactive forms

    Hi experts,
    I am using XML interface based Adobe interactive form in Web Dynpro ABAP. The form just contains some date fields and numeric fields.
    When I test the WD Application, the date fields appear like 0000-00-00 at the first time. And then I set the form input disable, and get the XML from the form, at the same time I get the warning message, 'date format convert error'. By the way, I have set the edit pattern, display pattern and data pattern  of the date field to YYYYMMDD, but there seems no effect.
    Could you tell me how to set the default date format in date field Or clear the 0000-00-00?
    And another question, all of the numeric fields in the form appear like 0.0, how can I set it to empty when the form initialize?
    Best Regards,
    Guo Guo Qing

    Hi Chintan,
    Thank you for your reply.
    I have tried every possible changes on the Date field, locale, pattern. But still no effect. When the PDF come up in the WDA program, the date field is still '0000-00-00', and then I export the XML date of the form, there is also '0000-00-00' in the interface field.
    I can't clear the '0000-00-00' in initializiation event using javascript because if I need to open the form again, if I do this, the value user input could be cleared.
    I also try using Javascrip like this
    if this.rawValue == "0000-00-00"
    { this.rawValue = ""; }
    The code above can't clear the initializiation zeros too.
    Have you used the XML interface based online Adobe Forms? I have used XML PDF forms for output before, that's perfect. But the input forms seems so strange.
    Best Regards,
    Guo Guo Qing

  • XML based Adobe form is not allowing to input values while display on IE

    Hi Experts
    I have intergarted an XML based adobe form in webdynpro with inputs fields and submit button.
    But on display on Internet expolrer it doesn't allow to input values even button dosen't work.
    Please help me how would it will allow to input values .
    Many thanks in advance

    hi dear
    yes the enabled property is checked but still form doesn't allow to enter value and submit button is also disabled.
    Is there any setting or some program code is required.
    It would be great if some body can help us in this ....
    many thanks in advance.
    thanks

  • Handling RAW data types (from SAP) in Adobe forms - Illegal Arg Exception

    Hi,
          I have a scenario where I have to get data of type RAW in SAP to Adobe Forms using web dynpro java. What is the corresponding type in Web Dynpro / Adobe Forms.
    I am using Adaptive RFC and when I get the model from SAP function module, the RAW type is created as Binary type in the data dictionary of Web Dynpro.
    When I map the model context to controller context, the type is taken as byte[].
    I tried to set the attribute for this field and I got the Illegal Argument Exception error.
    I am using NWDS 7.0.9 and NW04s SP12. Pl help. I am working on this since 10 days but could get no solution.
    The initial exception that caused the request to fail, was:
    <b>java.lang.IllegalArgumentException</b>
    at com.sap.dictionary.runtime.DdTypeBinary.format(DdTypeBinary.java:60)
    at com.sap.dictionary.runtime.DdTypeBinary.toString(DdTypeBinary.java:64)
    at com.sap.tc.webdynpro.clientserver.data.DataContainer.doFormat(DataContainer.java:1405)
    at com.sap.tc.webdynpro.clientserver.data.DataContainer.getAndFormat(DataContainer.java:1098)
    at com.sap.tc.webdynpro.clientimpl.xdp.renderer.data.XfdRenderer.renderAttributes(XfdRenderer.java:370)
    ... 41 more

    Issue with the RAW data types is resolved now. I have changed the data type of the field into String in the dictionary (web dynpro).. I have changed the corresponding getters and setter functions from byte[] to string. And everything working fine now. I got the Illegal Argument exception initially because I was trying to display the binary data type fields on the adobe form or view which I am not supposed to do.
    Also it is better to create separate view attributes in the context to get the values rather than mapping the model attributes directly in the form or view.
    Thank you one and all.
    Regards
    Vasu

Maybe you are looking for