Hello,
I've done a fair amount of researching of this problem and I can't seem to find any information about it so I'm hoping someone here can help me. I have created a custom abap web dynpro application that was created for users who approve travel and expenses submitted to them. This application pulls data for a certain person/trip combination for the approver to review and approve. Part of the application includes an adobe interactive form element. This element does NOT require a template form in SFP. It simply opens up a static PDF file. This file includes any documentation that is related to the travel expenses.
The issue is every time the user makes a click on the application the adobe interactive form re-loads. Therefore, it is constantly re-loading. If the PDF file that is loaded is not very big then this does not seem to be a problem. The re-load simply looks like a flash. But as the PDF document gets bigger it takes longer and longer to load. If the PDF takes a couple minutes to load then every time the user makes a click in the application it keeps re-loading which takes a couple of minutes. As you can see this can be quite a hassle.
How I'm loading the PDF in the application is on first load(so its only opening the PDF once) I open the file attached to the users travel and expense. I convert the file to an xstring using SCMS_BINARY_TO_XSTRING. Then I have a an attribute in the context that is also type xstring that I bind it to. Everything opens fine its just that the PDF keeps re-loading throughout the use of the application.
Anyone have any ideas on how to fix this? Thanks in advance for your help.
Abra