on 08-12-2008 10:40 AM
Hi All,
in my Application a RFC call is made returning 2 tables (material and customer). Only one of the returned tables is filled at at time. Now, I would like to bind ONE of the returned tables to a Table UI element, depending on another parameter in the Context. E.g.:
parameter = material -> bind table to RFC returned material table
parameter = customer -> bind table to RFC returned customer table
Is there a way to do that? I guess it is something related to "Binding Context to Ui Elements at Runtime..."
Thanks, Johannes
Yes, you could do that, but maybe it would be simpler to have two Table UI elements and to just make the one visible that should be displayed. This can be done by binding the property named "visible" to a context attribute and setting its value to either WDVisibility.VISIBLE or WDVisibility.NONE.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you can do this via creating elements for the table at the runtime based on the proper condition as per requirment.
like you Context Node structure is known to you with respect to the
parameter = material
parameter = customer
before creating element for the Node check for the parameter value based on that you can create the respective element at the run time.
But before that fixed the Node stuctrue for the Table.
Regards,
Deepak
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.