cancel
Showing results for 
Search instead for 
Did you mean: 

Difference between pdfsource & datasource in adobe forms - web dynpro abap

Former Member
0 Kudos

Friends,

Please let me know the difference between the adobe form attributes pdfsource and datasource, when used in Web Dynpro ABAP. What is the significance of specifying both and the difference between them.

Points will be rewarded for helpful answers.

Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Solved

vaibhav_tiwari
Contributor
0 Kudos

Hi,

Pdfsource is a attribute defined to read the form. Suppose in an Application you need to read values from fields on the pdf form. In that case you give an attribute as a pdfsource which will contain all the data in XML format. You can read these values and assign to different data node. normally its helpful in reading offline forms.

Datasource is a node containing one or many attributes which stores data at runtime. The fields on the interactive forms are bound to these attributes. When you give a context node as data source to the interactive form then it appears in the designer on the left handside in the data view. From there you can bind the fields on the form to the attributes in the context node.

The difference between both is that a pdfsource is used to read the complete form in XML format with all the fields on it while the data source is used to transfer data from context to the fields on the form. Note that the datasource contains a node with multiple or single attribute and a field on the form can be bound to a single attribute.

I hope it clears all your doubts.

Regards,

Vaibhav Tiwari.