Skip to Content
avatar image
Former Member

Extract data from AIF PDF file in ABAP

Hi experts,

Is it possible to extract data (in a structure created in the form interface) from a pdf file (generated with AIF in sap) with the standard object (function, class methode...)?

Thanks

Edited by: f.sultan on Feb 23, 2011 1:10 PM

Edited by: f.sultan on Feb 23, 2011 1:11 PM

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Feb 23, 2011 at 02:59 PM

    Not exactly sure what you are asking...but if you are asking if you can retrieve data from a form...then yes, of course.

    Are you using Web Dynpro ABAP as the container?

    Is this an online/offline scenario?

    The IF_XML interfaces will help you extract the XML data from the form in an offline type scenario.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      In the context node, declare an attribute with type xstring. Bind it to the pdfSource property of Interactive form UI element. After form submission, you will get the data within the form in XML format by reading this attribute. Parse the XML and get the data.

      If all the fields are properly bound to the context node, then you will get the data directly by reading the nodes.

      Thanks & Regards,

      Sanoosh