Offline scenario to upload a filled-in adobe form using Web Dynpro for ABAP
...Previous
Step4:
Now select the
binding tab against DATA property of the FileUpload element. Bind this DATA
property with PDF_SOURCE attribute defined in context.
The
property tab of the FileUpload is as shown below.
Step5:
Go to Method tab,
Click on
the method ‘ONACTIONUPLOAD’ from the METHOD tab or double click on Action
property ‘UPLOAD’ defined in the button property which takes you to the
method ‘ONACTIONUPLOAD’. Enter the code provided
here.
Step6:
Create the Web Dynpro application and execute it.
Browse the
file and click on upload button.
If you
check the data base, the PDF data is uploaded into database table.
The screen
shot of the Web Dynpro component is
|