on 05-01-2007 2:38 AM
Hi,
Hi have created DDK (DropDownByKey) with data from adaptative RFC (in wdDoInit).
When the data from RFC have more than one registry, I have created action (onSelect) to execute other RFC that populate data in other view.
When the data from RFC is only one registry, this data is selected (by default) in DDK, but the action "onSelect" is not called.
How to call onSelect action of DDK with one registry (selected) in wdDoInit??
Best regards,
Alvaro,
DDK is getting populated with the data from r3, so before it reaches to DDK , we have some mean to know how many registies it has,
1)Take size of the output node(in which there is data),
2)Put one if condition which will check the size,
3)so, if size is 1, then add a blank entry explicitly, otherwise, goto else part and add the entries in normal way.
So even if you have 1 entry in DDK, it wont get selected by default.
hope it helps
regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alvaro,
Add empty entry to DDK (modifiable value set).
Best regards, Maksim Rashchynski.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.