cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Dynamic Binding

Former Member
0 Likes
558

Hi,

Can we bind dynamically for "PDFSource" property in Interactive form UI Element?

If I bind directly to attribute of type XSTRING, I'm facing performace issue, as the request is going to ADS everytime I trigger submit. But, I want the binary only after the final approval. So, at the time of final approval, I want the PDFSource property should be binded to Xstring attribute dynamically, so that I can generate PDF .

Appreciate your response.

Regards,

Ravi

View Entire Topic
RalfRuth
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi,

For general (performance) problems with interactive forms in Web Dynpro ABAP, see note 999998, esp. section "Web Dynpro applications with interactive forms are slow".

Alternative solution for your specific problem: Do not bind pdfSource at all. At the very end of your "process", generate the PDF for yourself with your own code using the template from templateSource and the corresponding data from the WD Context (dataSource). I think the coding doing so has already been posted several times.

Cheers,

Ralf

Former Member
0 Likes

Hi

As I'm facing problem with dynamic binding, I have implemented the way Ralf suggested.

I'm generating pdf on my final server event by using cl_wd_adobe_services class and its methods by passing form name

and data source.

Thank you Thomas and Ralf for your suggestions.

Regards,

Ravi.D