Adobe Form (data extraction error)

Hi Experts,
i'm trying extract data from PDF file. (Adobe Offline scenario).
I'm getting this XML runtime error.
could anybody can help me to solve this problem.
This is my code ,
CALL TRANSFORMATION id
SOURCE XML lv_xml_data_string
RESULT T_sums      = wa_sums
       customer    = wa_cus
       bookings    = wa_book
       connections = wa_conn.
Here is the error
>>>>>>>>>>>>>>>>>>>>>
Error analysis                                                                                An exception occurred that is explained in detail below. 
    The exception, which is assigned to class 'CX_XSLT_RUNTIME_ERROR', was not     caught and   therefore caused a runtime error.      The reason for the exception is:       Either the source document contains invalid XML or it is handled      incorrectly in the ABAP program that called the transformation.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
i will appreciate valuble answers.
Thanks ,
Lahiru.

Hi Experts,
i'm trying extract data from PDF file. (Adobe Offline scenario).
I'm getting this XML runtime error.
could anybody can help me to solve this problem.
This is my code ,
CALL TRANSFORMATION id
SOURCE XML lv_xml_data_string
RESULT T_sums      = wa_sums
       customer    = wa_cus
       bookings    = wa_book
       connections = wa_conn.
Here is the error
>>>>>>>>>>>>>>>>>>>>>
Error analysis                                                                                An exception occurred that is explained in detail below. 
    The exception, which is assigned to class 'CX_XSLT_RUNTIME_ERROR', was not     caught and   therefore caused a runtime error.      The reason for the exception is:       Either the source document contains invalid XML or it is handled      incorrectly in the ABAP program that called the transformation.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
i will appreciate valuble answers.
Thanks ,
Lahiru.

Similar Messages

  • Position Activity Sequence Resulting in data extracting error

    hi gurus
    can any body tell me what is this position activity sequence error resulting in data extracting error, plz help. this is very high priority for me.
    regards
    dev

    I rebuild the report using a tabular form and populated the primary key with a PL/SQL expression and now it appears to be working. P1_ISSUE_NO is the primary key on the issue table and I could not figure how to get it in the issue_no field of the tabular report when a new line was entered I ended up putting the following code in for the default for
    issue_no on the report:
    Begin
    return :P1_ISSUE_NO;
    end
    It works great.

  • Adobe Form Data Storage

    When a user fills up a PCR Adobe Form from the portal where does the data or information is stored?
    There should be a fundamental way that SAP stores Adobe form data. I want to understand how and where this data is placed in SAP prior to it updating the employee’s infotypes so I can retrieve it and report on SAP and non-SAP fields.
    Same concept as in interface: data is sent from a file to SAP to update the back end. The file is stored separately from the back end up date data so it can be referenced later for support or other requirements. Same for the Adobe form data – it needs to be maintained the same way for future reference and current reporting.

    Well take the case of adobe forms based on web dynpro technology. Here the data is stored in context which are bean like structures and can store and transfer data to any system.
    Thanks,
    Harish

  • Invoice Adobe form giving runtime error

    Hi All,
    I have configured standard adobe form for invoice in nace. Print prog - SD_BIL_PRINT01 and adobe form - SD_INVOICE_FORM01. When i run the billing document, i am getting error message - Type conflict when calling the function module (Call to function module /1BCDWB/SMxxxxxxxxx is incorrect). I am using the standard program n form, then why this error.
    Thanks,
    Raju

    Hi,
    In the Print prog - SD_BIL_PRINT01, there is
    CALL FUNCTION lv_fm_name
        EXPORTING
          /1bcdwb/docparams = ls_docparams
          bil_prt_com       = gs_bil_print.
    GS_BIL_PRINT is of type BIL_S_PRT_INTERFACE.
    In the adobe form SD_INVOICE_FORM01, I think  the interface used is SLS_INTERFACE. In the interface  SLS_INTERFACE, the
    import parameter SLS_PRT_COM is of type SLS_S_PRT_INTERFACE.
    Since the export parameter of the print program and the import parameter of the form interface are of different data types, the error is coming.
    Change the interface of the form to BIL_INTERFACE. In this interface, the inport parameter BIL_PRT_COM is of type BIL_S_PRT_INTERFACE.
    Regards,
    Vinod

  • Adobe Form - Data Binding

    Hi All
    Apperently in Adobe Form, the data for a variable field can be bound in 'object-binding tab' - Object can be a text field or a subform - Could someone please tell me whether it is a common practice to bind data at the subform level ? or It is better to create a text field in the subform then bind the data to it? and will there be any problem later on If I bind data directly to a subform? - I'm new to this and I cannot find answer anywhere - Thanks

    Hi Liem,
    Both the ways are correct. There is not any problem doing binding in both the ways. But binding to subform is more easier. In case of creating tables it is preferred to drag and drop the data node from the data view to the form, as it is more easier and error free.
    Regards,
    Vaibhav Tiwari.

  • Adobe forms date Validation

    In webdynpro application am using interactive forms .
    In that i have a Date field. i want the user to type only in the (DD-MMM-YYYY). it should not allow the other formats.
    if he enters any other format it should say an error message and should clear the date field

    Hi
    Place the following code in the validate method. This is formcalc code
    var num = IsoDate2Num($.rawValue) - Date()
    if ( num < 0 ) then
    $host.messageBox("Invalid Date")
    $.rawValue = ""
    else
    $host.messageBox("Do whatever")
    for more check this thread
    Re: Date Validation (MM/DD/YYYY)
    Re: Adobe Forms - Locale and date format
    thanks

  • Smart form to Adobe form migration Log errors

    Hi Guys,
    I tried to migrate a smartform to adobe form, but I encountered issues in the created migration log.
    I am new to Adobe forms, I'm hoping that you could help me correct these issues...
    Below are the errors encoutnered:
    ERROR1:
    - "Field SFSY-PAGE is unknown. it is neither in one of the specified tables nor defined in the DATA statement.
    (this looks like a declaration problem, I checked the left pane (system fields) SFSY is declared, this is being used instead of SFPSY because I am using smartforms compatible interface.
    ERROR2:
    - "TLINE" is not an internal table "OCCURS n" specification is missing.
    (I also checked TLINE declarations, everything is declared by the system during convertion.. not sure where to put the proper declaration to address this issue)
    ERROR3:
    -"VBDPR" is neither specified under "TABLES" nor is it defined as an internal table.
    (This one is coded in the smartform exactly same with the migrated adobe form. Another data declaration issue, how can this be done in adobe forms?)
    ERROR4:
    -Field ITEMS5-POSEX has a conversion routine (see SAP Note 796755) --> I will check this note and let you know
    All syntax errors are under the context tab, inside the node source code was generated after the convertion and created the tab program lines.
    ERROR1: Code
    v_finalpage = v_counterpage + sfsy-page
    ERROR2: Code
    *     Read the sales orders text
    PERFORM read_salestxt TABLES tline
    USING 'Y032'
    v_text
    'VBBK'.
    ERROR3: Code
    LOOP AT vbdpr WHERE....
    I explained the issue the best way I can, hope this is enough to give you the idea..please provide feedback on this.
    Rgds,
    Jeffbroodwar
    Edited by: Jeffbroodwar on Mar 23, 2011 2:12 PM

    Hi All,
    Just incase others encounter this (new to migration) please see the answers below:
    ERROR1: SFSY - in my code, this was used to create the form pages. in ADOBE forms, we can use the ready objects inside
    the layout designer (just drag and drop page n of m just look for it in the objects palette.
    ERRORS2 to 3: Tables, I used type table as reference (create in SE11) and declared it in my interface as reference for my tables that have errors (change ref --> LIKE to TYPE then replace the table used in smartform with the newly created type table.
    ERROR4: Just see sapnote. just change the data type to avoid errors in calculation.
    Hope this will help.
    Thanks,
    Jeffbroodwar

  • Access the adobe form data in the workflow container for further processin

    HI,
    I am using HCM processes and Forms. I need to access the form data in the workflow container once the workflow kicks off.
    I need to access these data as would need it for further processing in the workflow.
    I know that TS17900110 allows to import form conatiner to
    -> WF Container in the field name and value pair. But I need to access a lot more fields than what is in the task. Is there a standard task which allow to retrieve all the fields in the form in one task or do I need to develope a custom class to do that. If so could you please provide some clue as in how to code this specific requirement as i am somewhat new to OO ABAP.
    Thanks...

    hi,
    in the livecycle designer under libary tab u have webdynpro tab--->choose submit to sap button and place it in the adobe form ur designing. u can use this button to trigger the code that u have written in webdynpro java.
    for eg if u have
    a value node details
    and under that two value attr fname,lname
    import the model (Insertdata---it has two import param fname and lname)u need for updating the data to r3 system.
    in the ctrller have a method submit.Here write the code to insert fname and lname into the db.
    IPrivateMyForm.IDetailsElement elem = wdContext.nodeDetails().currentDetailsElement();
    Insertdata_Input input = new Insertdata_Input();
    wdContext.nodeInsertdata_Input().bind(input);
    input.setFname(elem.getFname());
    input.setLname(elem.getLname());
    try
    wdContext.currentInsertdata_InputElement().modelObject().execute();
    wdContext.nodeOutput().invalidate();
    catch (Exception ex)
    { ex.printStackTrace();}
    ul bind details to the datasource.
    when u edit ur interactive ui element these attr(fname and lname) vl be visible under dataview tab u can drag and drop them to the form
    now add submit to sap button in ur form.
    this button correspond to the onactionSubmit dat u have written in the ctrller.
    so wen u click this the data vl be inserted
    Regards
    Jay

  • Adobe Form - data from previous selected record is shown.

    Dear All,
    i have created a wd component consisting of two views.
    in the first view i am displaying  an alv which is bound to an internal table.
    on selecting a record and clicking a button the second view gets called containing an interactive form (adobe form)
    have provided a native wd submit button in the form which again calls the first view.
    The first time when i run the program it works fine.
    after clicking on submit the first view gets called again.
    now if i select another record, the adobe form gets the previous value even though in the context it shows me the current record.
    it always displays the record one previous to the current records selected.
    kindly give ur valuable suggestions.
    Regards,
    Niti

    Keep in mind I'm not using a textfield component, just a
    dynamic text box with the variable 'name' applied to it. Also,
    doesn't it matter that send_lv.fname was created within the
    LoadVars() method?
    At any rate, I tried doing what you said with the following
    code:
    name = send_lv.fname+""+send_lv.lname;
    However, what i end up getting in the textbox is
    'undefinedundefined'. I can't apply variables to the text fields
    instead because then it won't process the data to my php script.
    Any other suggestions?

  • Adobe form data not being retrieved by Web Dynpro application

    Hi,
    I have created an online interactive Adobe form embedded in a Web Dynpro ABAP application.  The Web Dynpro application calls a function module to update data in SAP.  My problem is that the ABAP code that was generated to retrieve the data from the Adobe form and call the function module does not retrieve the data if it has been typed into any of the input fields.  Oddly enough, it does work if the data is entered by using the value helps that have been placed on the form. 
    I would appreciate any suggestions.
    Thanks!
    Russell

    Use messageboxes on various events to find out when your value dissapeears.
    If you´re not sure about the binding, you can always drag/drop from data view tab onto the layout and check the binding which the system generates for you. Just to make sure.
    Regards Otto

  • [sap-bw] SAP HR data extraction errors....into BI 7.0 ...from ECC 6.0..

    Hi Gurus,
    We are doing HR data extraction with the following details:
    Cube: 0PT_C01 - Time and Labor
    data source: 0HR_PT_1 - Times from personal work schedule
    Records in ECC: 15mill +.
    "Init load with Data "is being loaded in packets of 40K records (400 packets approx).
    Each time we load (we tried reloading after deleting data and reinit) it is loading same records. But it is giving the following error. Surprisingly this error is coming for different packets in different loads. for ex: 1st time packet 6...2nd time packet 58....3rd time 122 etc.....it keeps changing...
    Processing end : Errors occurred
    Error when generating the update program
    Diagnosis
    An error occurred during program generation for InfoSource 0HR_PT_1 and
    InfoProvider 0PT_C01 . This may be extrapolated to incorrect update
    rules.
    Procedure
    Check and correct your update rules and then generate the update program
    again. You can find help on the error in the error log.
    We reactivated and verfieid update rules. But no use.
    Appreciate any kind of help.
    thanks in advance.
    J.

    Oscar,
    Thanks for the help.
    We tried the following one by one.
    1. Delete and recreate update rules.  To be frank....there is no CODING or complication in there...
         It did not work.
    2. Tried loading only to PSA.  It loaded 15mill records perfectly.  But when we tried updating target cube, 
        same story with many more errors.....earlier we had 10 packages failed out of 387.......
         this time almost every  alternate package is marked red and same error....update generating update
         program.....
    Hope somebody will come up with a solution.

  • How to insert Adobe Form Data in the SAP backend?

    Hi there,
    I am very new to Adobe Forms. I am supposed to come up with a working scenario of inserting few form fields into the SAP backend. Is this done through a BAPI call? Or is there any other way for this to achieve?
    I have downloaded trial version of Adobe LifeCycle Designer. But I don't know how to integrate this with the SAP system. Is there anything else that I need to install in my system?
    Is there a document on how to configure all the installations for both local machine and the server (if any)?
    Please help.....
    [I went through the forum for this, but I did not get anything]
    Warm regards,
    Deepak

    hi,
    in the livecycle designer under libary tab u have webdynpro tab--->choose submit to sap button and place it in the adobe form ur designing. u can use this button to trigger the code that u have written in webdynpro java.
    for eg if u have
    a value node details
    and under that two value attr fname,lname
    import the model (Insertdata---it has two import param fname and lname)u need for updating the data to r3 system.
    in the ctrller have a method submit.Here write the code to insert fname and lname into the db.
    IPrivateMyForm.IDetailsElement elem = wdContext.nodeDetails().currentDetailsElement();
    Insertdata_Input input = new Insertdata_Input();
    wdContext.nodeInsertdata_Input().bind(input);
    input.setFname(elem.getFname());
    input.setLname(elem.getLname());
    try
    wdContext.currentInsertdata_InputElement().modelObject().execute();
    wdContext.nodeOutput().invalidate();
    catch (Exception ex)
    { ex.printStackTrace();}
    ul bind details to the datasource.
    when u edit ur interactive ui element these attr(fname and lname) vl be visible under dataview tab u can drag and drop them to the form
    now add submit to sap button in ur form.
    this button correspond to the onactionSubmit dat u have written in the ctrller.
    so wen u click this the data vl be inserted
    Regards
    Jay

  • Adobe Forms Date Format DD.MM.YYYY.

    Hi Experts,
    I am new to Adobe Forms(Transaction SFP) . The Client has requirement to display the data in DD.MM.YYYY format.
    I saw that the standard 'Date fields' in ADOBE forms does not have this format.
    Any Ideas.
    Thanks.

    Hi
    Drag and drop the Date/Time Field  from Library pallet into Layout. Right click on it  -> Go to Palletes -> select Object -> go to the Field tab ->
    In Display Pattern you simply specify the date format as   DD.MM.YYYY and the active it and test it.
    Try this once. It will work.
    Thanks
    Sriiiiiiiii(Srikanth)

  • Adobe form data refresh on new action

    I have a table where the first column has a data field with a link to an action, the action calls a method to execute a model and then displays a new view with an InteractiveForm to display the data for the selected field.  So, select an employee in the table, model is executed, Adobe form is displayed to show the data for that employee.  The manager can then click a back button to go back and select a new employee from the table and then display the Adobe form for the new employee.  This all works great the 1st time, but when I go back and select a new employee the Adobe form still displays the data for the 1st employee.  I have added fields mapped to the context values to verify that the data is changing each time I select a new employee, but the Adobe form does not get updated.  This seems too easy, what am I missing to clear my Adobe form and populate the new data the next time in?
    Thanks for any guidance.
    Jeff Mathieson

    Hi,
    just try to change the mode property of the interactive form element to " generatePdf" and check.
    hope it helps you.
    Rergards,
    ramesh
    Edited by: Ramesh Babu V on Aug 20, 2010 4:10 PM

  • Adobe Form Data Integration into SAP using RFC

    Hi All,
    I have created a Adobe Form, there is a button Called Submit ,On clicking that button  the Adobe form must call a RFC function Module and pass the data from the form to Function Module.
    I have written the below code for the submit button but it is not working.Please Lemme know if u have any solutions..
    Below is my code
    //Submit this form to SAP using web services
      var webService = xfa.resolveNode("xfa.record.WEBSERVICE");
      xfa.host.messageBox ("test 3");
      var response = Net.SOAP.request(
      cURL: webService.value,
      oRequest: {
      "urn:sap-com:document:sap:rfc:functions:ZUPDATETIMESHEET":{
      TIMESHEET: t_time_record,
      HEADTIME:  wa_head
      cContentType: "text/xml"
      xfa.host.messageBox ("test 4");
      var success = response["urn:sap-com:document:sap:rfc:functions:ZUPDATETIMESHEET.Response"]["SUCCESS"];
      var response = response["urn:sap-com:document:sap:rfc:functions:ZUPDATETIMESHEET.Response"]["RESPONSE"];
      if (success == "X") {
      xfa.host.messageBox(response, "Response from SAP", 3);
      CONFIRMED.rawValue = "Yes";
      ConfirmedLogo.presence = "visible";
      for (var nPageCount = 0; nPageCount < xfa.host.numPages; nPageCount++) {
      var oFields = xfa.layout.pageContent(nPageCount, "field");
      var nNodesLength = oFields.length;
      for (var nNodeCount = 0; nNodeCount < nNodesLength; nNodeCount++) {
      oFields.item(nNodeCount).access = "readOnly";
      if (oFields.item(nNodeCount).border.fill.color.value == "255,0,0")
      oFields.item(nNodeCount).border.fill.color.value = "255,255,255";
      if (oFields.item(nNodeCount).ui.oneOfChild.className == "button") //Hide all buttons
      oFields.item(nNodeCount).presence = "hidden";
    ZUPDATETIMESHEET is my Function Module.
    t_time_record  and wa_head are the parameters being passed to the function Module.
    Please lemme know if i have to do any settings and configurations also...
    I have attached the entire code in the below file...
    Thanks in Advance 

    Maruti,
    1. Just use the RFC's that does the update.
    2. There are update flags for each field that you would like to update. These flags should be marked be marked for update. They come along with the classes that are generated when you import the RFC's.
    3 Call BAPI_TRANSACTION_COMMIT afterwards.
    All the above steps have to be done in the program.
    Sumit.

Maybe you are looking for

  • Creating a form in Application gives WWV-13003.

    Hi, After renaming a form say FormA to FormB in Application , I am not able to create a new form with the same name that is FormA . I have deleted the form from wwv_modules$ saying " delete from wwv_modules$ where name like 'formname'; " . After this

  • How to download iBooks?

    Downloading kindle for iPad is tricky

  • IPhoto and iMovie won't update on my MacBook Pro OS 10.8.3

    I have a MacBook Pro, s/n W8******AGZ, running OS 10.8.3. Ever since the last update of 10.8.2 I've been having problems updating my iPhoto software. Now, just recently, iMovie won't update either. What is an Apple community guy supposed to do now???

  • Importing .XML into apps

    Hi all, Please let me know how can we import the .xml files (Page/region ). Path on the server : /ad01/app/o2cdev/apps/apps_st/comn/java/classes/XXXX/xxasn/ceridian/oracle/apps/xxasn/common/customer/webui. java oracle.jrad.tools.xml.importer.XMLImpor

  • "Connection error" on videos in CP7

    Hi, I have just updated from CP 5.5 to CP 7 AND switched to a new LMS ;-) Naturally problems occur... My old LMS took scorm 1.2 and the new one scorm 2004. Therefore I have merely opened my CP 5.5. project in CP 7- re-publised it to scorm 2004 and pu