Skip to Content
author's profile photo Former Member
Former Member

Retrieving data from offline filled PDF


I need to retrieve data from PDF which was filled offline.

Any ideas?



Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Jul 17, 2007 at 08:54 AM

    hi Michael,

    i mailed you one tutorial.

    i got this tutorial from sdn only...

    it will tell how to get an pdf form for "offline scenario" as well as how to create the "online scenario"...

    wherein you extract the contents filled in the form into dynpro context.

    pls confirm if you got it, because sometimes my company mail server removes attachments from mail...

    this is quite a to the point tutorial and will clear your idea...


    -amol gupta

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi amol gupta,

      currently i also facing the same problem..

      as i was wondering how to fill data from the database to an offline form. and then send email out to the necessary user.

      example is the leave form.

      Once click then it will retrieve form the database with the user records and then send a email out.

      hope you could send me a sample to see.

      thanks you

  • author's profile photo Former Member
    Former Member
    Posted on Jul 16, 2007 at 02:52 AM

    Hello Michael,

    It can be done through Web Serrvices or through Guided procedures.

    Please check about them on SDN-> Interactive Forms homepage and this forum.

    If you have any queries, please post them here :).

    A sample offline scenario - Approve or reject the Form received through e-mail. Once approced or rejected, the data has to be updated in the respective R/3 DDIC tables.

    This can be done through the above said approaches.

    Hope this helps :).

    - anto.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 16, 2007 at 08:02 AM

    hi Michael,

    Once you fill data in a PDF form offline,

    the filled in contents...can be retrieved by uploading the form...into dynpro.

    thats called "online scenario", using the offline form is called "offline scenario" which you are already using.

    Recall when you created the form, you created ur UI elements in the form according to the fields available in the Data View.

    there is binding between UI elements in the Interactive form and the Dynpro context.

    so like you had ui elements in the dynpro layout, u have ui elements in the interactive form and in both cases are bound to the Dynpro Context.

    use a FileUpload Ui element in dynpro. Receive the pdf file in a Context attribute of type "binary" and map this attribute to the <pdfObjectAttribute> which is bound to the interactive form.

    the basic idea is that....

    ur interactive form -> properties -> pdfSource = <some Context Attribute> of type "binary".

    ur uploaded pdfFile should reach into this Context attribute.

    further interactive form -> properties ->mode="usePdfF"

    i.e. we use the same interactive form that we used to generate the initial pdf.

    thus it already knows the structure of ur pdf file.

    as soon as you upload it, the contents of the uploaded pdf are filled into the Context attributes.

    (Recall... interactive form ->properties -> dataSource = <Some Context Node>

    when you were creating the blank pdf for offline use)

    Once you get all the data in the pdf in the context, you can do anything with it, using get set methods.

    there are plenty of tutorials on sdn. just search interactive forms. take a look into the online scenario.

    hope this helps.


    -amol gupta

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.