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

Dynamic Binding

Former Member
0 Likes
559

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
Former Member
0 Likes

hi ,

at the time of ur final approval event , bind the pdf source property with dynamic attribute of XSTRING TYPE under the dynamic context node.

u may wish to go thru these links for dynamically creating context nodes/attributes :

Refer Thomas jungu2019s reply in the thread :

Have a look at the documentation for the WDDOMODIFYVIEW section of the phase model:

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/d2/8acd409cc4dd50e10000000a1550b0/frameset.htm

There is also the class CL_WD_DYNAMIC_TOOL:

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/67/6935425394033be10000000a1550b0/frameset.htm

Also have a look at the example application DEMODYNAMIC.

go thru this eLearning on the topic here as well:

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/201ddd3b-b4ce-2b10-8883-880ae814...

for dynamic node creation , pls refer :

https://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/201ddd3b-b4ce-2b10-8883-880ae8147f89&overri...

also refer to http://wiki.sdn.sap.com/wiki/x/9gQ5C , tht might help u

regards,

amit