cancel
Showing results for 
Search instead for 
Did you mean: 

Using AcfUpDownload in FPM Application of WD4A?

Former Member
0 Kudos

I have a Webdynpro ABAP appliction running on FPM . I have a requirement to download the mulitiple pdf documents to the client's pc/laptop location like C: emp silently .

For this requirement I gone through Thomas Jung tutorial using cahce service in webdynpro . Link-[Tutorial|http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/109b9b52-bc00-2c10-8786-e4c5e96d7e04&overridelayout=true].

In this tutorial the webdynpro application created in SICF service is does not belong to any webdynpro or BSP application.

My question is whether this scernio can be imlemented in Webdynpro components running on FPM ?(/sap/bc/webdynpro/sap/).

Accepted Solutions (1)

Accepted Solutions (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

I don't see any reason why this wouldn't work in FPM. You still have a normal Web Dynpro Component as a UIBB. This component would be the same as what I use in my tutorial.

Answers (1)

Answers (1)

Former Member
0 Kudos

Thanks for the reply Thomas.

I have a requirement to download multiple pdf documents on to users laptop's based on document id of the employee.

I have encorporated your code and able to download a PDF document of 0 KB. I have maintained the pdf data in the temporary database table cache along with callback_id , Mime type as pdf , GUID etc.

Can any one clarify below questions --

1. How do i handle the pdf content data in the output?(to dispaly the data instead of 0 KB) ?

2.Do i need to use IF_WD_ACFUPDOWNLOAD_SCMS~HTTP_PUT to put the data into cache ?

3. Need clariifcation in using URLS parameter in IF_WD_ACFUPDOWNLOAD_SCMSHTTP_PUT and IF_WD_ACFUPDOWNLOAD_SCMSHTTP_GET ?