0% found this document useful (0 votes)
123 views9 pages

Offline Scenario To Download An Adobe Form Using Web Dynpro For Abap

This document provides steps for creating an offline scenario to download an Adobe form using Web Dynpro for ABAP. It outlines creating a Web Dynpro component with an attribute to store the PDF source, inserting a file download element bound to the attribute, placing the PDF in the MIME repository, and writing code in the initialization method to populate the attribute and allow download of the file. The user can then download and fill out the form offline before uploading it back into SAP.

Uploaded by

Jaya Sankar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
123 views9 pages

Offline Scenario To Download An Adobe Form Using Web Dynpro For Abap

This document provides steps for creating an offline scenario to download an Adobe form using Web Dynpro for ABAP. It outlines creating a Web Dynpro component with an attribute to store the PDF source, inserting a file download element bound to the attribute, placing the PDF in the MIME repository, and writing code in the initialization method to populate the attribute and allow download of the file. The user can then download and fill out the form offline before uploading it back into SAP.

Uploaded by

Jaya Sankar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

Offline scenario to download an Adobe Form using Web Dynpro for

ABAP
By Phani Diwakar MV, YASH Technologies

This is the offline interactive scenario where in user downloads the file from the browser and save it on
desk top. After the filling the form by user then that form will be uploaded into SAP. Now here we will see
how to download the file from the browser. To upload the filled-in PDF file, click here.

Step1: Go to SE80 and create Web Dynpro component ZDOWNLOAD_FORM as shown.

Press enter. Then following screen will appear.

Press Yes and provide the description.


Step2: Now go to context tab in Main view.

Create attribute PDF_SOURCE of type XSTRING as shown below.

Step3: Select Insert element from ROOTUIELEMENTCONTAINER.


Select the element FileDownload as shown.

Click on Enter.

Click here to continue...

Offline scenario to download an Adobe Form using Web Dynpro for


ABAP
...Previous

Step4: Now in the FileDownload properties window,

Map the DATA property as shown below.

Click on create binding tab against DATA property.


Select PDF_SOURCE from the CONTEXT.

Step5: Provide the filename which is either already exists in the MIME repository or place the file in the
MIME repository which you want to be down loaded.

Placing the file in the MIME repository:

Select the MIME repository tab in the transaction SE80.

In SAP folder, select the folder WDR_TEST_ADOBE and place the file as shown below.
The following screen will appears. Select the file from desk top that you want to be down loaded from
browser.

Click on Open button.

The following screen will appear.


Provide the description and save it.

Click here to continue...

Offline scenario to download an Adobe Form using Web Dynpro


for ABAP
...Previous

Now if you check, the file PersonnelInformationForm.pdf is placed under the folder
WDR_TEST_ADOBE as shown.
Step6: The property tab of FileDownload is as shown below.
Step7: In the method WDDOINIT, write the following code.

Step8: Create the Web Dynpro application.


Step9: Execute the application.

Now click on the link. The PDF file would be open.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy