on 07-15-2007 5:00 PM
Hi,all
I need to retrieve data from PDF which was filled offline.
Any ideas?
Regards
Michael
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...
regards,
-amol gupta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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.
regards,
-amol gupta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.