on ‎2009 Oct 19 4:32 PM
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
Request clarification before answering.
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:
for dynamic node creation , pls refer :
also refer to http://wiki.sdn.sap.com/wiki/x/9gQ5C , tht might help u
regards,
amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.